1 #ifndef __MAINWIDGET_H__
2 #define __MAINWIDGET_H__
7 #include "settings.hpp"
12 class MainWidget : public QWidget
17 RegionsTable* _regions;
29 virtual ~MainWidget ();
32 void settingsDialog ();
36 bool event (QEvent *event);
37 void paintEvent (QPaintEvent *event);
40 void applySettings ();
43 void trafficUpdated ();
44 void deviceLockChanged (bool locked);
47 #endif /* __MAINWIDGET_H__ */