- tms-old
- tms
- tmsControlGui
- StatusWin.h
This file ( 989B ) 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: StatusWin.h
* Author: M.Thomas BEAM Ltd
* Date: 2007-02-13
*
* Contents: Configuration Data entry and control window
*
* Mod Rec:
*
*/
#ifndef STATUSWIN_H
#define STATUSWIN_H
#include <Control.h>
#include <BString.h>
#include <qhbox.h>
#include <qtextedit.h>
#include <qtimer.h>
/*! Configure System and setup user interface window.
*
*/
class StatusWin : public QHBox {
Q_OBJECT
public:
StatusWin(QWidget* w,Control& c);
~StatusWin();
public slots:
void show(); ///< Update and make the widget visible
void hide(); ///< Hide the widget stop automatic updates
private slots:
void updateTimed(); ///< Get status and update
void updateForced(); ///< Force error reporting on. Get status and update
private:
void getStatus();
void warningDialog(BString title, BError err);
QTextEdit* ostatus;
QTimer* oticker; ///< Update Poll timer
int owarningActive; ///< Indicates Warning dialog is active
Control& ocontrol;
};
#endif