Public Member Functions | |
QGuiRunStartWindow (const TGWindow *main, Int_t w, Int_t h, QGUIDataCollector &runInfo) | |
ctor | |
virtual | ~QGuiRunStartWindow () |
dtor | |
void | CloseWindow () |
close window and emit signal when the cancel button is clicked | |
void | HandleRun () |
slot function triggered when the change run button is clicked | |
void | HandleBasket () |
slot function triggered when change basket button is clicked | |
void | HandleRunType (Int_t id) |
slot function triggered when one of the run type buttons is clicked | |
void | HandleCancel () |
slot function triggered when the cancel button is clicked | |
void | HandleStart () |
slot function triggered when the start button is clicked | |
Private Member Functions | |
void | CreateFrames () |
void | MakeConnections () |
void | UpdateDisplay () |
std::string | GetComments () |
Private Attributes | |
QGUIDataCollector & | fRunInfo |
TGTextEntry * | fRunDisplay |
TGTextEntry * | fBasketDisplay |
TGTextEntry * | fBasketDescription |
TGTextButton * | fRunButton |
TGTextButton * | fBasketButton |
TGButtonGroup * | fRunTypeGroup |
TGTextEntry * | fMasterShifterDisplay |
QGuiComboBox * | fShifterSelector1 |
QGuiComboBox * | fShifterSelector2 |
TGTextButton * | fStartButton |
TGTextButton * | fCancelButton |
TGTextEdit * | fCommentsBox |
void QGuiRunStartWindow::CreateFrames | ( | ) | [private] |
create graphic frames
References QGuiComboBox::AddEntry(), fBasketButton, fBasketDescription, fBasketDisplay, fCancelButton, fCommentsBox, fMasterShifterDisplay, fRunButton, fRunDisplay, fRunInfo, fRunTypeGroup, fShifterSelector1, fShifterSelector2, fStartButton, QGUIDataCollector::GetListOfUsers(), and QGUIDataCollector::GetMasterShifter().
Referenced by QGuiRunStartWindow().
void QGuiRunStartWindow::MakeConnections | ( | ) | [private] |
perform signal/slot connections
References fBasketButton, fCancelButton, fRunButton, fRunTypeGroup, and fStartButton.
Referenced by QGuiRunStartWindow().
void QGuiRunStartWindow::UpdateDisplay | ( | ) | [private] |
update values displayed in the window
References fBasketDescription, fBasketDisplay, fMasterShifterDisplay, fRunDisplay, fRunInfo, fRunTypeGroup, QGUIDataCollector::GetMasterShifter(), QGUIDataCollector::GetRunNumber(), QGUIDataCollector::GetRunType(), QGUIDataCollector::GetSettingBasketId(), QGUIDataCollector::GetSettingBasketName(), QStringHandler::IntToString(), QDbDetector::RT_BACKGROUND, QDbDetector::RT_CALIBRATION, and QDbDetector::RT_TEST.
Referenced by HandleBasket(), and QGuiRunStartWindow().
std::string QGuiRunStartWindow::GetComments | ( | ) | [private] |
QGUIDataCollector& QGuiRunStartWindow::fRunInfo [private] |
used to store collected informations
Referenced by CreateFrames(), HandleBasket(), HandleRunType(), HandleStart(), QGuiRunStartWindow(), and UpdateDisplay().
TGTextEntry* QGuiRunStartWindow::fRunDisplay [private] |
run number display widget
Referenced by CreateFrames(), and UpdateDisplay().
TGTextEntry* QGuiRunStartWindow::fBasketDisplay [private] |
basket display widget
Referenced by CreateFrames(), and UpdateDisplay().
TGTextEntry* QGuiRunStartWindow::fBasketDescription [private] |
basket description display widget
Referenced by CreateFrames(), and UpdateDisplay().
TGTextButton* QGuiRunStartWindow::fRunButton [private] |
change run number button
Referenced by CreateFrames(), and MakeConnections().
TGTextButton* QGuiRunStartWindow::fBasketButton [private] |
change basket button
Referenced by CreateFrames(), and MakeConnections().
TGButtonGroup* QGuiRunStartWindow::fRunTypeGroup [private] |
run type selection button group
Referenced by CreateFrames(), MakeConnections(), and UpdateDisplay().
TGTextEntry* QGuiRunStartWindow::fMasterShifterDisplay [private] |
master shifter display widget
Referenced by CreateFrames(), and UpdateDisplay().
selector for normal shifter 1
Referenced by CreateFrames(), and HandleStart().
selector for normal shifter 1
Referenced by CreateFrames(), and HandleStart().
TGTextButton* QGuiRunStartWindow::fStartButton [private] |
measurement start button
Referenced by CreateFrames(), and MakeConnections().
TGTextButton* QGuiRunStartWindow::fCancelButton [private] |
cancel button
Referenced by CreateFrames(), and MakeConnections().
TGTextEdit* QGuiRunStartWindow::fCommentsBox [private] |
comments box
Referenced by CreateFrames(), and GetComments().