leocad/common/lc_basewindow.h
2017-07-19 14:20:32 -07:00

70 lines
1.2 KiB
C

#pragma once
#include "lc_math.h"
#include "lc_array.h"
#include "lc_application.h"
#include "lc_model.h"
#include "lc_category.h"
#include "lc_shortcuts.h"
#include "image.h"
enum LC_DIALOG_TYPE
{
LC_DIALOG_EXPORT_HTML,
LC_DIALOG_PROPERTIES,
LC_DIALOG_FIND,
LC_DIALOG_PREFERENCES
};
struct lcHTMLDialogOptions
{
QString PathName;
bool TransparentImages;
bool SubModels;
bool CurrentOnly;
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;
bool SetDefault;
lcPartsList PartsList;
};
struct lcPreferencesDialogOptions
{
lcPreferences Preferences;
QString DefaultAuthor;
QString LibraryPath;
QString POVRayPath;
QString LGEOPath;
int CheckForUpdates;
int AASamples;
lcArray<lcLibraryCategory> Categories;
bool CategoriesModified;
bool CategoriesDefault;
lcKeyboardShortcuts KeyboardShortcuts;
bool KeyboardShortcutsModified;
bool KeyboardShortcutsDefault;
lcMouseShortcuts MouseShortcuts;
bool MouseShortcutsModified;
bool MouseShortcutsDefault;
};