![]() |
Diana Software
|
Frame to hold control buttons for plot edit window. More...
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... | |
| QGPlotEditWindow * | fPlotEditWindow |
| 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... | |
Frame to hold control buttons for plot edit window.
Definition at line 20 of file QGPlotEditButtonsFrame.hh.
| QGPlotEditButtonsFrame::QGPlotEditButtonsFrame | ( | QGPlotEditWindow * | p, |
| UInt_t | w = 100, |
||
| UInt_t | h = 100 |
||
| ) |
Constructor.
Definition at line 28 of file QGPlotEditButtonsFrame.cc.
References fDeleteButton, fDrawButton, fDrawEraseFrame, fDuplicateButton, fEraseButton, FillWindowDropDownBox(), fNameButton, fNameDeleteDuplicateFrame, fNameEntryBox, fWindowDropDownBox, fWindowFrame, and fWindowLabel.
|
virtual |
Destructor.
Definition at line 83 of file QGPlotEditButtonsFrame.cc.
| void QGPlotEditButtonsFrame::FillWindowDropDownBox | ( | ) |
Fill drop down box with names of canvas windows.
Definition at line 88 of file QGPlotEditButtonsFrame.cc.
References fPlotEditWindow, fWindowDropDownBox, QGPlot::GetCanvasWindow(), QGPlotEditWindow::GetPlot(), and QGWindow::GetWindows().
Referenced by QGPlotEditButtonsFrame(), QGHistogramEditWindow::SetPlot(), QGPulseEditWindow::SetPlot(), and QGScatterPlotEditWindow::SetPlot().
| string QGPlotEditButtonsFrame::GetCanvasWindowName | ( | ) |
Get name of selected canvas window.
Definition at line 109 of file QGPlotEditButtonsFrame.cc.
References fWindowDropDownBox.
Referenced by QGPlot::GetCanvasWindowFromEditWindow().
|
inline |
Get pointer to the window drop down box.
Definition at line 35 of file QGPlotEditButtonsFrame.hh.
References fWindowDropDownBox.
| void QGPlotEditButtonsFrame::HandleDeleteButton | ( | ) |
Handle delete button.
Definition at line 118 of file QGPlotEditButtonsFrame.cc.
References QGPlot::Erase(), fPlotEditWindow, and QGPlotEditWindow::GetPlot().
| void QGPlotEditButtonsFrame::HandleDrawButton | ( | ) |
Handle draw button.
Definition at line 124 of file QGPlotEditButtonsFrame.cc.
References fPlotEditWindow, QGPlotEditWindow::GetPlot(), QGPlot::Plot(), and QGPlotListWindow::Update().
| void QGPlotEditButtonsFrame::HandleDuplicateButton | ( | ) |
Handle duplicate button.
Definition at line 130 of file QGPlotEditButtonsFrame.cc.
References QGPlot::Duplicate(), fPlotEditWindow, QGPlotEditWindow::GetPlot(), and QGPlotListWindow::Update().
| void QGPlotEditButtonsFrame::HandleEraseButton | ( | ) |
Handle erase button.
Definition at line 136 of file QGPlotEditButtonsFrame.cc.
References QGPlot::Erase(), fPlotEditWindow, and QGPlotEditWindow::GetPlot().
| void QGPlotEditButtonsFrame::HandleNameButton | ( | ) |
Handle name button.
Definition at line 141 of file QGPlotEditButtonsFrame.cc.
References fDeleteButton, fDuplicateButton, fNameDeleteDuplicateFrame, fNameEntryBox, fPlotEditWindow, QGPlot::GetName(), QGPlotEditWindow::GetPlot(), and HandleNameEntryBox().
| void QGPlotEditButtonsFrame::HandleNameEntryBox | ( | ) |
Handle name entry box.
Definition at line 156 of file QGPlotEditButtonsFrame.cc.
References fDeleteButton, fDuplicateButton, fNameDeleteDuplicateFrame, fNameEntryBox, fPlotEditWindow, QGPlot::GetName(), QGPlotEditWindow::GetPlot(), QGPlot::SetName(), QGWindow::SetWindowName(), and QGPlotListWindow::Update().
Referenced by HandleNameButton().
| void QGPlotEditButtonsFrame::ShowDefaultDisplay | ( | ) |
Show default display.
Definition at line 172 of file QGPlotEditButtonsFrame.cc.
References fDeleteButton, fDuplicateButton, fNameButton, fNameDeleteDuplicateFrame, and fNameEntryBox.
Referenced by QGHistogramEditWindow::QGHistogramEditWindow(), QGPulseEditWindow::QGPulseEditWindow(), and QGScatterPlotEditWindow::QGScatterPlotEditWindow().
|
private |
Delete button.
Definition at line 66 of file QGPlotEditButtonsFrame.hh.
Referenced by HandleNameButton(), HandleNameEntryBox(), QGPlotEditButtonsFrame(), and ShowDefaultDisplay().
|
private |
Draw button.
Definition at line 60 of file QGPlotEditButtonsFrame.hh.
Referenced by QGPlotEditButtonsFrame().
|
private |
Horizontal frame for Draw/Erase buttons.
Definition at line 63 of file QGPlotEditButtonsFrame.hh.
Referenced by QGPlotEditButtonsFrame().
|
private |
Duplicate button.
Definition at line 69 of file QGPlotEditButtonsFrame.hh.
Referenced by HandleNameButton(), HandleNameEntryBox(), QGPlotEditButtonsFrame(), and ShowDefaultDisplay().
|
private |
Erase button.
Definition at line 72 of file QGPlotEditButtonsFrame.hh.
Referenced by QGPlotEditButtonsFrame().
|
private |
Name button.
Definition at line 75 of file QGPlotEditButtonsFrame.hh.
Referenced by QGPlotEditButtonsFrame(), and ShowDefaultDisplay().
|
private |
Horizontal frame for Name/Delete/Duplicate buttons.
Definition at line 78 of file QGPlotEditButtonsFrame.hh.
Referenced by HandleNameButton(), HandleNameEntryBox(), QGPlotEditButtonsFrame(), and ShowDefaultDisplay().
|
private |
Name entry box.
Definition at line 81 of file QGPlotEditButtonsFrame.hh.
Referenced by HandleNameButton(), HandleNameEntryBox(), QGPlotEditButtonsFrame(), and ShowDefaultDisplay().
|
private |
Pointer to parent plot edit window.
Definition at line 84 of file QGPlotEditButtonsFrame.hh.
Referenced by FillWindowDropDownBox(), HandleDeleteButton(), HandleDrawButton(), HandleDuplicateButton(), HandleEraseButton(), HandleNameButton(), and HandleNameEntryBox().
|
private |
Drop down box for selection canvas window.
Definition at line 87 of file QGPlotEditButtonsFrame.hh.
Referenced by FillWindowDropDownBox(), GetCanvasWindowName(), GetWindowDropDownBox(), and QGPlotEditButtonsFrame().
|
private |
Horizontal frame for selecting canvas window.
Definition at line 90 of file QGPlotEditButtonsFrame.hh.
Referenced by QGPlotEditButtonsFrame().
|
private |
Window label.
Definition at line 93 of file QGPlotEditButtonsFrame.hh.
Referenced by QGPlotEditButtonsFrame().