10 #ifndef EVDB_SCANWINDOW_H 11 #define EVDB_SCANWINDOW_H 13 #include "nutools/EventDisplayBase/Canvas.h" 14 #include "RQ_OBJECT.h" 29 class TGCompositeFrame;
42 RQ_OBJECT(
"evdb::ScanFrame")
87 RQ_OBJECT(
"evdb::ScanWindow")
98 void BuildButtonBar(TGHorizontalFrame*
f);
99 void BuildUserFields(TGCompositeFrame* f);
100 void OpenOutputFile();
129 #endif //EVD_SCANVIEW_H TGTextButton * fNextButton
TGLayoutHints * fFieldFrameHints
Helper class to setup scroll bars in evdb::ScanWindow.
void Record(std::string outfilename, const char *comments)
TGLayoutHints * fCatFrameLH
std::vector< TGTextEntry * > fTextBoxes
Text box fields.
std::vector< TGCheckButton * > fCheckButtons
Check button fields.
std::string fOutFileName
Output file name for scan results.
Manage all things related to colors for the event display.
TGTextEntry * fCommentEntry
std::vector< int > fRadioButtonIds
Ids for the radio buttons.
TGLayoutHints * fFrameHints
TGLayoutHints * fButtonBarHints
std::vector< TGNumberEntry * > fNumberBoxes
Number box fields.
TGLayoutHints * fUserFieldsHints
void HandleMouseWheel(Event_t *event)
TGLayoutHints * fButtonBarHintsL
TGCanvas * fUserFieldsCanvas
Scrollable frame for all user defined fields.
void SetCanvas(TGCanvas *canvas)
TGHorizontalFrame * fButtonBar
Frame to hold the buttons at the bottom of the window.
ScanFrame * fScanFrame
The frame containing the scanner check boxes etc.
TGTextButton * fPrevButton
TGGroupFrame * GetFrame() const
std::vector< TGGroupFrame * > fCatFrames
Mother for a category.
TGTextButton * fRcrdButton
std::vector< TGLabel * > fNumberLabels
Label for number fields.
TGCompositeFrame * fUserFieldsFrame
vector< string > comments
TGLayoutHints * fButtonBarHintsR
std::vector< TGRadioButton * > fRadioButtons
Radio button fields.
Event finding and building.
ScanFrame(TGCompositeFrame *f)
std::vector< TGHorizontalFrame * > fFieldFrames
Mother for each field.
TGLayoutHints * fButtonBarHintsC