Public Member Functions | |
QGCutsFrame (TGWindow *p=0, UInt_t w=100, UInt_t h=100) | |
Constructor. | |
virtual | ~QGCutsFrame () |
Destructor. | |
void | AddCut (const std::string &cut) |
Add cut. | |
std::vector< std::string > | GetCuts () |
Get cuts. | |
TGListBox * | GetCutsListBox () |
Get pointer to cuts list box. | |
QGDropDownBox * | GetDropDownBox () |
Get drop down box. | |
std::vector< Int_t > | GetSelectedEntries () |
Get id numbers of selected entries in list box. | |
void | HandleCopyButton () |
Handle copy button. | |
void | HandleDropDownBox () |
Handle drop down box. | |
void | HandleEditButton () |
Handle edit button. | |
void | HandlePasteButton () |
Handle paste button. | |
void | HandleRemoveButton () |
Handle remove button. | |
void | SetCuts (const std::vector< std::string > &cuts) |
Set cuts. | |
void | SetLabel (const std::string &label) |
Set label. | |
Static Public Member Functions | |
static void | ClearCopiedCuts () |
Clear copied cuts. | |
static void | CopyCut (const std::string &cut) |
Copy cut. | |
static const std::vector < std::string > & | GetCopiedCuts () |
Get copied cuts. | |
Private Attributes | |
TGPictureButton * | fAddButton |
Add button. | |
TGHorizontalFrame * | fAddEditFrame |
Frame for drop down box and Add/Edit buttons. | |
TGHorizontalFrame * | fButtonsFrame |
Cuts buttons frame. | |
TGPictureButton * | fCopyButton |
Copy button. | |
std::map< Int_t, std::string > | fCuts |
Cuts. | |
TGListBox * | fCutsListBox |
Cuts list box. | |
QGDropDownBox * | fDropDownBox |
Drop down box. | |
TGPictureButton * | fEditButton |
Edit button. | |
Int_t | fEditId |
Id of cut being edited. | |
Int_t | fId |
Cut id. | |
TGLabel * | fLabel |
Label. | |
TGPictureButton * | fPasteButton |
Paste button. | |
TGPictureButton * | fRemoveButton |
Remove button. | |
Static Private Attributes | |
static std::vector< std::string > | fCopiedCuts |
Cuts copied to the clipboard. |