Diana Software
QGCanvasSetupFrame.hh
Go to the documentation of this file.
1 #ifndef _QG_CANVAS_SETUP_FRAME_HH_
2 #define _QG_CANVAS_SETUP_FRAME_HH_
3 
11 #include "TGFrame.h"
12 
13 class QGCanvasWindow;
14 class TGIcon;
15 class TGPictureButton;
16 class TGTextButton;
17 
18 class QGCanvasSetupFrame : public TGCompositeFrame {
19 public:
21  virtual ~QGCanvasSetupFrame();
22 
25 
28 
31 
33  void OpenFile();
34 
36  void OpenSession();
37 
39  void SetDisplay();
40 
41 private:
43  QGCanvasSetupFrame(QGCanvasWindow *p, UInt_t w, UInt_t h);
44 
47 
49  TGPictureButton *fCloseFilesButton;
50 
52  TGPictureButton *fListOpenFilesButton;
53 
55  TGIcon *fLogo;
56 
58  TGPictureButton *fOpenFileButton;
59 
61  TGPictureButton *fOpenSessionButton;
62 
64  TGPictureButton *fSaveSessionButton;
65 
66  friend class QGCanvasWindow;
67 
68  ClassDef(QGCanvasSetupFrame, 0)
69 };
70 
71 #endif
Part of a canvas window for doing setup tasks.
void HandleSaveSessionButton()
Handle save session button.
void HandleListOpenFilesButton()
Handle list open files button.
virtual ~QGCanvasSetupFrame()
Destructor.
void OpenSession()
Pop up the session open dialog.
TGPictureButton * fListOpenFilesButton
Button to list open files.
TGPictureButton * fCloseFilesButton
Button to close files.
void OpenFile()
Pop up the file open dialog.
QGCanvasWindow * fCanvasWindow
Parent canvas window.
TGPictureButton * fSaveSessionButton
Button to save a session.
QGCanvasSetupFrame(QGCanvasWindow *p, UInt_t w, UInt_t h)
Private constructor.
TGPictureButton * fOpenFileButton
Button to open a file.
void HandleCloseFilesButton()
Handle close files button.
TGPictureButton * fOpenSessionButton
Button to open a session.
void SetDisplay()
Set the display based on the current state.
Window containing a ROOT canvas.