aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpsettingswindow.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2017-02-12 00:29:01 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2017-02-12 00:29:01 +0800
commitd779d32c8c32e0e0c22662046498620b11fa46de (patch)
treeba63a0d33d1fb6a07bca30d74dd72934b9ef69ce /qmidiplayer-desktop/qmpsettingswindow.hpp
parentacf466561f17bf0eb6c19ea0467b27f5392aeb36 (diff)
downloadQMidiPlayer-d779d32c8c32e0e0c22662046498620b11fa46de.tar.xz
New functionality API. Port built-in features to the new API.
Start the revamp of the main Window. Credit of the new design goes to @BLumia.
Diffstat (limited to 'qmidiplayer-desktop/qmpsettingswindow.hpp')
-rw-r--r--qmidiplayer-desktop/qmpsettingswindow.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpsettingswindow.hpp b/qmidiplayer-desktop/qmpsettingswindow.hpp
index 15c720a..16faa0f 100644
--- a/qmidiplayer-desktop/qmpsettingswindow.hpp
+++ b/qmidiplayer-desktop/qmpsettingswindow.hpp
@@ -12,6 +12,7 @@
#include <QSpinBox>
#include <QFormLayout>
#include "qmpplugin.hpp"
+#include "qmpcustomizewindow.hpp"
namespace Ui {
class qmpSettingsWindow;
@@ -105,12 +106,17 @@ class qmpSettingsWindow:public QDialog
void on_cbAutoBS_stateChanged();
+ void on_pbCustomizeTb_clicked();
+
+ void on_pbCustomizeAct_clicked();
+
private:
Ui::qmpSettingsWindow *ui;
void settingsUpdate();
std::map<std::string,qmpCustomOption> customOptions;
std::map<std::string,QGridLayout*> customOptPages;
void updateCustomOptions();
+ qmpCustomizeWindow *cw;
static QSettings *settings;
static QComboBox* outwidget;
public: