![]() |
Diana Software
|
Part of a canvas window for doing setup tasks. More...
Public Member Functions | |
| virtual | ~QGCanvasSetupFrame () |
| Destructor. More... | |
| void | HandleCloseFilesButton () |
| Handle close files button. More... | |
| void | HandleListOpenFilesButton () |
| Handle list open files button. More... | |
| void | HandleSaveSessionButton () |
| Handle save session button. More... | |
| void | OpenFile () |
| Pop up the file open dialog. More... | |
| void | OpenSession () |
| Pop up the session open dialog. More... | |
| void | SetDisplay () |
| Set the display based on the current state. More... | |
Private Member Functions | |
| QGCanvasSetupFrame (QGCanvasWindow *p, UInt_t w, UInt_t h) | |
| Private constructor. More... | |
Private Attributes | |
| QGCanvasWindow * | fCanvasWindow |
| Parent canvas window. More... | |
| TGPictureButton * | fCloseFilesButton |
| Button to close files. More... | |
| TGPictureButton * | fListOpenFilesButton |
| Button to list open files. More... | |
| TGIcon * | fLogo |
| Logo. More... | |
| TGPictureButton * | fOpenFileButton |
| Button to open a file. More... | |
| TGPictureButton * | fOpenSessionButton |
| Button to open a session. More... | |
| TGPictureButton * | fSaveSessionButton |
| Button to save a session. More... | |
Friends | |
| class | QGCanvasWindow |
Part of a canvas window for doing setup tasks.
Definition at line 18 of file QGCanvasSetupFrame.hh.
|
virtual |
Destructor.
Definition at line 63 of file QGCanvasSetupFrame.cc.
|
private |
Private constructor.
Definition at line 31 of file QGCanvasSetupFrame.cc.
References fCloseFilesButton, fListOpenFilesButton, fOpenFileButton, fOpenSessionButton, and fSaveSessionButton.
| void QGCanvasSetupFrame::HandleCloseFilesButton | ( | ) |
Handle close files button.
Definition at line 68 of file QGCanvasSetupFrame.cc.
References QGCanvasWindow::ClearDrawnPlots(), QGFileHandler::CloseFiles(), QGCanvasWindow::DisplaySetupFrame(), fCanvasWindow, QGPlotFrame::GetEmbeddedCanvas(), QGCanvasWindow::GetFileHandler(), QGCanvasWindow::GetPlotFrame(), QGCanvasWindow::SetPlotsToRegenerate(), and QGCanvasWindow::UpdateVariablesDropDownBoxes().
| void QGCanvasSetupFrame::HandleListOpenFilesButton | ( | ) |
Handle list open files button.
Definition at line 78 of file QGCanvasSetupFrame.cc.
References fCanvasWindow, QGCanvasWindow::GetFileHandler(), and QGFileHandler::ListOpenFiles().
| void QGCanvasSetupFrame::HandleSaveSessionButton | ( | ) |
Handle save session button.
Definition at line 106 of file QGCanvasSetupFrame.cc.
References QGSessionHandler::SaveSession().
| void QGCanvasSetupFrame::OpenFile | ( | ) |
Pop up the file open dialog.
Definition at line 83 of file QGCanvasSetupFrame.cc.
References QGCanvasWindow::DisplayPlotFrame(), fCanvasWindow, QGCanvasWindow::GetFileHandler(), QGFileHandler::IsFileOpen(), QGFileHandler::OpenFile(), QGCanvasWindow::SetPlotsToRegenerate(), QGCanvasWindow::UpdateFileLabel(), and QGCanvasWindow::UpdateVariablesDropDownBoxes().
| void QGCanvasSetupFrame::OpenSession | ( | ) |
Pop up the session open dialog.
Definition at line 94 of file QGCanvasSetupFrame.cc.
References fCanvasWindow, QGCanvasWindow::GetFileHandler(), QGCanvasWindow::GetPlots(), QGFileHandler::IsFileOpen(), and QGSessionHandler::OpenSession().
| void QGCanvasSetupFrame::SetDisplay | ( | ) |
Set the display based on the current state.
Definition at line 113 of file QGCanvasSetupFrame.cc.
References fCanvasWindow, fCloseFilesButton, fListOpenFilesButton, fSaveSessionButton, QGCanvasWindow::GetFileHandler(), QGPlot::GetPlots(), QGFileHandler::IsFileOpen(), and QStringHandler::Resize().
Referenced by QGCanvasWindow::DisplaySetupFrame(), and QGCanvasWindow::QGCanvasWindow().
|
friend |
Definition at line 66 of file QGCanvasSetupFrame.hh.
|
private |
Parent canvas window.
Definition at line 46 of file QGCanvasSetupFrame.hh.
Referenced by HandleCloseFilesButton(), HandleListOpenFilesButton(), OpenFile(), OpenSession(), and SetDisplay().
|
private |
Button to close files.
Definition at line 49 of file QGCanvasSetupFrame.hh.
Referenced by QGCanvasSetupFrame(), and SetDisplay().
|
private |
Button to list open files.
Definition at line 52 of file QGCanvasSetupFrame.hh.
Referenced by QGCanvasSetupFrame(), and SetDisplay().
|
private |
Logo.
Definition at line 55 of file QGCanvasSetupFrame.hh.
|
private |
Button to open a file.
Definition at line 58 of file QGCanvasSetupFrame.hh.
Referenced by QGCanvasSetupFrame().
|
private |
Button to open a session.
Definition at line 61 of file QGCanvasSetupFrame.hh.
Referenced by QGCanvasSetupFrame().
|
private |
Button to save a session.
Definition at line 64 of file QGCanvasSetupFrame.hh.
Referenced by QGCanvasSetupFrame(), and SetDisplay().