Setting up removing and adding stuff to the settings window dirlistview

This commit is contained in:
Maxim Stewart
2017-05-31 03:09:20 -05:00
parent e768ae9af8
commit 0372a4ad8c
5 changed files with 90 additions and 48 deletions

View File

@@ -29,7 +29,7 @@ private:
bool m_bfCulling = false;
bool m_light = false;
QString listOfDirs;
QString listOfDirs;
int m_lightType = 1; // 1 = direct, 2 = point
QVector3D m_lightColor = { 255,255,255 };
float m_attenuation = 0.0f;
@@ -48,7 +48,9 @@ public:
bool isBfCulling() const;
bool isLight() const;
QString getListOfDirs();
QString getListOfDirs();
void setListOfDirs(QString);
int getLightType() const;
QVector3D getLightColor() const;
float getAttenuation() const;

View File

@@ -18,6 +18,9 @@ private:
void setupConnections();
private:
QString dirList;
private slots:
void autoColorToggled();
void radioToggled();
@@ -25,6 +28,9 @@ private slots:
void backgroundColorOnChanged();
void lightColorChanged();
void on_addItem_clicked();
void on_removeItem_clicked();
signals:
void updateBGColorOff(QVector3D value);
void updateBGColorOn(QVector3D value);