aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpdevpropdialog.hpp
blob: eb69d8119a8c66561bf7f95a471238b46c44f842 (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
35
#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 = QString(), const QString &din = QString());
};

#endif // QMPDEVPROPDIALOG_HPP