00001 #ifndef _QG_PLOT_LIST_ENTRY_FRAME_HH_ 00002 #define _QG_PLOT_LIST_ENTRY_FRAME_HH_ 00003 00011 #include "TGFrame.h" 00012 00013 class QGPlot; 00014 class TGPictureButton; 00015 class TGTextEntry; 00016 class TRootEmbeddedCanvas; 00017 00018 class QGPlotListEntryFrame : public TGHorizontalFrame { 00019 public: 00021 QGPlotListEntryFrame(TGWindow *p = 0, UInt_t w = 10, UInt_t h = 10); 00022 00024 virtual ~QGPlotListEntryFrame(); 00025 00027 void DeletePlot(); 00028 00030 void HandleDeleteButton(); 00031 00033 void HandleDrawButton(); 00034 00036 void HandleEditButton(); 00037 00039 void SetPlot(QGPlot *plot); 00040 00041 private: 00043 TGPictureButton *fDeleteButton; 00044 00046 TGPictureButton *fDrawButton; 00047 00049 TGPictureButton *fEditButton; 00050 00052 TRootEmbeddedCanvas *fEmbeddedCanvas; 00053 00055 TGTextEntry *fNameBox; 00056 00058 QGPlot *fPlot; 00059 00060 ClassDef(QGPlotListEntryFrame, 0) 00061 }; 00062 00063 #endif