00001 #ifndef _QG_CUTS_EDITOR_WINDOW_HH_ 00002 #define _QG_CUTS_EDITOR_WINDOW_HH_ 00003 00011 #include "QGWindow.hh" 00012 #include <string> 00013 00014 class TGHorizontalFrame; 00015 class TGPictureButton; 00016 class TGTextEdit; 00017 00018 class QGCutsEditorWindow : public QGWindow { 00019 public: 00021 QGCutsEditorWindow(const TGWindow *p = 0, UInt_t w = 600, UInt_t h = 600); 00022 00024 virtual ~QGCutsEditorWindow(); 00025 00027 void HandlePasteButton(); 00028 00030 void HandleSaveButton(); 00031 00033 void Save(const std::string& filename); 00034 00035 private: 00037 TGHorizontalFrame *fButtonsFrame; 00038 00040 TGPictureButton *fPasteButton; 00041 00043 TGPictureButton *fSaveButton; 00044 00046 TGTextEdit *fTextEditor; 00047 00048 ClassDef(QGCutsEditorWindow, 0); 00049 }; 00050 00051 #endif