mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
clang format
This commit is contained in:
@ -449,36 +449,35 @@ void qDetectorMain::ExecuteHelp(QAction *action) {
|
||||
CATCH_DISPLAY("Could not get client version.",
|
||||
"qDetectorMain::ExecuteHelp")
|
||||
|
||||
qDefs::Message(qDefs::INFORMATION,
|
||||
"<p style=\"font-family:verdana;\">"
|
||||
qDefs::Message(
|
||||
qDefs::INFORMATION,
|
||||
"<p style=\"font-family:verdana;\">"
|
||||
|
||||
"<b>SLS Detector GUI version: " +
|
||||
guiVersion +
|
||||
"<br>SLS Detector Client version: " +
|
||||
clientVersion +
|
||||
"</b><br><br>"
|
||||
"<b>SLS Detector GUI version: " +
|
||||
guiVersion +
|
||||
"<br>SLS Detector Client version: " + clientVersion +
|
||||
"</b><br><br>"
|
||||
|
||||
"Common GUI to control the SLS Detectors: "
|
||||
"Jungfrau, Eiger, Mythen3, Gotthard, Gotthard2 and "
|
||||
"Moench.<br><br>"
|
||||
"Common GUI to control the SLS Detectors: "
|
||||
"Jungfrau, Eiger, Mythen3, Gotthard, Gotthard2 and "
|
||||
"Moench.<br><br>"
|
||||
|
||||
"It can be operated in parallel with the command "
|
||||
"line interface: sls_detector_put, sls_detector_get, "
|
||||
"sls_detector_acquire and sls_detector_help.<br><br>"
|
||||
"It can be operated in parallel with the command "
|
||||
"line interface: sls_detector_put, sls_detector_get, "
|
||||
"sls_detector_acquire and sls_detector_help.<br><br>"
|
||||
|
||||
"Support:<br>"
|
||||
"Dhanya.Thattil@psi.ch <br>"
|
||||
"Erik.Froejdh@psi.ch.<br><br><br>"
|
||||
|
||||
"Support:<br>"
|
||||
"Dhanya.Thattil@psi.ch <br>"
|
||||
"Erik.Froejdh@psi.ch.<br><br><br>"
|
||||
"<br>slsDetectorGui Copyright (C) 2021 Contributors to SLS "
|
||||
"Detector Package<br><br>"
|
||||
|
||||
"<br>slsDetectorGui Copyright (C) 2021 Contributors to SLS Detector Package<br><br>"
|
||||
"See COPYING in root folder for Licensing details:<br>"
|
||||
"LGPL-3.0-or-other"
|
||||
|
||||
"See COPYING in root folder for Licensing details:<br>"
|
||||
"LGPL-3.0-or-other"
|
||||
|
||||
|
||||
"<\\p>",
|
||||
"qDetectorMain::ExecuteHelp");
|
||||
"<\\p>",
|
||||
"qDetectorMain::ExecuteHelp");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -375,8 +375,8 @@ void qTabDataOutput::GetSpeed() {
|
||||
disconnect(comboClkDivider, SIGNAL(currentIndexChanged(int)), this,
|
||||
SLOT(SetSpeed(int)));
|
||||
try {
|
||||
auto retval =
|
||||
det->getReadoutSpeed().tsquash("Readout Speed is inconsistent for all detectors.");
|
||||
auto retval = det->getReadoutSpeed().tsquash(
|
||||
"Readout Speed is inconsistent for all detectors.");
|
||||
comboClkDivider->setCurrentIndex(static_cast<int>(retval));
|
||||
}
|
||||
CATCH_DISPLAY("Could not get readout speed.", "qTabDataOutput::GetSpeed")
|
||||
@ -390,8 +390,8 @@ void qTabDataOutput::SetSpeed(int speed) {
|
||||
try {
|
||||
det->setReadoutSpeed(static_cast<slsDetectorDefs::speedLevel>(speed));
|
||||
}
|
||||
CATCH_HANDLE("Could not set readout speed.", "qTabDataOutput::SetSpeed", this,
|
||||
&qTabDataOutput::GetSpeed)
|
||||
CATCH_HANDLE("Could not set readout speed.", "qTabDataOutput::SetSpeed",
|
||||
this, &qTabDataOutput::GetSpeed)
|
||||
}
|
||||
|
||||
void qTabDataOutput::GetParallel() {
|
||||
|
@ -128,8 +128,8 @@ void qTabSettings::SetupDetectorSettings() {
|
||||
item[(int)it]->setEnabled(true);
|
||||
}
|
||||
}
|
||||
CATCH_DISPLAY(std::string("Could not setup settings"),
|
||||
"qTabSettings::SetupDetectorSettings")
|
||||
CATCH_DISPLAY(std::string("Could not setup settings"),
|
||||
"qTabSettings::SetupDetectorSettings")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user