leocad/common/lc_basewindow.h

71 lines
1.2 KiB
C
Raw Normal View History

#pragma once
2011-09-07 23:06:51 +02:00
2013-08-09 06:57:18 +02:00
#include "lc_math.h"
2013-08-16 01:43:18 +02:00
#include "lc_array.h"
#include "lc_application.h"
#include "lc_model.h"
2013-08-09 06:57:18 +02:00
#include "lc_category.h"
#include "lc_shortcuts.h"
#include "image.h"
2011-09-07 23:06:51 +02:00
2013-08-09 06:57:18 +02:00
enum LC_DIALOG_TYPE
{
LC_DIALOG_EXPORT_HTML,
LC_DIALOG_PROPERTIES,
LC_DIALOG_FIND,
2016-08-01 05:44:15 +02:00
LC_DIALOG_PREFERENCES
2013-08-09 06:57:18 +02:00
};
struct lcHTMLDialogOptions
{
2014-10-12 19:34:18 +02:00
QString PathName;
2013-08-09 06:57:18 +02:00
bool TransparentImages;
bool SubModels;
bool CurrentOnly;
2013-08-09 06:57:18 +02:00
bool SinglePage;
bool IndexPage;
int StepImagesWidth;
int StepImagesHeight;
bool HighlightNewParts;
bool PartsListStep;
bool PartsListEnd;
bool PartsListImages;
int PartImagesColor;
int PartImagesWidth;
int PartImagesHeight;
};
struct lcPropertiesDialogOptions
{
lcModelProperties Properties;
2013-08-09 06:57:18 +02:00
bool SetDefault;
lcPartsList PartsList;
2013-08-09 06:57:18 +02:00
};
2011-09-07 23:06:51 +02:00
2013-08-09 06:57:18 +02:00
struct lcPreferencesDialogOptions
{
lcPreferences Preferences;
2015-01-31 22:44:57 +01:00
QString DefaultAuthor;
QString LibraryPath;
QString POVRayPath;
QString LGEOPath;
2013-08-09 06:57:18 +02:00
int CheckForUpdates;
int AASamples;
2013-08-16 01:43:18 +02:00
lcArray<lcLibraryCategory> Categories;
2013-08-09 06:57:18 +02:00
bool CategoriesModified;
bool CategoriesDefault;
lcKeyboardShortcuts KeyboardShortcuts;
2016-04-25 07:26:34 +02:00
bool KeyboardShortcutsModified;
bool KeyboardShortcutsDefault;
lcMouseShortcuts MouseShortcuts;
bool MouseShortcutsModified;
bool MouseShortcutsDefault;
2013-08-09 06:57:18 +02:00
};