aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpdevpropdialog.hpp
blob: e98aba992b38c0fbbfb4091dae7f8c7a40abbaa4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef QMPDEVPROPDIALOG_HPP
#define QMPDEVPROPDIALOG_HPP

#include <QDialog>

namespace Ui {
class qmpDevPropDialog;
}

class qmpDevPropDialog : public QDialog
{
	Q_OBJECT

	public:
		explicit qmpDevPropDialog(QWidget *parent = nullptr);
		~qmpDevPropDialog();
		void load(void* data);
		void* save();

	private slots:
		void on_pbAdd_clicked();

		void on_pbRemove_clicked();

		void on_buttonBox_accepted();

		void on_buttonBox_rejected();

	private:
		Ui::qmpDevPropDialog *ui;
		void setupRow(const QString &dn="",const QString &din="");
};

#endif // QMPDEVPROPDIALOG_HPP