QIGUIPlotLabel.hh
00001 #ifndef _QIGUI_PLOTLABEL__H_
00002 #define _QIGUI_PLOTLABEL__H_
00003
00004 #include <QObject>
00005
00006 class TQtWidget;
00007 class TObject;
00008 class QObject;
00009 class TLegend;
00010
00011 class QIGUIPlotLabel: public QObject
00012 {
00013
00014 public:
00015 QIGUIPlotLabel (QObject * parent = 0);
00016 QIGUIPlotLabel (TObject * grObj, QObject * parent = 0);
00017 virtual ~QIGUIPlotLabel();
00018
00019 protected:
00020 TQtWidget * fCanvas;
00021 TObject * fGraphicalObject;
00022 TLegend * fLegend;
00023
00024 public:
00025
00026 TQtWidget * GetCanvas () {return fCanvas;}
00027 void SetGraphicalObject (TObject * obj) {fGraphicalObject = obj;}
00028
00029
00030 void Init();
00031
00032
00033 void Draw();
00034 void Update();
00035
00036 };
00037
00038 #endif