00001 #ifndef _QG_CANVAS_WINDOW_BUTTONS_FRAME_HH_ 00002 #define _QG_CANVAS_WINDOW_BUTTONS_FRAME_HH_ 00003 00011 #include "TGFrame.h" 00012 00013 class QGCanvasWindow; 00014 class TGPictureButton; 00015 class TGTextEntry; 00016 00017 class QGCanvasWindowButtonsFrame : public TGHorizontalFrame { 00018 public: 00020 QGCanvasWindowButtonsFrame(QGCanvasWindow *p = 0, UInt_t w = 70, UInt_t h = 70); 00021 00023 virtual ~QGCanvasWindowButtonsFrame(); 00024 00026 void HandleExportCutsButton(); 00027 00029 void HandleGoToPlotsButton(); 00030 00032 void HandleNameButton(); 00033 00035 void HandleNameEntryBox(); 00036 00038 void HandleNewWindowButton(); 00039 00041 void HandlePlotsListButton(); 00042 00044 void HandleQuitButton(); 00045 00047 void HandleSaveCanvasButton(); 00048 00050 void HandleSetupWindowButton(); 00051 00053 void ShowDefaultDisplay(); 00054 00056 void ShowSetupWindowDisplay(); 00057 00058 private: 00060 QGCanvasWindow *fCanvasWindow; 00061 00063 TGPictureButton *fExportCutsButton; 00064 00066 TGPictureButton *fGoToPlotsButton; 00067 00069 TGPictureButton *fNameButton; 00070 00072 TGTextEntry *fNameEntryBox; 00073 00075 TGPictureButton *fNewWindowButton; 00076 00078 TGPictureButton *fPlotsListButton; 00079 00081 TGPictureButton *fQuitButton; 00082 00084 TGPictureButton *fSaveCanvasButton; 00085 00087 TGPictureButton *fSetupWindowButton; 00088 00089 ClassDef(QGCanvasWindowButtonsFrame, 0) 00090 }; 00091 00092 #endif