00001 00042 #ifndef AISTATUSBAR_HPP 00043 #define AISTATUSBAR_HPP 00044 00045 #include <QtGui> 00046 00047 namespace AiFractals 00048 { 00055 class AiStatusBar : public QStatusBar 00056 { 00057 Q_OBJECT 00058 00059 public: 00060 00065 AiStatusBar(QWidget * parent = 0); 00066 00070 ~AiStatusBar(); 00071 00076 void setInfo(const QString & info ); 00077 00081 void startGenerating(); 00082 00086 void stopGenerating(); 00087 00091 void start(); 00092 00096 void end(); 00097 00098 public slots: 00103 void setGenStatus(const int & status ); 00104 00105 private: 00109 QLabel * m_zoneInfo; 00110 00114 QLabel * m_genStatus; 00115 00119 QProgressBar * m_progressbar; 00120 00124 QLabel * m_startAt; 00125 00129 QLabel * m_endAt; 00130 }; 00131 } 00132 #endif // AISTATUSBAR_HPP