00001 /****************************************************************************** 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 00009 00010 #ifndef lgrAnnotationSliderBar_H_ 00011 #define lgrAnnotationSliderBar_H_ 00012 00013 #include "lgrAnn.h" 00014 #include "sliderBar.h" 00015 00016 class QPainter; 00017 class QRectF; 00018 00019 namespace MAKLogger 00020 { 00021 00022 class DtLgrAnnotation; 00023 00025 class DT_DLL_LGRANN DtLgrAnnotationSliderBar : public DtSliderBar 00026 { 00027 public: 00028 DtLgrAnnotationSliderBar(DtLgrAnnotation*); 00029 virtual ~DtLgrAnnotationSliderBar(); 00030 00031 private: 00033 DtLgrAnnotationSliderBar(const DtLgrAnnotationSliderBar&); 00035 DtLgrAnnotationSliderBar& operator=(const DtLgrAnnotationSliderBar&); 00036 public: 00037 00039 00040 DtLgrAnnotation* annotation(); 00041 const DtLgrAnnotation* annotation() const; 00043 00046 virtual void drawBar(QPainter& painter,const QRectF& viewport); 00047 00048 protected: 00049 DtLgrAnnotation* myAnnotation; 00050 }; 00051 } 00052 00053 #endif