#pragma once #include #include "ui_SettingsWindow.h" #include class SettingsWindow : public QWidget { Q_OBJECT public: 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(); void backgroundColorOffChanged(); void backgroundColorOnChanged(); void lightColorChanged(); signals: void updateBGColorOff(QVector3D value); void updateBGColorOn(QVector3D value); void updateLightColor(QVector3D value); void updateAttFac(double value); void updateAmbCoef(double value); void sendBackfaceCulling(bool value); void sendZommSpeed(int percent); };