diff options
author | John Fultz <jfultz@wolfram.com> | 2015-08-09 05:13:19 -0500 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2015-08-09 05:13:19 -0500 |
commit | dc92d571f4f97f6420fdf1a94cc41c1d2808d71b (patch) | |
tree | 07bb60efdf4522296707285d22790251d74b3458 /quacker/settings.h | |
parent | b8024ae268e49c17c40da105b9e22aaa41fcffeb (diff) |
Progress on edit lexicon dialog.
* Files can now be loaded from user directory as well
as app directory.
* Edit lexicon dialog has been added, and pretty much
all of the GUI elements framed out. Not actually
implemented, yet.
* Embiggen the board configuration dialog.
* Some bits of code refactoring.
Diffstat (limited to 'quacker/settings.h')
-rw-r--r-- | quacker/settings.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/quacker/settings.h b/quacker/settings.h index bc0e8fa..ee1b59a 100644 --- a/quacker/settings.h +++ b/quacker/settings.h @@ -65,6 +65,10 @@ protected slots: void addBoard(); void editBoard(); + void editLexicon(); + void editAlphabet(); + void editTheme(); + void setQuackleToUseLexiconName(const string &lexiconName); void setQuackleToUseAlphabetName(const string &alphabetName); void setQuackleToUseThemeName(const QString &themeName); @@ -79,7 +83,8 @@ protected: QPushButton *m_editAlphabet; QPushButton *m_editTheme; QPushButton *m_editBoard; - QString m_dataDir; + QString m_appDataDir; + QString m_userDataDir; QString m_themeName; private: @@ -87,7 +92,7 @@ private: void loadBoardNameCombo(); // load up an item list based on a list of filenames - void populateListFromFilenames(QStringList& list, const QString &path); + void populateComboFromFilenames(QComboBox* combo, const QString &path, const QString &label); static Settings *m_self; }; |