Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

qt_domino_progress.h

Go to the documentation of this file.
00001 
00025 #ifndef PLAYER_QT_DOMINO_PROGRESS_H
00026 #define PLAYER_QT_DOMINO_PROGRESS_H 1
00027 
00028 #include <qhbox.h>
00029 #include <qstring.h>
00030 #include <qlabel.h>
00031 #include <qprogressbar.h>
00032 #include <qlcdnumber.h>
00033 
00034 #include "qt_image.h"
00035 
00036 #include <dmn/dmn.h>
00037 #include <dmn/domino.h>
00038 
00039 namespace dmn
00040 {
00044   class QtDominoProgress: public QHBox
00045   {
00046   Q_OBJECT public:
00056     QtDominoProgress(HalfDomino half, int max, int value = 0,
00057          QWidget* parent = NULL, const char* name = NULL);
00058 
00064     HalfDomino half() const;
00065 
00071     int max() const;
00072 
00078     int value() const;
00079 
00080   public slots:
00086     void setHalf(HalfDomino half);
00087 
00093     void setMax(int max);
00094 
00100     void setValue(int value);
00101 
00102   private:
00103     HalfDomino half_;
00104     int value_, max_;
00105     QtImage* halfdomino_;
00106     QProgressBar* progress_;
00107     QLCDNumber* lcd_;
00108   };
00109 };
00110 
00111 #endif  // PLAYER_QT_DOMINO_PROGRESS_H

Generated on Fri Dec 26 22:52:55 2003 for dmn by doxygen 1.3.4