Setting up removing and adding stuff to the settings window dirlistview
This commit is contained in:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user