00001
00002
00003
00004 #ifndef STAR_STQTDELAYREDRAWTIMER
00005 #define STAR_STQTDELAYREDRAWTIMER
00006
00007 #include <QtCore/QObject>
00008 class TObject;
00009 class QTimer;
00010
00011 class StQtDelayRedrawTimer : public QObject {
00012 Q_OBJECT
00013 private:
00014 QTimer *fComplexVolumeTimer;
00015 QTimer *fSingeVolumeTimer;
00016 TObject *fObj;
00017 public:
00018 StQtDelayRedrawTimer(QObject *parent=0);
00019 virtual ~StQtDelayRedrawTimer() {}
00020 virtual bool IsActive(bool expanded) const;
00021 public slots:
00022 void DrawObject(TObject *obj,bool expanded,int depth=3);
00023 void DrawObject();
00024 signals:
00025 void DrawObjectSignal(TObject *obj,bool expanded);
00026 };
00027 #endif