projects
/
yandex-traffic
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Settings dialog started. It is empty so far.
[yandex-traffic]
/
mainwidget.hpp
diff --git
a/mainwidget.hpp
b/mainwidget.hpp
index
59aa5f2
..
fe41022
100644
(file)
--- a/
mainwidget.hpp
+++ b/
mainwidget.hpp
@@
-13,21
+13,27
@@
class MainWidget : public QWidget
{
Q_OBJECT
private:
{
Q_OBJECT
private:
- Traffic _traffic;
- RegionsTable _regions;
- Settings _settings;
+ Traffic* _traffic;
+ RegionsTable* _regions;
+ Settings* _settings;
// Widgets
// Widgets
- TrafficLight *_light;
- QLabel *_label;
+ TrafficLight* _light;
+ QLabel* _label;
public:
MainWidget ();
public:
MainWidget ();
+ virtual ~MainWidget ();
+
+public slots:
+ void settingsDialog ();
protected:
void paintEvent (QPaintEvent *event);
void timerEvent (QTimerEvent *event);
protected:
void paintEvent (QPaintEvent *event);
void timerEvent (QTimerEvent *event);
+ void updateData ();
+
protected slots:
void trafficUpdated ();
};
protected slots:
void trafficUpdated ();
};