#ifndef HDDSTATUS_H #define HDDSTATUS_H #include #include #include #include #include #include #include class HDDStatus : public QWidget { public: HDDStatus(); // Default constructor. ~HDDStatus(); // Default destructor. QGroupBox* getGroupBox( QString title ); void showWindow(); void setEstRec( QString msg ); void setInfo( double aRec, double total, double free, int remaining ); // Set the information displayed in most of the fields. private: enum { numHDD = 5, ESPEED = 0, ASPEED = 1, TSPACE = 2, FSPACE = 3, RTIME = 4 }; QVBoxLayout* layout; QLabel* hddLabels[ numHDD ]; QLineEdit* hddLines[ numHDD ]; QLabel* progBarLabel; QGroupBox* hBox; QProgressBar* pBar; }; #endif // HDDSTATUS_H