diff options
Diffstat (limited to 'qmidiplayer-desktop/qmpdeviceprioritydialog.hpp')
-rw-r--r-- | qmidiplayer-desktop/qmpdeviceprioritydialog.hpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp b/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp new file mode 100644 index 0000000..d48a2aa --- /dev/null +++ b/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp @@ -0,0 +1,32 @@ +#ifndef QMPDEVICEPRIORITYDIALOG_HPP +#define QMPDEVICEPRIORITYDIALOG_HPP + +#include <QDialog> +#include <QShowEvent> +#include <QStandardItemModel> + +namespace Ui { +class qmpDevicePriorityDialog; +} + +class qmpDevicePriorityDialog : public QDialog +{ + Q_OBJECT + +public: + explicit qmpDevicePriorityDialog(QWidget *parent=nullptr); + ~qmpDevicePriorityDialog(); + void setupRegisteredDevices(); + +private slots: + void on_pbUp_clicked(); + void on_pbDown_clicked(); + void on_buttonBox_accepted(); + +private: + Ui::qmpDevicePriorityDialog *ui; + QStandardItemModel *model; + QList<QVariant> setdevs; +}; + +#endif // QMPDEVICEPRIORITYDIALOG_HPP |