Diana Software
QGCutsEditorWindow.hh
Go to the documentation of this file.
1 #ifndef _QG_CUTS_EDITOR_WINDOW_HH_
2 #define _QG_CUTS_EDITOR_WINDOW_HH_
3 
11 #include "QGWindow.hh"
12 #include <string>
13 
14 class TGHorizontalFrame;
15 class TGPictureButton;
16 class TGTextEdit;
17 
18 class QGCutsEditorWindow : public QGWindow {
19 public:
21  QGCutsEditorWindow(const TGWindow *p = 0, UInt_t w = 600, UInt_t h = 600);
22 
24  virtual ~QGCutsEditorWindow();
25 
27  void HandlePasteButton();
28 
30  void HandleSaveButton();
31 
33  void Save(const std::string& filename);
34 
35 private:
37  TGHorizontalFrame *fButtonsFrame;
38 
40  TGPictureButton *fPasteButton;
41 
43  TGPictureButton *fSaveButton;
44 
46  TGTextEdit *fTextEditor;
47 
49 };
50 
51 #endif
Window used to manage writing cuts to a file.
TGPictureButton * fPasteButton
Paste button.
QGCutsEditorWindow(const TGWindow *p=0, UInt_t w=600, UInt_t h=600)
Constructor.
TGTextEdit * fTextEditor
Text editor.
TGPictureButton * fSaveButton
Save button.
void HandleSaveButton()
Handle save button.
ClassDef(QGCutsEditorWindow, 0)
void Save(const std::string &filename)
Save cuts to file.
virtual ~QGCutsEditorWindow()
Destructor.
void HandlePasteButton()
Handle paste button.
TGHorizontalFrame * fButtonsFrame
Buttons frame.
Base class for GUI windows.
Definition: QGWindow.hh:15