RSS Git Download  Clone
Raw Blame History
/*
* 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 <BString.h>
#include <BError.h>
#include <qhbox.h>
#include <Control.h>
#include <qtextedit.h>
#include <qtimer.h>


/*! 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	getStats();
	void	updateTimed();
	void 	updateForced();
private:
	void	warningDialog(BString title, BError err);
	Control&		ocontrol;
	QTextEdit*		ostatistics;
	QTimer*			oticker;			
	int			owarningActive;

};
#endif