00001 #ifndef _QG_CANVAS_SETUP_FRAME_HH_ 00002 #define _QG_CANVAS_SETUP_FRAME_HH_ 00003 00011 #include "TGFrame.h" 00012 00013 class QGCanvasWindow; 00014 class TGIcon; 00015 class TGPictureButton; 00016 class TGTextButton; 00017 00018 class QGCanvasSetupFrame : public TGCompositeFrame { 00019 public: 00021 virtual ~QGCanvasSetupFrame(); 00022 00024 void HandleCloseFilesButton(); 00025 00027 void HandleListOpenFilesButton(); 00028 00030 void HandleSaveSessionButton(); 00031 00033 void OpenFile(); 00034 00036 void OpenSession(); 00037 00039 void SetDisplay(); 00040 00041 private: 00043 QGCanvasSetupFrame(QGCanvasWindow *p, UInt_t w, UInt_t h); 00044 00046 QGCanvasWindow *fCanvasWindow; 00047 00049 TGPictureButton *fCloseFilesButton; 00050 00052 TGPictureButton *fListOpenFilesButton; 00053 00055 TGIcon *fLogo; 00056 00058 TGPictureButton *fOpenFileButton; 00059 00061 TGPictureButton *fOpenSessionButton; 00062 00064 TGPictureButton *fSaveSessionButton; 00065 00066 friend class QGCanvasWindow; 00067 00068 ClassDef(QGCanvasSetupFrame, 0) 00069 }; 00070 00071 #endif