aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpcustomizewindow.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/qmpcustomizewindow.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/qmpcustomizewindow.hpp')
-rw-r--r--qmidiplayer-desktop/qmpcustomizewindow.hpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpcustomizewindow.hpp b/qmidiplayer-desktop/qmpcustomizewindow.hpp
new file mode 100644
index 0000000..0d0f529
--- /dev/null
+++ b/qmidiplayer-desktop/qmpcustomizewindow.hpp
@@ -0,0 +1,33 @@
+#ifndef QMPCUSTOMIZEWINDOW_HPP
+#define QMPCUSTOMIZEWINDOW_HPP
+
+#include <QDialog>
+
+namespace Ui {
+class qmpCustomizeWindow;
+}
+
+class qmpCustomizeWindow : public QDialog
+{
+ Q_OBJECT
+
+ public:
+ explicit qmpCustomizeWindow(QWidget *parent = 0);
+ ~qmpCustomizeWindow();
+ void launch(int w);
+
+ private slots:
+ void on_tbAdd_clicked();
+
+ void on_tbRemove_clicked();
+
+ void on_buttonBox_accepted();
+
+ void on_buttonBox_rejected();
+
+ private:
+ Ui::qmpCustomizeWindow *ui;
+ int ow;
+};
+
+#endif // QMPCUSTOMIZEWINDOW_HPP