Diana Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
QGCutsEditorWindow Class Reference

Window used to manage writing cuts to a file. More...

Inheritance diagram for QGCutsEditorWindow:
QGWindow

Public Member Functions

 QGCutsEditorWindow (const TGWindow *p=0, UInt_t w=600, UInt_t h=600)
 Constructor. More...
 
virtual ~QGCutsEditorWindow ()
 Destructor. More...
 
void HandlePasteButton ()
 Handle paste button. More...
 
void HandleSaveButton ()
 Handle save button. More...
 
void Save (const std::string &filename)
 Save cuts to file. More...
 
- Public Member Functions inherited from QGWindow
 QGWindow (const TGWindow *p=0, UInt_t w=100, UInt_t h=100)
 Constructor. More...
 
virtual ~QGWindow ()
 Destructor. More...
 
virtual void SetWindowName (const char *name=0)
 Set name of window. More...
 

Private Member Functions

 ClassDef (QGCutsEditorWindow, 0)
 

Private Attributes

TGHorizontalFrame * fButtonsFrame
 Buttons frame. More...
 
TGPictureButton * fPasteButton
 Paste button. More...
 
TGPictureButton * fSaveButton
 Save button. More...
 
TGTextEdit * fTextEditor
 Text editor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from QGWindow
static QGWindowGetWindowByName (const std::string &name)
 Get pointer to window with a given name. More...
 
static const std::list< QGWindow * > & GetWindows ()
 Get collection of windows. More...
 
static bool IsNameInUse (std::string name)
 Check whether string is the name of any window. More...
 
static std::string GenerateWindowName (std::string baseName)
 Generate a name for the window. More...
 
static void UpdateWindowDropDownBoxes ()
 Update window drop down boxes. More...
 
- Protected Attributes inherited from QGWindow
UInt_t fWidth
 Width of window. More...
 
UInt_t fHeight
 Height of window. More...
 
- Static Protected Attributes inherited from QGWindow
static std::list< QGWindow * > fWindows
 Collection of pointers to all open QGWindows. More...
 

Detailed Description

Window used to manage writing cuts to a file.

Author
Adam Bryant (adam_.nosp@m.brya.nosp@m.nt@be.nosp@m.rkel.nosp@m.ey.ed.nosp@m.u)

Definition at line 18 of file QGCutsEditorWindow.hh.

Constructor & Destructor Documentation

◆ QGCutsEditorWindow()

QGCutsEditorWindow::QGCutsEditorWindow ( const TGWindow *  p = 0,
UInt_t  w = 600,
UInt_t  h = 600 
)

◆ ~QGCutsEditorWindow()

QGCutsEditorWindow::~QGCutsEditorWindow ( )
virtual

Destructor.

Definition at line 56 of file QGCutsEditorWindow.cc.

Member Function Documentation

◆ ClassDef()

QGCutsEditorWindow::ClassDef ( QGCutsEditorWindow  ,
 
)
private

◆ HandlePasteButton()

void QGCutsEditorWindow::HandlePasteButton ( )

Handle paste button.

Definition at line 60 of file QGCutsEditorWindow.cc.

References fTextEditor, and QGCutsFrame::GetCopiedCuts().

◆ HandleSaveButton()

void QGCutsEditorWindow::HandleSaveButton ( )

◆ Save()

void QGCutsEditorWindow::Save ( const std::string &  filename)

Member Data Documentation

◆ fButtonsFrame

TGHorizontalFrame* QGCutsEditorWindow::fButtonsFrame
private

Buttons frame.

Definition at line 37 of file QGCutsEditorWindow.hh.

Referenced by QGCutsEditorWindow().

◆ fPasteButton

TGPictureButton* QGCutsEditorWindow::fPasteButton
private

Paste button.

Definition at line 40 of file QGCutsEditorWindow.hh.

Referenced by QGCutsEditorWindow().

◆ fSaveButton

TGPictureButton* QGCutsEditorWindow::fSaveButton
private

Save button.

Definition at line 43 of file QGCutsEditorWindow.hh.

Referenced by QGCutsEditorWindow().

◆ fTextEditor

TGTextEdit* QGCutsEditorWindow::fTextEditor
private

Text editor.

Definition at line 46 of file QGCutsEditorWindow.hh.

Referenced by HandlePasteButton(), QGCutsEditorWindow(), and Save().


The documentation for this class was generated from the following files: