/* * Title: StatisticsWin.h * Author: M.Thomas BEAM Ltd * Date: 2007-02-13 * * Contents: Configuration Data entry and control window * * Mod Rec: * */ #ifndef STATISTICSWIN_H #define STATISTICSWIN_H #include #include #include #include #include #include /*! Configure System and setup user interface window. * */ class StatisticsWin : public QHBox { Q_OBJECT public: StatisticsWin(QWidget* w,Control& c); ~StatisticsWin(); public slots: void show(); ///< Update and make the widget visible void hide(); private slots: void updateTimed(); void updateForced(); private: void getStats(); void warningDialog(BString title, BError err); Control& ocontrol; QTextEdit* ostatistics; QTimer* oticker; int owarningActive; }; #endif