Merge branch 'master' of ssh://mercury.wipsl.com/var/git/irw
[irwi] / src / mainwidget.h
1 #ifndef MAINWIDGET_H
2 #define MAINWIDGET_H
3
4 #include <QWidget>
5
6 #include "irctrl.h"
7
8 class QGridLayout;
9 class QPushButton;
10
11 class MainWidget : public QWidget
12 {
13     Q_OBJECT
14 public:
15     MainWidget (QWidget *parent = NULL);
16
17 public slots:
18     void showSettingsDialog();
19  
20 private:
21     static const int BUTTON_COUNT = 6;
22     QGridLayout *layout;
23     QPushButton *buttons[BUTTON_COUNT];
24     IrCtrl irCtrl;
25 };
26
27 #endif
28