projects
/
yandex-traffic
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move implementation out of header
[yandex-traffic]
/
mainwidget.hpp
1
#ifndef __MAINWIDGET_H__
2
#define __MAINWIDGET_H__
3
4
#include <QtGui>
5
6
#include "settings.hpp"
7
#include "regions.hpp"
8
#include "light.hpp"
9
10
11
class MainWidget : public QWidget
12
{
13
Q_OBJECT
14
private:
15
RegionsTable _regions;
16
Settings _settings;
17
18
// Widgets
19
TrafficLight *_light;
20
QLabel *_label;
21
22
public:
23
MainWidget ();
24
QSize sizeHint () const;
25
26
protected:
27
void paintEvent (QPaintEvent *event);
28
};
29
30
#endif /* __MAINWIDGET_H__ */