TrafficLight* _light;
QLabel* _label;
+ // Other stuff
+ QTimer *_timer;
+
public:
MainWidget ();
virtual ~MainWidget ();
public slots:
void settingsDialog ();
+ void updateData ();
protected:
+ bool event (QEvent *event);
void paintEvent (QPaintEvent *event);
- void timerEvent (QTimerEvent *event);
- void updateData ();
void updateSize ();
+ void applySettings ();
protected slots:
void trafficUpdated ();
+ void deviceLockChanged (bool locked);
};
#endif /* __MAINWIDGET_H__ */