1 #ifndef SETTINGSDIALOG_H 2 #define SETTINGSDIALOG_H 34 static QString getDefault_saveLocation();
40 static unsigned short int getDefault_maxModelsPerWindow();
46 static int getDefault_displayRecents();
52 static bool getDefault_alwaysOpenModelToNewWindow();
58 static QColor getDefault_modelColour();
64 static QColor getDefault_modelBackFaceColour();
70 static QColor getDefault_backgroundColour();
75 Ui::settingsDialog *ui;
78 QString defaultSaveLocation;
79 unsigned short int maxModelsPerWindow;
80 unsigned int displayRecents;
81 bool alwaysOpenModelToNewWindow;
82 QColor defaultModelColour, defaultBackFaceColour, defaultBackgroundColour;
99 void handleBrowseButton();
105 void handleModelsPerWindowSpin(
int i);
110 void handleAlwaysOpenCheck();
116 void handleDisplayRecentsSpin(
int i);
121 void handleModelColour();
126 void handleModelBackfaceColour();
131 void handModelBackgroundColour();
135 #endif // SETTINGSDIALOG_H
Settings menu class. UI and logic.
Definition: settingsdialog.h:15