diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-05-01 23:49:05 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-05-01 23:49:05 +0800 |
commit | 85ccf22f3d2340e80ce2a109bbe610da1b92ca7d (patch) | |
tree | 8127dc287d9a4df6a6c7985e55087491153b5523 /qmidiplayer-desktop/qmpsettingswindow.hpp | |
parent | 90f018721ae7ee6ac154d757516378b9c45ec1bf (diff) | |
download | QMidiPlayer-85ccf22f3d2340e80ce2a109bbe610da1b92ca7d.tar.xz |
Give the visualization a clearer look...
Now highlights playing notes.
Avoid a crash in file reading.
Diffstat (limited to 'qmidiplayer-desktop/qmpsettingswindow.hpp')
-rw-r--r-- | qmidiplayer-desktop/qmpsettingswindow.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpsettingswindow.hpp b/qmidiplayer-desktop/qmpsettingswindow.hpp index f7bfae9..554afd3 100644 --- a/qmidiplayer-desktop/qmpsettingswindow.hpp +++ b/qmidiplayer-desktop/qmpsettingswindow.hpp @@ -1,11 +1,13 @@ #ifndef QMPSETTINGSWINDOW_H #define QMPSETTINGSWINDOW_H +#include <map> #include <QDialog> #include <QCloseEvent> #include <QSettings> #include <QListWidget> #include <QComboBox> +#include <QFormLayout> #include "qmpplugin.hpp" namespace Ui { @@ -23,6 +25,7 @@ class qmpSettingsWindow:public QDialog void settingsInit(); QListWidget* getSFWidget(); void updatePluginList(qmpPluginManager *pmgr); + int getOptionInt(std::string key); signals: void dialogClosing(); @@ -43,6 +46,8 @@ class qmpSettingsWindow:public QDialog private: Ui::qmpSettingsWindow *ui; void settingsUpdate(); + std::map<std::string,QWidget*> customOptWidgets; + std::map<std::string,QFormLayout*> customOptPages; static QSettings *settings; static QComboBox* outwidget; public: |