leocad/common/lc_basewindow.h
2016-11-16 14:53:41 -08:00

72 lines
1.3 KiB
C

#ifndef _LC_BASEWINDOW_H_
#define _LC_BASEWINDOW_H_
#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;
};
#endif // _LC_BASEWINDOW_H_