Diana Software
Public Member Functions | Private Attributes | List of all members
QGPlotListEntryFrame Class Reference

Class for entries in the plot list. More...

Inheritance diagram for QGPlotListEntryFrame:

Public Member Functions

 QGPlotListEntryFrame (TGWindow *p=0, UInt_t w=10, UInt_t h=10)
 Constructor. More...
 
virtual ~QGPlotListEntryFrame ()
 Destructor. More...
 
void DeletePlot ()
 Delete associated plot. More...
 
void HandleDeleteButton ()
 Handle delete button. More...
 
void HandleDrawButton ()
 Handle draw button. More...
 
void HandleEditButton ()
 Handle edit button. More...
 
void SetPlot (QGPlot *plot)
 Set plot that this entry represents. More...
 

Private Attributes

TGPictureButton * fDeleteButton
 Delete button. More...
 
TGPictureButton * fDrawButton
 Draw button. More...
 
TGPictureButton * fEditButton
 Edit button. More...
 
TRootEmbeddedCanvas * fEmbeddedCanvas
 Embedded canvas for style preview. More...
 
TGTextEntry * fNameBox
 Box for plot name. More...
 
QGPlotfPlot
 Plot represented by this entry. More...
 

Detailed Description

Class for entries in the plot list.

Author
Adam Bryant (adam_.nosp@m.brya.nosp@m.nt@be.nosp@m.rkel.nosp@m.ey.ed.nosp@m.u)

Definition at line 18 of file QGPlotListEntryFrame.hh.

Constructor & Destructor Documentation

◆ QGPlotListEntryFrame()

QGPlotListEntryFrame::QGPlotListEntryFrame ( TGWindow *  p = 0,
UInt_t  w = 10,
UInt_t  h = 10 
)

Constructor.

◆ ~QGPlotListEntryFrame()

QGPlotListEntryFrame::~QGPlotListEntryFrame ( )
virtual

Destructor.

Definition at line 34 of file QGPlotListEntryFrame.cc.

Member Function Documentation

◆ DeletePlot()

void QGPlotListEntryFrame::DeletePlot ( )

Delete associated plot.

Definition at line 39 of file QGPlotListEntryFrame.cc.

References QGPlot::Erase(), and fPlot.

◆ HandleDeleteButton()

void QGPlotListEntryFrame::HandleDeleteButton ( )

Handle delete button.

Definition at line 48 of file QGPlotListEntryFrame.cc.

◆ HandleDrawButton()

void QGPlotListEntryFrame::HandleDrawButton ( )

Handle draw button.

Definition at line 58 of file QGPlotListEntryFrame.cc.

References fPlot, and QGPlot::Plot().

◆ HandleEditButton()

void QGPlotListEntryFrame::HandleEditButton ( )

Handle edit button.

Definition at line 65 of file QGPlotListEntryFrame.cc.

References QGPlot::DisplayEditWindow(), and fPlot.

◆ SetPlot()

void QGPlotListEntryFrame::SetPlot ( QGPlot plot)

Set plot that this entry represents.

Definition at line 72 of file QGPlotListEntryFrame.cc.

References fDeleteButton, fDrawButton, fEditButton, fEmbeddedCanvas, fNameBox, fPlot, and QGPlot::GetName().

Member Data Documentation

◆ fDeleteButton

TGPictureButton* QGPlotListEntryFrame::fDeleteButton
private

Delete button.

Definition at line 43 of file QGPlotListEntryFrame.hh.

Referenced by SetPlot().

◆ fDrawButton

TGPictureButton* QGPlotListEntryFrame::fDrawButton
private

Draw button.

Definition at line 46 of file QGPlotListEntryFrame.hh.

Referenced by SetPlot().

◆ fEditButton

TGPictureButton* QGPlotListEntryFrame::fEditButton
private

Edit button.

Definition at line 49 of file QGPlotListEntryFrame.hh.

Referenced by SetPlot().

◆ fEmbeddedCanvas

TRootEmbeddedCanvas* QGPlotListEntryFrame::fEmbeddedCanvas
private

Embedded canvas for style preview.

Definition at line 52 of file QGPlotListEntryFrame.hh.

Referenced by SetPlot().

◆ fNameBox

TGTextEntry* QGPlotListEntryFrame::fNameBox
private

Box for plot name.

Definition at line 55 of file QGPlotListEntryFrame.hh.

Referenced by SetPlot().

◆ fPlot

QGPlot* QGPlotListEntryFrame::fPlot
private

Plot represented by this entry.

Definition at line 58 of file QGPlotListEntryFrame.hh.

Referenced by DeletePlot(), HandleDrawButton(), HandleEditButton(), and SetPlot().


The documentation for this class was generated from the following files: