2017-07-19 23:20:32 +02:00
|
|
|
#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"
|
2014-02-10 01:13:41 +01:00
|
|
|
#include "lc_application.h"
|
2014-12-08 08:32:39 +01:00
|
|
|
#include "lc_model.h"
|
2013-08-09 06:57:18 +02:00
|
|
|
#include "lc_category.h"
|
|
|
|
#include "lc_shortcuts.h"
|
2014-02-10 01:13:41 +01:00
|
|
|
#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;
|
2016-05-31 00:41:03 +02:00
|
|
|
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
|
|
|
|
{
|
2014-02-10 01:13:41 +01:00
|
|
|
lcModelProperties Properties;
|
2013-08-09 06:57:18 +02:00
|
|
|
bool SetDefault;
|
|
|
|
|
2016-11-16 23:53:41 +01:00
|
|
|
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
|
|
|
|
{
|
2014-02-10 01:13:41 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
|