- tms-old
- tms
- tmsControlGui
- StatisticsWin.h
This file ( 825B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
/*
* Title: StatisticsWin.h
* Author: M.Thomas BEAM Ltd
* Date: 2007-02-13
*
* Contents: Use interface to TMS server Statistics
*
* Mod Rec:
*
*/
#ifndef STATISTICSWIN_H
#define STATISTICSWIN_H
#include <Control.h>
#include <BString.h>
#include <BError.h>
#include <qhbox.h>
#include <qtextedit.h>
#include <qtimer.h>
/*! User interface to TMS server Statistics
*
*/
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