switch from QLineEdit to QSpinBox,
init SettingsWindow with default values from OglViewerWidget, removed old qt project
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user