![]() |
Diana Software
|
Part of a canvas window containing control buttons. More...
Public Member Functions | |
| QGCanvasWindowButtonsFrame (QGCanvasWindow *p=0, UInt_t w=70, UInt_t h=70) | |
| Constructor. More... | |
| virtual | ~QGCanvasWindowButtonsFrame () |
| Destructor. More... | |
| void | HandleExportCutsButton () |
| Handle export cuts button. More... | |
| void | HandleGoToPlotsButton () |
| Handle go-to-plots button. More... | |
| void | HandleNameButton () |
| Handle name button click. More... | |
| void | HandleNameEntryBox () |
| Handle name entry box. More... | |
| void | HandleNewWindowButton () |
| Handle new window button. More... | |
| void | HandlePlotsListButton () |
| Handle plots list button. More... | |
| void | HandleQuitButton () |
| Handle quit button. More... | |
| void | HandleSaveCanvasButton () |
| Handle save canvas button. More... | |
| void | HandleSetupWindowButton () |
| Handle setup window button. More... | |
| void | ShowDefaultDisplay () |
| Show default display, hide certain elements. More... | |
| void | ShowSetupWindowDisplay () |
| Show setup window display, hide everything except back-to-plots button. More... | |
Private Attributes | |
| QGCanvasWindow * | fCanvasWindow |
| Parent canvas window. More... | |
| TGPictureButton * | fExportCutsButton |
| Export cuts button. More... | |
| TGPictureButton * | fGoToPlotsButton |
| Back to plots button. More... | |
| TGPictureButton * | fNameButton |
| Name button. More... | |
| TGTextEntry * | fNameEntryBox |
| Name entry box. More... | |
| TGPictureButton * | fNewWindowButton |
| New window button. More... | |
| TGPictureButton * | fPlotsListButton |
| Plots list button. More... | |
| TGPictureButton * | fQuitButton |
| Quit button. More... | |
| TGPictureButton * | fSaveCanvasButton |
| Save canvas button. More... | |
| TGPictureButton * | fSetupWindowButton |
| Setup window button. More... | |
Part of a canvas window containing control buttons.
Definition at line 17 of file QGCanvasWindowButtonsFrame.hh.
| QGCanvasWindowButtonsFrame::QGCanvasWindowButtonsFrame | ( | QGCanvasWindow * | p = 0, |
| UInt_t | w = 70, |
||
| UInt_t | h = 70 |
||
| ) |
Constructor.
Definition at line 39 of file QGCanvasWindowButtonsFrame.cc.
References fExportCutsButton, fGoToPlotsButton, fNameButton, fNameEntryBox, fNewWindowButton, fPlotsListButton, fQuitButton, fSaveCanvasButton, and fSetupWindowButton.
|
virtual |
Destructor.
Definition at line 92 of file QGCanvasWindowButtonsFrame.cc.
| void QGCanvasWindowButtonsFrame::HandleExportCutsButton | ( | ) |
Handle export cuts button.
Definition at line 97 of file QGCanvasWindowButtonsFrame.cc.
| void QGCanvasWindowButtonsFrame::HandleGoToPlotsButton | ( | ) |
Handle go-to-plots button.
Definition at line 102 of file QGCanvasWindowButtonsFrame.cc.
References QGCanvasWindow::DisplayPlotFrame(), fCanvasWindow, and ShowDefaultDisplay().
| void QGCanvasWindowButtonsFrame::HandleNameButton | ( | ) |
Handle name button click.
Definition at line 108 of file QGCanvasWindowButtonsFrame.cc.
References fCanvasWindow, fNameEntryBox, HandleNameEntryBox(), and QStringHandler::Resize().
| void QGCanvasWindowButtonsFrame::HandleNameEntryBox | ( | ) |
Handle name entry box.
Definition at line 121 of file QGCanvasWindowButtonsFrame.cc.
References fCanvasWindow, fNameEntryBox, QStringHandler::Resize(), QGWindow::SetWindowName(), and QGWindow::UpdateWindowDropDownBoxes().
Referenced by HandleNameButton(), and ShowSetupWindowDisplay().
| void QGCanvasWindowButtonsFrame::HandleNewWindowButton | ( | ) |
Handle new window button.
Definition at line 132 of file QGCanvasWindowButtonsFrame.cc.
References QGWindow::UpdateWindowDropDownBoxes().
| void QGCanvasWindowButtonsFrame::HandlePlotsListButton | ( | ) |
Handle plots list button.
Definition at line 138 of file QGCanvasWindowButtonsFrame.cc.
References QGPlot::ShowPlotsList().
| void QGCanvasWindowButtonsFrame::HandleQuitButton | ( | ) |
Handle quit button.
Definition at line 143 of file QGCanvasWindowButtonsFrame.cc.
| void QGCanvasWindowButtonsFrame::HandleSaveCanvasButton | ( | ) |
Handle save canvas button.
Definition at line 148 of file QGCanvasWindowButtonsFrame.cc.
References fCanvasWindow, QGPlotFrame::GetEmbeddedCanvas(), QGCanvasWindow::GetPlotFrame(), QGDefaultsHandler::GetSaveCanvasDirectory(), QGDefaultsHandler::Instance(), and QGDefaultsHandler::SetSaveCanvasDirectory().
| void QGCanvasWindowButtonsFrame::HandleSetupWindowButton | ( | ) |
Handle setup window button.
Definition at line 177 of file QGCanvasWindowButtonsFrame.cc.
References QGCanvasWindow::DisplaySetupFrame(), and fCanvasWindow.
| void QGCanvasWindowButtonsFrame::ShowDefaultDisplay | ( | ) |
Show default display, hide certain elements.
Definition at line 182 of file QGCanvasWindowButtonsFrame.cc.
References fExportCutsButton, fGoToPlotsButton, fNameButton, fNameEntryBox, fNewWindowButton, fPlotsListButton, fQuitButton, fSaveCanvasButton, fSetupWindowButton, and QStringHandler::Resize().
Referenced by QGCanvasWindow::DisplayPlotFrame(), HandleGoToPlotsButton(), and QGCanvasWindow::QGCanvasWindow().
| void QGCanvasWindowButtonsFrame::ShowSetupWindowDisplay | ( | ) |
Show setup window display, hide everything except back-to-plots button.
Definition at line 196 of file QGCanvasWindowButtonsFrame.cc.
References fExportCutsButton, fGoToPlotsButton, fNameButton, fNameEntryBox, fNewWindowButton, fPlotsListButton, fQuitButton, fSaveCanvasButton, fSetupWindowButton, HandleNameEntryBox(), and QStringHandler::Resize().
Referenced by QGCanvasWindow::DisplaySetupFrame().
|
private |
Parent canvas window.
Definition at line 60 of file QGCanvasWindowButtonsFrame.hh.
Referenced by HandleGoToPlotsButton(), HandleNameButton(), HandleNameEntryBox(), HandleSaveCanvasButton(), and HandleSetupWindowButton().
|
private |
Export cuts button.
Definition at line 63 of file QGCanvasWindowButtonsFrame.hh.
Referenced by QGCanvasWindowButtonsFrame(), ShowDefaultDisplay(), and ShowSetupWindowDisplay().
|
private |
Back to plots button.
Definition at line 66 of file QGCanvasWindowButtonsFrame.hh.
Referenced by QGCanvasWindowButtonsFrame(), ShowDefaultDisplay(), and ShowSetupWindowDisplay().
|
private |
Name button.
Definition at line 69 of file QGCanvasWindowButtonsFrame.hh.
Referenced by QGCanvasWindowButtonsFrame(), ShowDefaultDisplay(), and ShowSetupWindowDisplay().
|
private |
Name entry box.
Definition at line 72 of file QGCanvasWindowButtonsFrame.hh.
Referenced by HandleNameButton(), HandleNameEntryBox(), QGCanvasWindowButtonsFrame(), ShowDefaultDisplay(), and ShowSetupWindowDisplay().
|
private |
New window button.
Definition at line 75 of file QGCanvasWindowButtonsFrame.hh.
Referenced by QGCanvasWindowButtonsFrame(), ShowDefaultDisplay(), and ShowSetupWindowDisplay().
|
private |
Plots list button.
Definition at line 78 of file QGCanvasWindowButtonsFrame.hh.
Referenced by QGCanvasWindowButtonsFrame(), ShowDefaultDisplay(), and ShowSetupWindowDisplay().
|
private |
Quit button.
Definition at line 81 of file QGCanvasWindowButtonsFrame.hh.
Referenced by QGCanvasWindowButtonsFrame(), ShowDefaultDisplay(), and ShowSetupWindowDisplay().
|
private |
Save canvas button.
Definition at line 84 of file QGCanvasWindowButtonsFrame.hh.
Referenced by QGCanvasWindowButtonsFrame(), ShowDefaultDisplay(), and ShowSetupWindowDisplay().
|
private |
Setup window button.
Definition at line 87 of file QGCanvasWindowButtonsFrame.hh.
Referenced by QGCanvasWindowButtonsFrame(), ShowDefaultDisplay(), and ShowSetupWindowDisplay().