Diana Software
QGPlotListEntryFrame.hh
Go to the documentation of this file.
1 #ifndef _QG_PLOT_LIST_ENTRY_FRAME_HH_
2 #define _QG_PLOT_LIST_ENTRY_FRAME_HH_
3 
11 #include "TGFrame.h"
12 
13 class QGPlot;
14 class TGPictureButton;
15 class TGTextEntry;
16 class TRootEmbeddedCanvas;
17 
18 class QGPlotListEntryFrame : public TGHorizontalFrame {
19 public:
21  QGPlotListEntryFrame(TGWindow *p = 0, UInt_t w = 10, UInt_t h = 10);
22 
24  virtual ~QGPlotListEntryFrame();
25 
27  void DeletePlot();
28 
30  void HandleDeleteButton();
31 
33  void HandleDrawButton();
34 
36  void HandleEditButton();
37 
39  void SetPlot(QGPlot *plot);
40 
41 private:
43  TGPictureButton *fDeleteButton;
44 
46  TGPictureButton *fDrawButton;
47 
49  TGPictureButton *fEditButton;
50 
52  TRootEmbeddedCanvas *fEmbeddedCanvas;
53 
55  TGTextEntry *fNameBox;
56 
59 
60  ClassDef(QGPlotListEntryFrame, 0)
61 };
62 
63 #endif
Class for entries in the plot list.
TGPictureButton * fDrawButton
Draw button.
void HandleDrawButton()
Handle draw button.
virtual ~QGPlotListEntryFrame()
Destructor.
void HandleDeleteButton()
Handle delete button.
TGTextEntry * fNameBox
Box for plot name.
TGPictureButton * fDeleteButton
Delete button.
QGPlot * fPlot
Plot represented by this entry.
TRootEmbeddedCanvas * fEmbeddedCanvas
Embedded canvas for style preview.
void HandleEditButton()
Handle edit button.
void DeletePlot()
Delete associated plot.
TGPictureButton * fEditButton
Edit button.
void SetPlot(QGPlot *plot)
Set plot that this entry represents.
QGPlotListEntryFrame(TGWindow *p=0, UInt_t w=10, UInt_t h=10)
Constructor.
Base class for GUI plots including histograms, scatter plots, pulses, and graphical cuts.
Definition: QGPlot.hh:21