projects
/
irwi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added a wait to prevent premature closing of socket
[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 QToolButton;
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
protected:
21
void paintEvent(QPaintEvent *event);
22
23
private:
24
static const int BUTTON_COUNT = 6;
25
QGridLayout *layout;
26
QToolButton *buttons[BUTTON_COUNT];
27
IrCtrl irCtrl;
28
};
29
30
#endif
31