switch from QLineEdit to QSpinBox,

init SettingsWindow with default values from OglViewerWidget,
removed old qt project
This commit is contained in:
Anakin
2017-01-26 18:17:54 +01:00
parent 3167f1acb8
commit fb49d8685a
22 changed files with 124 additions and 1622 deletions

View File

@@ -8,12 +8,14 @@ class SettingsWindow : public QWidget
Q_OBJECT
public:
SettingsWindow(QWidget * parent = Q_NULLPTR);
SettingsWindow(QVector3D bgOffColor, QVector3D bgOnColor, QVector3D lightColor, bool autoColor, double ambCoef, double attFac, int lightType, QWidget * parent = Q_NULLPTR);
~SettingsWindow();
private:
Ui::SettingsWindow* ui;
void setupConnections();
private slots:
void autoColorToggled();
void radioToggled();