diff options
| author | Arno <arno@disconnect.de> | 2017-03-07 10:22:01 +0100 |
|---|---|---|
| committer | Arno <arno@disconnect.de> | 2017-03-07 10:22:01 +0100 |
| commit | 57357d21c3633ff7dbb120e231b8b9eaf9821fb6 (patch) | |
| tree | 9378471bc18825b678e65b93313259335d8531c1 /configurationdialog.h | |
| parent | fad486922aa8ac8a4e55bd154bd8817f759d7ebd (diff) | |
| download | BeetPlayer-57357d21c3633ff7dbb120e231b8b9eaf9821fb6.tar.gz BeetPlayer-57357d21c3633ff7dbb120e231b8b9eaf9821fb6.tar.bz2 BeetPlayer-57357d21c3633ff7dbb120e231b8b9eaf9821fb6.zip | |
Implement color choosing dialog for QTreeViews
Hmm, this shouldn't be so hard. Quite a lot of code for such an easy
thing, but maybe it's just me and I'm over-complicating things...
Diffstat (limited to 'configurationdialog.h')
| -rw-r--r-- | configurationdialog.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configurationdialog.h b/configurationdialog.h index 9a8bad8..36f63f8 100644 --- a/configurationdialog.h +++ b/configurationdialog.h @@ -4,7 +4,8 @@ #include <QDialog> class QLineEdit; -class QPushButton; +class QCheckBox; +class QLabel; class ConfigurationDialog : public QDialog { Q_OBJECT @@ -13,6 +14,7 @@ class ConfigurationDialog : public QDialog { public slots: virtual void accept(); + void chooseColor(QWidget *label); private: void readSettings(); @@ -20,6 +22,9 @@ class ConfigurationDialog : public QDialog { QLineEdit *mDbUser; QLineEdit *mDbPass; QLineEdit *mDbName; + QLabel *mBaseColorL; + QLabel *mAltColorL; + QCheckBox *mUseAltColors; }; #endif // CONFIGURATIONDIALOG_H |
