diff options
| author | Robert Bieber <robby@bieberphoto.com> | 2010-06-16 07:47:03 +0000 |
|---|---|---|
| committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-16 07:47:03 +0000 |
| commit | 0d48448500129669c35f3316d86a98a41c0c8452 (patch) | |
| tree | 2d254187e96b2152f9017a87ea8029a9cee0ec56 /utils/themeeditor/configdocument.h | |
| parent | da4089d8362cedb4f7297635c436273746923b8a (diff) | |
| download | rockbox-0d48448500129669c35f3316d86a98a41c0c8452.zip rockbox-0d48448500129669c35f3316d86a98a41c0c8452.tar.gz rockbox-0d48448500129669c35f3316d86a98a41c0c8452.tar.bz2 rockbox-0d48448500129669c35f3316d86a98a41c0c8452.tar.xz | |
Theme Editor: Replaced line edits for key names with combo boxes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26868 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/configdocument.h')
| -rw-r--r-- | utils/themeeditor/configdocument.h | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/utils/themeeditor/configdocument.h b/utils/themeeditor/configdocument.h index 114cb5b..8493c7a 100644 --- a/utils/themeeditor/configdocument.h +++ b/utils/themeeditor/configdocument.h @@ -24,8 +24,10 @@ #include <QHBoxLayout> #include <QLineEdit> +#include <QComboBox> #include <QPushButton> #include <QWidget> +#include <QLabel> #include <QMap> #include "tabcontent.h" @@ -55,25 +57,30 @@ public: protected: void changeEvent(QEvent *e); +signals: + void configFileChanged(QString); + +private slots: + void deleteClicked(); + void addClicked(); + void textChanged(); + + private: Ui::ConfigDocument *ui; QList<QHBoxLayout*> containers; - QList<QLineEdit*> keys; + QList<QComboBox*> keys; QList<QLineEdit*> values; QList<QPushButton*> deleteButtons; + QList<QLabel*> labels; + + QStringList primaryKeys; + QStringList secondaryKeys; QString filePath; QString saved; void addRow(QString key, QString value); - -signals: - void configFileChanged(QString); - -private slots: - void deleteClicked(); - void addClicked(); - void textChanged(); }; #endif // CONFIGDOCUMENT_H |