Public Member Functions | |
QGuiRunStopWindow (const TGWindow *main, Int_t w, Int_t h, QGUIDataCollector &runInfo) | |
ctor | |
virtual | ~QGuiRunStopWindow () |
dtor | |
void | CloseWindow () |
close window and emit signal when the cancel button is clicked | |
void | HandleCancel () |
slot function triggered when the cancel button is clicked | |
void | HandleStop () |
slot function triggered when the start button is clicked | |
void | HandleStopStatus (Int_t id) |
slot function triggered when one of the stop status buttons is clicked | |
Private Member Functions | |
void | CreateFrames () |
void | MakeConnections () |
std::string | GetComments () |
Private Attributes | |
QGUIDataCollector & | fRunInfo |
TGTextButton * | fStopButton |
TGTextButton * | fCancelButton |
TGTextEdit * | fCommentsBox |
TGTextEntry * | fMasterShifterDisplay |
TGButtonGroup * | fStopStatusGroup |
QGuiComboBox * | fShifterSelector1 |
QGuiComboBox * | fShifterSelector2 |
int | fStopStatus |
void QGuiRunStopWindow::CreateFrames | ( | ) | [private] |
create graphic frames
References QGuiComboBox::AddEntry(), fCancelButton, fCommentsBox, fMasterShifterDisplay, fRunInfo, fShifterSelector1, fShifterSelector2, fStopButton, fStopStatusGroup, QGUIDataCollector::GetListOfUsers(), and QGUIDataCollector::GetMasterShifter().
Referenced by QGuiRunStopWindow().
void QGuiRunStopWindow::MakeConnections | ( | ) | [private] |
perform signal/slot connections
References fCancelButton, fStopButton, and fStopStatusGroup.
Referenced by QGuiRunStopWindow().
std::string QGuiRunStopWindow::GetComments | ( | ) | [private] |
QGUIDataCollector& QGuiRunStopWindow::fRunInfo [private] |
used to store collected informations
Referenced by CreateFrames(), HandleStop(), and QGuiRunStopWindow().
TGTextButton* QGuiRunStopWindow::fStopButton [private] |
measurement stop button
Referenced by CreateFrames(), and MakeConnections().
TGTextButton* QGuiRunStopWindow::fCancelButton [private] |
cancel button
Referenced by CreateFrames(), and MakeConnections().
TGTextEdit* QGuiRunStopWindow::fCommentsBox [private] |
comments box
Referenced by CreateFrames(), GetComments(), and HandleStop().
TGTextEntry* QGuiRunStopWindow::fMasterShifterDisplay [private] |
master shifter display widget
Referenced by CreateFrames().
TGButtonGroup* QGuiRunStopWindow::fStopStatusGroup [private] |
slect among possible stop statuses
Referenced by CreateFrames(), and MakeConnections().
QGuiComboBox* QGuiRunStopWindow::fShifterSelector1 [private] |
selector for normal shifter 1
Referenced by CreateFrames(), and HandleStop().
QGuiComboBox* QGuiRunStopWindow::fShifterSelector2 [private] |
selector for normal shifter 1
Referenced by CreateFrames(), and HandleStop().
int QGuiRunStopWindow::fStopStatus [private] |
stop status to be associated to the measurement
Referenced by HandleStop(), and HandleStopStatus().