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

Frame to hold control buttons for plot edit window. More...

Inheritance diagram for QGPlotEditButtonsFrame:

Public Member Functions

 QGPlotEditButtonsFrame (QGPlotEditWindow *p, UInt_t w=100, UInt_t h=100)
 Constructor. More...
 
virtual ~QGPlotEditButtonsFrame ()
 Destructor. More...
 
void FillWindowDropDownBox ()
 Fill drop down box with names of canvas windows. More...
 
std::string GetCanvasWindowName ()
 Get name of selected canvas window. More...
 
TGComboBox * GetWindowDropDownBox ()
 Get pointer to the window drop down box. More...
 
void HandleDeleteButton ()
 Handle delete button. More...
 
void HandleDrawButton ()
 Handle draw button. More...
 
void HandleDuplicateButton ()
 Handle duplicate button. More...
 
void HandleEraseButton ()
 Handle erase button. More...
 
void HandleNameButton ()
 Handle name button. More...
 
void HandleNameEntryBox ()
 Handle name entry box. More...
 
void ShowDefaultDisplay ()
 Show default display. More...
 

Private Attributes

TGPictureButton * fDrawButton
 Draw button. More...
 
TGHorizontalFrame * fDrawEraseFrame
 Horizontal frame for Draw/Erase buttons. More...
 
TGPictureButton * fDeleteButton
 Delete button. More...
 
TGPictureButton * fDuplicateButton
 Duplicate button. More...
 
TGPictureButton * fEraseButton
 Erase button. More...
 
TGPictureButton * fNameButton
 Name button. More...
 
TGHorizontalFrame * fNameDeleteDuplicateFrame
 Horizontal frame for Name/Delete/Duplicate buttons. More...
 
TGTextEntry * fNameEntryBox
 Name entry box. More...
 
QGPlotEditWindowfPlotEditWindow
 Pointer to parent plot edit window. More...
 
TGComboBox * fWindowDropDownBox
 Drop down box for selection canvas window. More...
 
TGHorizontalFrame * fWindowFrame
 Horizontal frame for selecting canvas window. More...
 
TGLabel * fWindowLabel
 Window label. More...
 

Detailed Description

Frame to hold control buttons for plot edit window.

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

Definition at line 20 of file QGPlotEditButtonsFrame.hh.

Constructor & Destructor Documentation

◆ QGPlotEditButtonsFrame()

QGPlotEditButtonsFrame::QGPlotEditButtonsFrame ( QGPlotEditWindow p,
UInt_t  w = 100,
UInt_t  h = 100 
)

◆ ~QGPlotEditButtonsFrame()

QGPlotEditButtonsFrame::~QGPlotEditButtonsFrame ( )
virtual

Destructor.

Definition at line 83 of file QGPlotEditButtonsFrame.cc.

Member Function Documentation

◆ FillWindowDropDownBox()

void QGPlotEditButtonsFrame::FillWindowDropDownBox ( )

◆ GetCanvasWindowName()

string QGPlotEditButtonsFrame::GetCanvasWindowName ( )

Get name of selected canvas window.

Definition at line 109 of file QGPlotEditButtonsFrame.cc.

References fWindowDropDownBox.

Referenced by QGPlot::GetCanvasWindowFromEditWindow().

◆ GetWindowDropDownBox()

TGComboBox* QGPlotEditButtonsFrame::GetWindowDropDownBox ( )
inline

Get pointer to the window drop down box.

Definition at line 35 of file QGPlotEditButtonsFrame.hh.

References fWindowDropDownBox.

◆ HandleDeleteButton()

void QGPlotEditButtonsFrame::HandleDeleteButton ( )

Handle delete button.

Definition at line 118 of file QGPlotEditButtonsFrame.cc.

References QGPlot::Erase(), fPlotEditWindow, and QGPlotEditWindow::GetPlot().

◆ HandleDrawButton()

void QGPlotEditButtonsFrame::HandleDrawButton ( )

Handle draw button.

Definition at line 124 of file QGPlotEditButtonsFrame.cc.

References fPlotEditWindow, QGPlotEditWindow::GetPlot(), QGPlot::Plot(), and QGPlotListWindow::Update().

◆ HandleDuplicateButton()

void QGPlotEditButtonsFrame::HandleDuplicateButton ( )

Handle duplicate button.

Definition at line 130 of file QGPlotEditButtonsFrame.cc.

References QGPlot::Duplicate(), fPlotEditWindow, QGPlotEditWindow::GetPlot(), and QGPlotListWindow::Update().

◆ HandleEraseButton()

void QGPlotEditButtonsFrame::HandleEraseButton ( )

Handle erase button.

Definition at line 136 of file QGPlotEditButtonsFrame.cc.

References QGPlot::Erase(), fPlotEditWindow, and QGPlotEditWindow::GetPlot().

◆ HandleNameButton()

void QGPlotEditButtonsFrame::HandleNameButton ( )

◆ HandleNameEntryBox()

void QGPlotEditButtonsFrame::HandleNameEntryBox ( )

◆ ShowDefaultDisplay()

void QGPlotEditButtonsFrame::ShowDefaultDisplay ( )

Member Data Documentation

◆ fDeleteButton

TGPictureButton* QGPlotEditButtonsFrame::fDeleteButton
private

◆ fDrawButton

TGPictureButton* QGPlotEditButtonsFrame::fDrawButton
private

Draw button.

Definition at line 60 of file QGPlotEditButtonsFrame.hh.

Referenced by QGPlotEditButtonsFrame().

◆ fDrawEraseFrame

TGHorizontalFrame* QGPlotEditButtonsFrame::fDrawEraseFrame
private

Horizontal frame for Draw/Erase buttons.

Definition at line 63 of file QGPlotEditButtonsFrame.hh.

Referenced by QGPlotEditButtonsFrame().

◆ fDuplicateButton

TGPictureButton* QGPlotEditButtonsFrame::fDuplicateButton
private

Duplicate button.

Definition at line 69 of file QGPlotEditButtonsFrame.hh.

Referenced by HandleNameButton(), HandleNameEntryBox(), QGPlotEditButtonsFrame(), and ShowDefaultDisplay().

◆ fEraseButton

TGPictureButton* QGPlotEditButtonsFrame::fEraseButton
private

Erase button.

Definition at line 72 of file QGPlotEditButtonsFrame.hh.

Referenced by QGPlotEditButtonsFrame().

◆ fNameButton

TGPictureButton* QGPlotEditButtonsFrame::fNameButton
private

Name button.

Definition at line 75 of file QGPlotEditButtonsFrame.hh.

Referenced by QGPlotEditButtonsFrame(), and ShowDefaultDisplay().

◆ fNameDeleteDuplicateFrame

TGHorizontalFrame* QGPlotEditButtonsFrame::fNameDeleteDuplicateFrame
private

Horizontal frame for Name/Delete/Duplicate buttons.

Definition at line 78 of file QGPlotEditButtonsFrame.hh.

Referenced by HandleNameButton(), HandleNameEntryBox(), QGPlotEditButtonsFrame(), and ShowDefaultDisplay().

◆ fNameEntryBox

TGTextEntry* QGPlotEditButtonsFrame::fNameEntryBox
private

Name entry box.

Definition at line 81 of file QGPlotEditButtonsFrame.hh.

Referenced by HandleNameButton(), HandleNameEntryBox(), QGPlotEditButtonsFrame(), and ShowDefaultDisplay().

◆ fPlotEditWindow

QGPlotEditWindow* QGPlotEditButtonsFrame::fPlotEditWindow
private

◆ fWindowDropDownBox

TGComboBox* QGPlotEditButtonsFrame::fWindowDropDownBox
private

Drop down box for selection canvas window.

Definition at line 87 of file QGPlotEditButtonsFrame.hh.

Referenced by FillWindowDropDownBox(), GetCanvasWindowName(), GetWindowDropDownBox(), and QGPlotEditButtonsFrame().

◆ fWindowFrame

TGHorizontalFrame* QGPlotEditButtonsFrame::fWindowFrame
private

Horizontal frame for selecting canvas window.

Definition at line 90 of file QGPlotEditButtonsFrame.hh.

Referenced by QGPlotEditButtonsFrame().

◆ fWindowLabel

TGLabel* QGPlotEditButtonsFrame::fWindowLabel
private

Window label.

Definition at line 93 of file QGPlotEditButtonsFrame.hh.

Referenced by QGPlotEditButtonsFrame().


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