|
ATLAS Offline Software
|
#include <GuideSysController.h>
|
template<class T > |
bool | changed (T &lastval, const T &newval) |
|
template<class T > |
void | initDialog (T &theUI, QPushButton *launchbutton, QAbstractButton *enabledButton=0) |
|
void | initDialog (QWidget *dialog, QPushButton *launchbutton, QPushButton *closebutton, QAbstractButton *enabledButton=0) |
|
void | setupCollWidgetInScrollArea (QScrollArea *scrollarea, VP1CollectionWidget *collWidget) |
|
const char * | addUpdateSlot (const char *slot) |
|
void | connectToLastUpdateSlot (QObject *sender, const char *signal) |
|
void | connectToLastUpdateSlot (QCheckBox *) |
|
void | connectToLastUpdateSlot (QComboBox *) |
|
void | connectToLastUpdateSlot (QGroupBox *) |
|
void | connectToLastUpdateSlot (QSpinBox *) |
|
void | connectToLastUpdateSlot (QDoubleSpinBox *) |
|
void | connectToLastUpdateSlot (QRadioButton *) |
|
void | connectToLastUpdateSlot (QButtonGroup *) |
|
void | connectToLastUpdateSlot (QSlider *) |
|
void | connectToLastUpdateSlot (VP1ColorSelectButton *) |
|
bool | initVarsMode () const |
|
QButtonGroup * | defineRadioButtonGroup (QRadioButton *rb0, QRadioButton *rb1, QRadioButton *rb2=0, QRadioButton *rb3=0, QRadioButton *rb4=0, QRadioButton *rb5=0, QRadioButton *rb6=0, QRadioButton *rb7=0, QRadioButton *rb8=0, QRadioButton *rb9=0) |
|
QButtonGroup * | defineRadioButtonGroup (QList< QRadioButton * >) |
|
SoMaterial * | getMaterial (VP1MaterialButton *) const |
|
SoMaterial * | fallBackMaterial () const |
|
void | setHelperClassName (const QString &n) |
|
Definition at line 31 of file GuideSysController.h.
◆ GuideSysController()
GuideSysController::GuideSysController |
( |
IVP1System * |
sys | ) |
|
◆ ~GuideSysController()
GuideSysController::~GuideSysController |
( |
| ) |
|
|
virtual |
◆ actualRestoreSettings()
Implements VP1Controller.
Definition at line 972 of file GuideSysController.cxx.
974 if (
s.version()<0||
s.version()>2) {
975 message(
"Warning: State data in .vp1 file has unsupported version ("+
str(
s.version())+
")");
1007 s.restore(
m_d->
ui_axes.checkBox_axes_shownegativeparts);
1008 s.restore(
m_d->
ui_axes.doubleSpinBox_axes_lengths_m);
1009 s.restore(
m_d->
ui_axes.doubleSpinBox_axes_relthickness);
1010 s.restore(
m_d->
ui_axes.doubleSpinBox_axes_xpos_m);
1011 s.restore(
m_d->
ui_axes.doubleSpinBox_axes_ypos_m);
1012 s.restore(
m_d->
ui_axes.doubleSpinBox_axes_zpos_m);
1014 s.restore(
m_d->
ui_grid.doubleSpinBox_gridspacing);
1065 if (
s.version()>=1) {
1066 s.restore(
m_d->
ui.checkBox_coordinateAxes);
1067 s.restore(
m_d->
ui.checkBox_etaCones);
1068 s.restore(
m_d->
ui.checkBox_floorAndLetters);
1069 s.restore(
m_d->
ui.checkBox_grid);
1070 s.restore(
m_d->
ui.checkBox_inDetProjSurfs);
1073 if (
s.version()>=2) {
1074 s.restore(
m_d->
ui.checkBox_trkVolumes);
1082 if (
s.version()>=3) {
1083 s.restore(
m_d->
ui.checkBox_lines);
1091 if (
s.version()>=3) {
1092 s.restore(
m_d->
ui.checkBox_people);
◆ actualSaveSettings()
void GuideSysController::actualSaveSettings |
( |
VP1Serialise & |
s | ) |
const |
|
virtual |
◆ addUpdateSlot()
const char * VP1Controller::addUpdateSlot |
( |
const char * |
slot | ) |
|
|
protectedinherited |
◆ applicablePixelProjParts()
InDetProjFlags::InDetProjPartsFlags GuideSysController::applicablePixelProjParts |
( |
| ) |
const |
◆ applicablePixelProjPartsChanged
void GuideSysController::applicablePixelProjPartsChanged |
( |
InDetProjFlags::InDetProjPartsFlags |
| ) |
|
|
signal |
◆ applicableSCTProjParts()
InDetProjFlags::InDetProjPartsFlags GuideSysController::applicableSCTProjParts |
( |
| ) |
const |
◆ applicableSCTProjPartsChanged
void GuideSysController::applicableSCTProjPartsChanged |
( |
InDetProjFlags::InDetProjPartsFlags |
| ) |
|
|
signal |
◆ applicableTRTProjParts()
InDetProjFlags::InDetProjPartsFlags GuideSysController::applicableTRTProjParts |
( |
| ) |
const |
◆ applicableTRTProjPartsChanged
void GuideSysController::applicableTRTProjPartsChanged |
( |
InDetProjFlags::InDetProjPartsFlags |
| ) |
|
|
signal |
◆ axesLength()
double GuideSysController::axesLength |
( |
| ) |
const |
◆ axesLengthChanged
void GuideSysController::axesLengthChanged |
( |
const double & |
| ) |
|
|
signal |
◆ axesPosition()
SbVec3f GuideSysController::axesPosition |
( |
| ) |
const |
◆ axesPositionChanged
void GuideSysController::axesPositionChanged |
( |
const SbVec3f & |
| ) |
|
|
signal |
◆ caloTrkVolumesMaterial()
SoMaterial * GuideSysController::caloTrkVolumesMaterial |
( |
| ) |
const |
◆ changed()
template<class T >
bool VP1Controller::changed |
( |
T & |
lastval, |
|
|
const T & |
newval |
|
) |
| |
|
protectedinherited |
◆ collWidgetContentChanged
void VP1Controller::collWidgetContentChanged |
( |
| ) |
|
|
slotinherited |
Definition at line 232 of file VP1Controller.cxx.
235 message(
"ERROR: Unexpected signal in collWidgetContentChanged slot!!");
238 QScrollArea* scrollarea =
dynamic_cast<QScrollArea*
>(
m_d->
collWidget->parent());
240 scrollarea =
dynamic_cast<QScrollArea*
>(
m_d->
collWidget->parent()->parent());
242 message(
"ERROR: m_d->collWidget not child or grandchild of a scroll area!!");
248 QScrollBar *
sb = scrollarea->verticalScrollBar();
251 scrollarea->setMinimumWidth(
width+2);
◆ connectToLastUpdateSlot() [1/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QButtonGroup * |
bg | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [2/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QCheckBox * |
cb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [3/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QComboBox * |
cb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [4/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QDoubleSpinBox * |
dsb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [5/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QGroupBox * |
gb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [6/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QObject * |
sender, |
|
|
const char * |
signal |
|
) |
| |
|
protectedinherited |
◆ connectToLastUpdateSlot() [7/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QRadioButton * |
rb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [8/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QSlider * |
s | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [9/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QSpinBox * |
sb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [10/10]
◆ currentSettingsVersion()
int GuideSysController::currentSettingsVersion |
( |
| ) |
const |
|
virtual |
◆ customTourEditor()
◆ defineRadioButtonGroup() [1/2]
QButtonGroup * VP1Controller::defineRadioButtonGroup |
( |
QList< QRadioButton * > |
l | ) |
|
|
protectedinherited |
Definition at line 300 of file VP1Controller.cxx.
302 QRadioButton * rb_checked(0);
303 for (QRadioButton *
rb :
l) {
304 if (
rb->isChecked()) {
309 QButtonGroup * radiogroup =
new QButtonGroup(
this);
310 for (QRadioButton *
rb :
l)
311 radiogroup->addButton(
rb);
313 rb_checked->setChecked(
true);
◆ defineRadioButtonGroup() [2/2]
QButtonGroup * VP1Controller::defineRadioButtonGroup |
( |
QRadioButton * |
rb0, |
|
|
QRadioButton * |
rb1, |
|
|
QRadioButton * |
rb2 = 0 , |
|
|
QRadioButton * |
rb3 = 0 , |
|
|
QRadioButton * |
rb4 = 0 , |
|
|
QRadioButton * |
rb5 = 0 , |
|
|
QRadioButton * |
rb6 = 0 , |
|
|
QRadioButton * |
rb7 = 0 , |
|
|
QRadioButton * |
rb8 = 0 , |
|
|
QRadioButton * |
rb9 = 0 |
|
) |
| |
|
protectedinherited |
Definition at line 288 of file VP1Controller.cxx.
293 QList<QRadioButton *>
l;
294 l << rb0 << rb1 << rb2 << rb3 << rb4 << rb5 << rb6 << rb7 << rb8 << rb9;
◆ dummyUpdateTrigger
void VP1Controller::dummyUpdateTrigger |
( |
| ) |
|
|
signalinherited |
◆ enabledButtonStateChanged
void VP1Controller::enabledButtonStateChanged |
( |
| ) |
|
|
slotinherited |
Definition at line 167 of file VP1Controller.cxx.
169 Imp::DialogInfo * di(0);
171 if (di2->enabledButton==sender()) {
177 message(
"ERROR: enabledButtonStateChanged() triggered with unrecognised sender() ="
178 +QString(sender()?sender()->objectName():
"NULL"));
182 bool on(di->enabledButton->isChecked());
183 if (di->launchButton->isEnabled()!=on)
184 di->launchButton->setEnabled(on);
186 if (di->dialogWidget->isVisible())
187 di->dialogWidget->setVisible(
false);
188 if (di->dialogWidget->windowState()==Qt::WindowMinimized)
189 di->dialogWidget->setWindowState(Qt::WindowNoState);
◆ etaCone1Material()
SoMaterial * GuideSysController::etaCone1Material |
( |
| ) |
const |
◆ etaCone2Material()
SoMaterial * GuideSysController::etaCone2Material |
( |
| ) |
const |
◆ etaCone3Material()
SoMaterial * GuideSysController::etaCone3Material |
( |
| ) |
const |
◆ etaConeValue1()
double GuideSysController::etaConeValue1 |
( |
| ) |
const |
◆ etaConeValue1Changed
void GuideSysController::etaConeValue1Changed |
( |
const double & |
| ) |
|
|
signal |
◆ etaConeValue2()
double GuideSysController::etaConeValue2 |
( |
| ) |
const |
◆ etaConeValue2Changed
void GuideSysController::etaConeValue2Changed |
( |
const double & |
| ) |
|
|
signal |
◆ etaConeValue3()
double GuideSysController::etaConeValue3 |
( |
| ) |
const |
◆ etaConeValue3Changed
void GuideSysController::etaConeValue3Changed |
( |
const double & |
| ) |
|
|
signal |
◆ etaExtent()
double GuideSysController::etaExtent |
( |
| ) |
const |
◆ etaExtentChanged
void GuideSysController::etaExtentChanged |
( |
const double & |
| ) |
|
|
signal |
◆ fallBackMaterial()
SoMaterial * VP1Controller::fallBackMaterial |
( |
| ) |
const |
|
protectedinherited |
◆ floorColourAndTransp()
SbColor4f GuideSysController::floorColourAndTransp |
( |
| ) |
const |
◆ floorColourAndTranspChanged
void GuideSysController::floorColourAndTranspChanged |
( |
const SbColor4f & |
| ) |
|
|
signal |
◆ floorExtent()
double GuideSysController::floorExtent |
( |
| ) |
const |
◆ floorExtentChanged
void GuideSysController::floorExtentChanged |
( |
const double & |
| ) |
|
|
signal |
◆ floorHeight()
double GuideSysController::floorHeight |
( |
| ) |
const |
◆ floorHeightChanged
void GuideSysController::floorHeightChanged |
( |
const double & |
| ) |
|
|
signal |
◆ floorSpacing()
double GuideSysController::floorSpacing |
( |
| ) |
const |
◆ floorSpacingChanged
void GuideSysController::floorSpacingChanged |
( |
const double & |
| ) |
|
|
signal |
◆ getMaterial()
Definition at line 437 of file VP1Controller.cxx.
440 message(
"ERROR: Null material button pointer");
443 QList<SoMaterial*> mats =
mb->handledMaterials();
444 if (mats.count()!=1) {
445 message(
"ERROR: No material in button "+
mb->objectName());
◆ gridColourAndTransp()
SbColor4f GuideSysController::gridColourAndTransp |
( |
| ) |
const |
◆ gridColourAndTranspChanged
void GuideSysController::gridColourAndTranspChanged |
( |
const SbColor4f & |
| ) |
|
|
signal |
◆ gridExtent()
double GuideSysController::gridExtent |
( |
| ) |
const |
◆ gridExtentChanged
void GuideSysController::gridExtentChanged |
( |
const double & |
| ) |
|
|
signal |
◆ gridSpacing()
double GuideSysController::gridSpacing |
( |
| ) |
const |
◆ gridSpacingChanged
void GuideSysController::gridSpacingChanged |
( |
const double & |
| ) |
|
|
signal |
◆ helperClassName()
QString VP1HelperClassBase::helperClassName |
( |
| ) |
const |
|
inlineinherited |
◆ idTrkVolumesMaterial()
SoMaterial * GuideSysController::idTrkVolumesMaterial |
( |
| ) |
const |
◆ initDialog() [1/2]
void VP1Controller::initDialog |
( |
QWidget * |
dialog, |
|
|
QPushButton * |
launchbutton, |
|
|
QPushButton * |
closebutton, |
|
|
QAbstractButton * |
enabledButton = 0 |
|
) |
| |
|
protectedinherited |
Definition at line 123 of file VP1Controller.cxx.
125 QString txt(enabledButton?enabledButton->text():launchButton->text());
126 txt.replace(
"&&",
"&");
128 dialog->setWindowIcon(QIcon(QString(
":/vp1/icons/icons/3d_32x32.png")));
129 launchButton->setMaximumHeight(
static_cast<int>(0.5+QFontMetricsF(launchButton->font()).height()*1.05+2));
130 launchButton->setMinimumHeight(launchButton->maximumHeight());
131 launchButton->setCheckable(
true);
133 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
134 sizePolicy.setHorizontalStretch(0);
135 sizePolicy.setVerticalStretch(0);
136 sizePolicy.setHeightForWidth(launchButton->sizePolicy().hasHeightForWidth());
137 launchButton->setSizePolicy(sizePolicy);
138 launchButton->setFocusPolicy(Qt::NoFocus);
141 launchButton->setEnabled(enabledButton->isChecked());
143 m_d->
dialogs <<
new Imp::DialogInfo(launchButton,dialog,enabledButton);
149 dialog->installEventFilter(closeEventEater);
152 closeButton->setText(
"&Close");
153 closeButton->setToolTip(
"Close this dialog [Esc]");
154 connect(closeButton,SIGNAL(clicked()),dialog,SLOT(close()));
156 connect(
new QShortcut(QKeySequence(Qt::Key_Escape), dialog),SIGNAL(activated()),dialog,SLOT(close()));
161 maxwidth =
std::max(maxwidth,di->launchButton->sizeHint().width());
163 di->launchButton->setMinimumWidth(maxwidth);
◆ initDialog() [2/2]
template<class T >
void VP1Controller::initDialog |
( |
T & |
theUI, |
|
|
QPushButton * |
launchbutton, |
|
|
QAbstractButton * |
enabledButton = 0 |
|
) |
| |
|
protectedinherited |
Definition at line 144 of file VP1Controller.h.
145 QWidget *
w =
new QWidget(0,Qt::WindowStaysOnTopHint);
147 initDialog(
w, launchbutton, theUI.pushButton_close,enabledButton);
◆ initLastVars()
void VP1Controller::initLastVars |
( |
| ) |
|
|
inherited |
◆ initVarsMode()
bool VP1Controller::initVarsMode |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lettersMaterial()
SoMaterial * GuideSysController::lettersMaterial |
( |
| ) |
const |
◆ lettersVerticalPos()
double GuideSysController::lettersVerticalPos |
( |
| ) |
const |
◆ lettersVerticalPosChanged
void GuideSysController::lettersVerticalPosChanged |
( |
const double & |
| ) |
|
|
signal |
◆ lettersZPos()
double GuideSysController::lettersZPos |
( |
| ) |
const |
◆ lettersZPosChanged
void GuideSysController::lettersZPosChanged |
( |
const double & |
| ) |
|
|
signal |
◆ lineDirection()
SbVec3f GuideSysController::lineDirection |
( |
| ) |
const |
◆ lineDirectionChanged
void GuideSysController::lineDirectionChanged |
( |
const SbVec3f & |
| ) |
|
|
signal |
◆ lineLength()
double GuideSysController::lineLength |
( |
| ) |
const |
◆ message() [1/3]
void VP1HelperClassBase::message |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ message() [2/3]
void VP1HelperClassBase::message |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ message() [3/3]
void VP1HelperClassBase::message |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageDebug() [1/3]
void VP1HelperClassBase::messageDebug |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageDebug() [2/3]
void VP1HelperClassBase::messageDebug |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageDebug() [3/3]
void VP1HelperClassBase::messageDebug |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageVerbose() [1/3]
void VP1HelperClassBase::messageVerbose |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageVerbose() [2/3]
void VP1HelperClassBase::messageVerbose |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageVerbose() [3/3]
void VP1HelperClassBase::messageVerbose |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ msTrkVolumesMaterial()
SoMaterial * GuideSysController::msTrkVolumesMaterial |
( |
| ) |
const |
◆ peopleColourAndTransp()
SbColor4f GuideSysController::peopleColourAndTransp |
( |
| ) |
const |
◆ peopleColourAndTranspChanged
void GuideSysController::peopleColourAndTranspChanged |
( |
const SbColor4f & |
| ) |
|
|
signal |
◆ peopleMaterial()
SoMaterial * GuideSysController::peopleMaterial |
( |
| ) |
const |
◆ peopleVerticalPos()
double GuideSysController::peopleVerticalPos |
( |
| ) |
const |
◆ peopleVerticalPosChanged
void GuideSysController::peopleVerticalPosChanged |
( |
const double & |
| ) |
|
|
signal |
◆ peopleZPos()
double GuideSysController::peopleZPos |
( |
| ) |
const |
◆ pixelProjSurfMaterial()
SoMaterial * GuideSysController::pixelProjSurfMaterial |
( |
| ) |
const |
◆ possibleChange_applicablePixelProjParts
void GuideSysController::possibleChange_applicablePixelProjParts |
( |
| ) |
|
|
privateslot |
◆ possibleChange_applicableSCTProjParts
void GuideSysController::possibleChange_applicableSCTProjParts |
( |
| ) |
|
|
privateslot |
◆ possibleChange_applicableTRTProjParts
void GuideSysController::possibleChange_applicableTRTProjParts |
( |
| ) |
|
|
privateslot |
◆ possibleChange_axesLength
void GuideSysController::possibleChange_axesLength |
( |
| ) |
|
|
privateslot |
◆ possibleChange_axesPosition
void GuideSysController::possibleChange_axesPosition |
( |
| ) |
|
|
privateslot |
◆ possibleChange_etaConeValue1
void GuideSysController::possibleChange_etaConeValue1 |
( |
| ) |
|
|
privateslot |
◆ possibleChange_etaConeValue2
void GuideSysController::possibleChange_etaConeValue2 |
( |
| ) |
|
|
privateslot |
◆ possibleChange_etaConeValue3
void GuideSysController::possibleChange_etaConeValue3 |
( |
| ) |
|
|
privateslot |
◆ possibleChange_etaExtent
void GuideSysController::possibleChange_etaExtent |
( |
| ) |
|
|
privateslot |
◆ possibleChange_floorColourAndTransp
void GuideSysController::possibleChange_floorColourAndTransp |
( |
| ) |
|
|
privateslot |
◆ possibleChange_floorExtent
void GuideSysController::possibleChange_floorExtent |
( |
| ) |
|
|
privateslot |
◆ possibleChange_floorHeight
void GuideSysController::possibleChange_floorHeight |
( |
| ) |
|
|
privateslot |
◆ possibleChange_floorSpacing
void GuideSysController::possibleChange_floorSpacing |
( |
| ) |
|
|
privateslot |
◆ possibleChange_gridColourAndTransp
void GuideSysController::possibleChange_gridColourAndTransp |
( |
| ) |
|
|
privateslot |
◆ possibleChange_gridExtent
void GuideSysController::possibleChange_gridExtent |
( |
| ) |
|
|
privateslot |
◆ possibleChange_gridSpacing
void GuideSysController::possibleChange_gridSpacing |
( |
| ) |
|
|
privateslot |
◆ possibleChange_lettersVerticalPos
void GuideSysController::possibleChange_lettersVerticalPos |
( |
| ) |
|
|
privateslot |
◆ possibleChange_lettersZPos
void GuideSysController::possibleChange_lettersZPos |
( |
| ) |
|
|
privateslot |
◆ possibleChange_lineDirection
void GuideSysController::possibleChange_lineDirection |
( |
| ) |
|
|
privateslot |
◆ possibleChange_peopleColourAndTransp
void GuideSysController::possibleChange_peopleColourAndTransp |
( |
| ) |
|
|
privateslot |
◆ possibleChange_peopleVerticalPos
void GuideSysController::possibleChange_peopleVerticalPos |
( |
| ) |
|
|
privateslot |
◆ possibleChange_relAxesThickness
void GuideSysController::possibleChange_relAxesThickness |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showAxes
void GuideSysController::possibleChange_showAxes |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showCalorimeters
void GuideSysController::possibleChange_showCalorimeters |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showCartesianGrid
void GuideSysController::possibleChange_showCartesianGrid |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showCylindricalGrid
void GuideSysController::possibleChange_showCylindricalGrid |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showEtaCone1
void GuideSysController::possibleChange_showEtaCone1 |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showEtaCone2
void GuideSysController::possibleChange_showEtaCone2 |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showEtaCone3
void GuideSysController::possibleChange_showEtaCone3 |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showFloor
void GuideSysController::possibleChange_showFloor |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showInnerDetector
void GuideSysController::possibleChange_showInnerDetector |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showLetters
void GuideSysController::possibleChange_showLetters |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showLines
void GuideSysController::possibleChange_showLines |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showMuonSpectrometer
void GuideSysController::possibleChange_showMuonSpectrometer |
( |
| ) |
|
|
privateslot |
◆ possibleChange_shownPixelProjSurfaces
void GuideSysController::possibleChange_shownPixelProjSurfaces |
( |
| ) |
|
|
privateslot |
◆ possibleChange_shownSCTProjSurfaces
void GuideSysController::possibleChange_shownSCTProjSurfaces |
( |
| ) |
|
|
privateslot |
◆ possibleChange_shownTRTProjSurfaces
void GuideSysController::possibleChange_shownTRTProjSurfaces |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showPeople
void GuideSysController::possibleChange_showPeople |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showTrackingVolumes
void GuideSysController::possibleChange_showTrackingVolumes |
( |
| ) |
|
|
privateslot |
◆ relAxesThickness()
double GuideSysController::relAxesThickness |
( |
| ) |
const |
◆ relAxesThicknessChanged
void GuideSysController::relAxesThicknessChanged |
( |
const double & |
| ) |
|
|
signal |
◆ restoreSettings()
void VP1Controller::restoreSettings |
( |
QByteArray |
ba | ) |
|
|
inherited |
Definition at line 387 of file VP1Controller.cxx.
397 s.warnUnrestored((QWidget*)(
this));
399 s.warnUnrestored(di->dialogWidget);
◆ saveSettings()
QByteArray VP1Controller::saveSettings |
( |
| ) |
const |
|
inherited |
Definition at line 405 of file VP1Controller.cxx.
418 s.warnUnsaved((QWidget*)(
this));
420 s.warnUnsaved(di->dialogWidget);
◆ sctProjSurfMaterial()
SoMaterial * GuideSysController::sctProjSurfMaterial |
( |
| ) |
const |
◆ setCustomTourEditor()
◆ setHelperClassName()
void VP1HelperClassBase::setHelperClassName |
( |
const QString & |
n | ) |
|
|
inlineprotectedinherited |
◆ setInDetDetTypesUsingProjections()
void GuideSysController::setInDetDetTypesUsingProjections |
( |
InDetProjFlags::DetTypeFlags |
f | ) |
|
◆ setSystemBasePointer()
void VP1HelperClassBase::setSystemBasePointer |
( |
IVP1System * |
sys | ) |
|
|
inherited |
◆ setupCollWidgetInScrollArea()
void VP1Controller::setupCollWidgetInScrollArea |
( |
QScrollArea * |
scrollarea, |
|
|
VP1CollectionWidget * |
collWidget |
|
) |
| |
|
protectedinherited |
Definition at line 255 of file VP1Controller.cxx.
257 if (!scrollarea || !collWidget) {
258 message(
"ERROR: NULL scrollarea or collWidget");
261 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
262 sizePolicy.setHorizontalStretch(0);
263 sizePolicy.setVerticalStretch(scrollarea->sizePolicy().verticalStretch());
264 sizePolicy.setHeightForWidth(scrollarea->sizePolicy().hasHeightForWidth());
265 scrollarea->setSizePolicy(sizePolicy);
267 collWidget->setContentsMargins(0,0,0,0);
268 if (!collWidget->children().isEmpty()&&collWidget->children().at(0)->isWidgetType()) {
269 static_cast<QWidget*
>(collWidget->children().at(0))->setContentsMargins(0,0,0,0);
271 scrollarea->setContentsMargins(0,0,0,0);
273 scrollarea->setWidgetResizable(
true);
274 scrollarea->setFrameShape(QFrame::NoFrame);
275 scrollarea->setFrameShadow(QFrame::Plain);
276 collWidget->setParent(scrollarea);
277 scrollarea->setWidget(collWidget);
278 scrollarea->viewport()->setContentsMargins(0,0,0,0);
279 scrollarea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
280 collWidget->setObjectName(objectName()+
"_CollWidget");
281 scrollarea->setObjectName(objectName()+
"_CollWidgetScrollArea");
◆ showAxes()
bool GuideSysController::showAxes |
( |
| ) |
const |
◆ showAxesChanged
void GuideSysController::showAxesChanged |
( |
bool |
| ) |
|
|
signal |
◆ showCalorimeters()
bool GuideSysController::showCalorimeters |
( |
| ) |
const |
◆ showCalorimetersChanged
void GuideSysController::showCalorimetersChanged |
( |
bool |
| ) |
|
|
signal |
◆ showCartesianGrid()
bool GuideSysController::showCartesianGrid |
( |
| ) |
const |
◆ showCartesianGridChanged
void GuideSysController::showCartesianGridChanged |
( |
bool |
| ) |
|
|
signal |
◆ showCylindricalGrid()
bool GuideSysController::showCylindricalGrid |
( |
| ) |
const |
◆ showCylindricalGridChanged
void GuideSysController::showCylindricalGridChanged |
( |
bool |
| ) |
|
|
signal |
◆ showEtaCone1()
bool GuideSysController::showEtaCone1 |
( |
| ) |
const |
◆ showEtaCone1Changed
void GuideSysController::showEtaCone1Changed |
( |
bool |
| ) |
|
|
signal |
◆ showEtaCone2()
bool GuideSysController::showEtaCone2 |
( |
| ) |
const |
◆ showEtaCone2Changed
void GuideSysController::showEtaCone2Changed |
( |
bool |
| ) |
|
|
signal |
◆ showEtaCone3()
bool GuideSysController::showEtaCone3 |
( |
| ) |
const |
◆ showEtaCone3Changed
void GuideSysController::showEtaCone3Changed |
( |
bool |
| ) |
|
|
signal |
◆ showFloor()
bool GuideSysController::showFloor |
( |
| ) |
const |
◆ showFloorChanged
void GuideSysController::showFloorChanged |
( |
bool |
| ) |
|
|
signal |
◆ showInnerDetector()
bool GuideSysController::showInnerDetector |
( |
| ) |
const |
◆ showInnerDetectorChanged
void GuideSysController::showInnerDetectorChanged |
( |
bool |
| ) |
|
|
signal |
◆ showLetters()
bool GuideSysController::showLetters |
( |
| ) |
const |
◆ showLettersChanged
void GuideSysController::showLettersChanged |
( |
bool |
| ) |
|
|
signal |
◆ showLines()
bool GuideSysController::showLines |
( |
| ) |
const |
◆ showLinesChanged
void GuideSysController::showLinesChanged |
( |
bool |
| ) |
|
|
signal |
◆ showMuonSpectrometer()
bool GuideSysController::showMuonSpectrometer |
( |
| ) |
const |
◆ showMuonSpectrometerChanged
void GuideSysController::showMuonSpectrometerChanged |
( |
bool |
| ) |
|
|
signal |
◆ shownPixelProjSurfaces()
InDetProjFlags::InDetProjPartsFlags GuideSysController::shownPixelProjSurfaces |
( |
| ) |
const |
◆ shownPixelProjSurfacesChanged
void GuideSysController::shownPixelProjSurfacesChanged |
( |
InDetProjFlags::InDetProjPartsFlags |
| ) |
|
|
signal |
◆ shownSCTProjSurfaces()
InDetProjFlags::InDetProjPartsFlags GuideSysController::shownSCTProjSurfaces |
( |
| ) |
const |
◆ shownSCTProjSurfacesChanged
void GuideSysController::shownSCTProjSurfacesChanged |
( |
InDetProjFlags::InDetProjPartsFlags |
| ) |
|
|
signal |
◆ shownTRTProjSurfaces()
InDetProjFlags::InDetProjPartsFlags GuideSysController::shownTRTProjSurfaces |
( |
| ) |
const |
◆ shownTRTProjSurfacesChanged
void GuideSysController::shownTRTProjSurfacesChanged |
( |
InDetProjFlags::InDetProjPartsFlags |
| ) |
|
|
signal |
◆ showPeople()
bool GuideSysController::showPeople |
( |
| ) |
const |
◆ showPeopleChanged
void GuideSysController::showPeopleChanged |
( |
bool |
| ) |
|
|
signal |
◆ showTrackingVolumes()
bool GuideSysController::showTrackingVolumes |
( |
| ) |
const |
◆ showTrackingVolumesChanged
void GuideSysController::showTrackingVolumesChanged |
( |
bool |
| ) |
|
|
signal |
◆ str() [1/30]
◆ str() [2/30]
static QString VP1String::str |
( |
const bool |
b | ) |
|
|
inlinestaticinherited |
Definition at line 53 of file VP1String.h.
53 {
return b?
"True":
"False"; }
◆ str() [3/30]
static QString VP1String::str |
( |
const char * |
c | ) |
|
|
inlinestaticinherited |
◆ str() [4/30]
static QString VP1String::str |
( |
const double & |
d | ) |
|
|
inlinestaticinherited |
◆ str() [5/30]
static QString VP1String::str |
( |
const float & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [6/30]
◆ str() [7/30]
QString VP1String::str |
( |
const QColor & |
c | ) |
|
|
staticinherited |
Definition at line 30 of file VP1String.cxx.
32 return c.isValid() ?
c.name() :
"Invalid";
◆ str() [8/30]
template<class T >
static QString VP1String::str |
( |
const QFlags< T > & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [9/30]
template<class T >
static QString VP1String::str |
( |
const QList< T > & |
t | ) |
|
|
inlinestaticinherited |
◆ str() [10/30]
static QString VP1String::str |
( |
const QString & |
s | ) |
|
|
inlinestaticinherited |
◆ str() [11/30]
QString VP1String::str |
( |
const SbColor & |
c | ) |
|
|
staticinherited |
◆ str() [12/30]
QString VP1String::str |
( |
const SbVec2d & |
v | ) |
|
|
staticinherited |
◆ str() [13/30]
QString VP1String::str |
( |
const SbVec2f & |
v | ) |
|
|
staticinherited |
◆ str() [14/30]
QString VP1String::str |
( |
const SbVec2s & |
v | ) |
|
|
staticinherited |
◆ str() [15/30]
QString VP1String::str |
( |
const SbVec3d & |
v | ) |
|
|
staticinherited |
◆ str() [16/30]
QString VP1String::str |
( |
const SbVec3f & |
v | ) |
|
|
staticinherited |
◆ str() [17/30]
QString VP1String::str |
( |
const SbVec3s & |
v | ) |
|
|
staticinherited |
◆ str() [18/30]
QString VP1String::str |
( |
const SbVec4d & |
v | ) |
|
|
staticinherited |
◆ str() [19/30]
QString VP1String::str |
( |
const SbVec4f & |
v | ) |
|
|
staticinherited |
◆ str() [20/30]
template<class T >
static QString VP1String::str |
( |
const T * |
t | ) |
|
|
inlinestaticinherited |
Definition at line 87 of file VP1String.h.
87 {
return str(
static_cast<const void*
>(
t)); }
◆ str() [21/30]
QString VP1String::str |
( |
const void * |
p | ) |
|
|
staticinherited |
Definition at line 48 of file VP1String.cxx.
54 return QString (
s.str().c_str());
◆ str() [22/30]
◆ str() [23/30]
static QString VP1String::str |
( |
int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [24/30]
static QString VP1String::str |
( |
long |
n | ) |
|
|
inlinestaticinherited |
◆ str() [25/30]
static QString VP1String::str |
( |
qlonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [26/30]
static QString VP1String::str |
( |
qulonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [27/30]
static QString VP1String::str |
( |
short int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [28/30]
static QString VP1String::str |
( |
uint |
n | ) |
|
|
inlinestaticinherited |
◆ str() [29/30]
static QString VP1String::str |
( |
ulong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [30/30]
static QString VP1String::str |
( |
unsigned short int |
n | ) |
|
|
inlinestaticinherited |
◆ systemBase()
IVP1System* VP1HelperClassBase::systemBase |
( |
| ) |
const |
|
inlineinherited |
◆ testForChanges
void VP1Controller::testForChanges |
( |
| ) |
|
|
inlineprotectedslotinherited |
◆ toggleDialogState
void VP1Controller::toggleDialogState |
( |
QObject * |
widget = 0 | ) |
|
|
slotinherited |
Definition at line 194 of file VP1Controller.cxx.
196 Imp::DialogInfo * di(0);
198 if (di2->launchButton==sender() || (widget && di2->dialogWidget==widget)) {
205 message(
"ERROR: toggleDialogState() triggered with unrecognised sender() ="
206 +QString(sender()?sender()->objectName():
"NULL"));
210 bool oldvis = di->dialogWidget->isVisible();
212 if (oldvis&&di->dialogWidget->windowState()==Qt::WindowMinimized) {
213 di->dialogWidget->setWindowState(Qt::WindowNoState);
215 di->dialogWidget->setVisible(!oldvis);
216 if (!oldvis && di->neverShown) {
217 di->neverShown =
false;
226 if (di->launchButton->isCheckable() && oldvis){
227 di->launchButton->setChecked(
false);
◆ toString() [1/4]
QString VP1Controller::toString |
( |
const bool & |
par | ) |
|
|
staticprotectedinherited |
◆ toString() [2/4]
◆ toString() [3/4]
template<class T >
QString VP1Controller::toString |
( |
const T & |
par | ) |
|
|
staticprotectedinherited |
◆ toString() [4/4]
QString VP1Controller::toString |
( |
SbColor4f |
p | ) |
|
|
staticprotectedinherited |
◆ trtProjSurfMaterial()
SoMaterial * GuideSysController::trtProjSurfMaterial |
( |
| ) |
const |
◆ updateProjPartsCheckboxStates_Pixel
void GuideSysController::updateProjPartsCheckboxStates_Pixel |
( |
| ) |
|
|
privateslot |
◆ updateProjPartsCheckboxStates_SCT
void GuideSysController::updateProjPartsCheckboxStates_SCT |
( |
| ) |
|
|
privateslot |
◆ updateProjPartsCheckboxStates_TRT
void GuideSysController::updateProjPartsCheckboxStates_TRT |
( |
| ) |
|
|
privateslot |
◆ verbose()
static bool VP1HelperClassBase::verbose |
( |
| ) |
|
|
inlinestaticinherited |
◆ warnUndeletedInstances()
void VP1HelperClassBase::warnUndeletedInstances |
( |
| ) |
|
|
staticinherited |
Definition at line 183 of file VP1HelperClassBase.cxx.
185 if (vp1helperclassbase_instanceMap.empty())
187 std::cout <<
"WARNING: Detected "<<vp1helperclassbase_instanceMap.size()<<
" undeleted helper class instances:"<<std::endl;
190 for (
it = vp1helperclassbase_instanceMap.begin();
it!=
itE;++
it) {
191 std::cout <<
" ==> "<<
it->first<<
": "<<
it->first->m_helpername.toStdString()
192 << (
it->second.isEmpty()?QString(
""):
" (in system "+
it->
second+
")").toStdString()<<std::endl;
◆ xAxisMaterial()
SoMaterial * GuideSysController::xAxisMaterial |
( |
| ) |
const |
◆ yAxisMaterial()
SoMaterial * GuideSysController::yAxisMaterial |
( |
| ) |
const |
◆ zAxisMaterial()
SoMaterial * GuideSysController::zAxisMaterial |
( |
| ) |
const |
◆ m_customTourEditor
◆ m_d
Imp* GuideSysController::m_d |
|
private |
◆ m_helpername
QString VP1HelperClassBase::m_helpername |
|
privateinherited |
◆ m_initVarsMode
bool VP1Controller::m_initVarsMode |
|
privateinherited |
◆ m_system
◆ s_vp1verbose
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
void floorHeightChanged(const double &)
QButtonGroup * defineRadioButtonGroup(QRadioButton *rb0, QRadioButton *rb1, QRadioButton *rb2=0, QRadioButton *rb3=0, QRadioButton *rb4=0, QRadioButton *rb5=0, QRadioButton *rb6=0, QRadioButton *rb7=0, QRadioButton *rb8=0, QRadioButton *rb9=0)
const char * addUpdateSlot(const char *slot)
void floorSpacingChanged(const double &)
SbVec3f last_lineDirection
InDetProjFlags::DetTypeFlags trtPartsEnabledByGUIOrDataUsage() const
InDetProjFlags::InDetProjPartsFlags applicablePixelProjParts() const
double floorHeight() const
static QString toString(const T &par)
static SbColor4f color4f(const QColor &col, int transp_int)
void possibleChange_showCylindricalGrid()
void possibleChange_showLines()
Scalar phi() const
phi method
const char * lastUpdateSlot
void dummyUpdateTrigger()
void possibleChange_applicableSCTProjParts()
VP1Controller(IVP1System *sys, const QString &classname)
void possibleChange_showCalorimeters()
void possibleChange_floorColourAndTransp()
InDetProjFlags::DetTypeFlags sctPartsEnabledByGUIOrDataUsage() const
void possibleChange_lettersVerticalPos()
Scalar eta() const
pseudorapidity method
Ui::VP1GuidesControllerForm ui
Ui::VP1GuidesSysSettingsGridForm ui_grid
void messageVerbose(const QString &) const
Scalar theta() const
theta method
SoMaterial * fallBackMaterial() const
static const bool s_vp1verbose
void initDialog(T &theUI, QPushButton *launchbutton, QAbstractButton *enabledButton=0)
VP1CollectionWidget * collWidget
void possibleChange_floorExtent()
virtual void actualSaveSettings(VP1Serialise &) const =0
void possibleChange_gridColourAndTransp()
void possibleChange_showAxes()
static void projectionPartsGivenUsedDetectors(InDetProjPartsFlags &proj_pixel, InDetProjPartsFlags &proj_sct, InDetProjPartsFlags &proj_trt, const DetTypeFlags &useddets)
void possibleChange_peopleColourAndTransp()
void possibleChange_showLetters()
void possibleChange_etaConeValue1()
static QString str(const QString &s)
void possibleChange_shownSCTProjSurfaces()
void messageDebug(const QString &) const
void updateProjPartsCheckboxStates_SCT()
void connectToLastUpdateSlot(QObject *sender, const char *signal)
SbVec3f lineDirection() const
Ui::VP1GuidesSysSettingsCoordinateAxesForm ui_axes
Ui::VP1GuidesSysSettingsFloorAndLettersForm ui_floorandletters
void possibleChange_applicableTRTProjParts()
Ui::VP1GuidesSysSettingsEtaConeForm ui_etacones
void possibleChange_lettersZPos()
void possibleChange_gridSpacing()
bool initVarsMode() const
void lineDirectionChanged(const SbVec3f &)
static const char * prefix_msg()
void possibleChange_axesLength()
void possibleChange_showFloor()
void possibleChange_etaExtent()
SoMaterial * fallBackMaterial
bool changed(T &lastval, const T &newval)
void possibleChange_showPeople()
InDetProjFlags::DetTypeFlags inDetDetTypesUsingProjections
void applicableTRTProjPartsChanged(InDetProjFlags::InDetProjPartsFlags)
void floorExtentChanged(const double &)
const QString & name() const
void possibleChange_showEtaCone1()
InDetProjFlags::InDetProjPartsFlags applicableSCTProjParts() const
static bool calcParsFromExtentAndSpacing(VP1HelperClassBase *, const double &extent, const double &spacing, const int &nmaxlimit, int &nmax, double &distmax)
Ui::VP1GuidesSysSettingsIDProjSurfsForm ui_idprojsurfs
Ui::VP1LinesForm ui_lines
double lineLength() const
void possibleChange_gridExtent()
double floorExtent() const
static QColor sbcol2qcol(const SbColor &)
double floorSpacing() const
GuideSysController * theclass
void possibleChange_floorHeight()
IVP1System * systemBase() const
void possibleChange_axesPosition()
InDetProjFlags::DetTypeFlags pixelPartsEnabledByGUIOrDataUsage() const
void possibleChange_showMuonSpectrometer()
void possibleChange_relAxesThickness()
static const char * prefix_debug()
void possibleChange_showEtaCone3()
QList< DialogInfo * > dialogs
virtual void actualRestoreSettings(VP1Deserialise &)=0
Ui::VP1GuidesSysSettingsPeopleForm ui_people
void updateProjPartsCheckboxStates_TRT()
void updateProjPartsCheckboxStates_Pixel()
static const char * prefix_verbose()
void possibleChange_shownTRTProjSurfaces()
Ui::VP1TrackingVolumesForm ui_trkvolumes
const double mb
1mb to cm2
void possibleChange_etaConeValue3()
InDetProjFlags::InDetProjPartsFlags applicableTRTProjParts() const
void collWidgetContentChanged()
void enabledButtonStateChanged()
void possibleChange_showCartesianGrid()
void message(const QString &) const
void applicableSCTProjPartsChanged(InDetProjFlags::InDetProjPartsFlags)
void possibleChange_showEtaCone2()
void applicablePixelProjPartsChanged(InDetProjFlags::InDetProjPartsFlags)
void toggleDialogState(QObject *widget=0)
void possibleChange_showTrackingVolumes()
static InDetProjFlags::InDetProjPartsFlags projPartsFlag(bool barrelinner, bool barrelouter, bool endcapinner, bool endcapouter, bool endcap_hidenormalcyls_when_zasr=false, bool endcap_zasr=false)
void possibleChange_applicablePixelProjParts()
void possibleChange_floorSpacing()
void possibleChange_lineDirection()
void possibleChange_shownPixelProjSurfaces()
void possibleChange_showInnerDetector()
void message(const QString &) const
static VP1CustomTourEditor * m_customTourEditor
void possibleChange_etaConeValue2()
virtual int currentSettingsVersion() const =0