10 #ifndef EVDB_SCANWINDOW_H 11 #define EVDB_SCANWINDOW_H 14 #include "RQ_OBJECT.h" 29 class TGCompositeFrame;
42 RQ_OBJECT(
"evdb::ScanFrame")
54 void Record(std::string outfilename,
55 const char* comments);
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
Base class for define a detector display.
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
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