2017-01-23 15:09:06 +00:00
|
|
|
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
#include "ui_SettingsWindow.h"
|
2017-01-24 16:09:51 +00:00
|
|
|
#include <QVector3D>
|
2017-01-23 15:09:06 +00:00
|
|
|
|
|
|
|
class SettingsWindow : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
SettingsWindow(QWidget * parent = Q_NULLPTR);
|
|
|
|
~SettingsWindow();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::SettingsWindow* ui;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void autoColorToggled();
|
|
|
|
void radioToggled();
|
2017-01-24 16:09:51 +00:00
|
|
|
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);
|
2017-01-23 15:09:06 +00:00
|
|
|
};
|