summaryrefslogtreecommitdiffstats
path: root/kmix/dialogselectmaster.h
blob: 912d870df75a4343df4e11e6c9b8e91a423304aa (plain)
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
36
37
38
39
40
41
42
43
#ifndef DIALOGSELECTMASTER_H
#define DIALOGSELECTMASTER_H

class QButtonGroup;
#include <qradiobutton.h>
class QScrollView;
#include <qstringlist.h>
class QVBox;
class QVBoxLayout;

class KComboBox;
#include <kdialogbase.h>

class Mixer;

class DialogSelectMaster : public KDialogBase
{
    Q_OBJECT
 public:
    DialogSelectMaster(Mixer *);
    ~DialogSelectMaster();

 signals:
    void newMasterSelected(int, QString& );

 public slots:
    void apply();

 private:
    void createWidgets(Mixer*);
    void createPage(Mixer*);
    QVBoxLayout* _layout;
    KComboBox* m_cMixer;
    QScrollView* m_scrollableChannelSelector;
    QVBox *m_vboxForScrollView;
    QButtonGroup *m_buttonGroupForScrollView;
    QStringList m_mixerPKs;

 private slots:
   void createPageByID(int mixerId);
};

#endif