#include <VP1RawDataCollBase.h>
|
| | VP1RawDataCollBase (VP1RawDataCommonData *, const QString &key) |
| virtual | ~VP1RawDataCollBase () |
| virtual void | init (VP1MaterialButtonBase *mat=0) |
| VP1RawDataCommonData * | common () const |
| VP1ExtraSepLayerHelper * | sepHelper () const |
| virtual bool | usesInDetPartsCuts () |
| bool | visible () const |
| bool | isLoaded () const |
| bool | problemsLoading () const |
| QString | text () const |
| SoSwitch * | collSwitch () const |
| | Add this somewhere in your scenegraph (do not add any children here!)
|
| SoSeparator * | collSep () const |
| | All 3D objects from this coll.
|
| SoMaterial * | material () const |
| double | collMaterialTransparency () const |
| double | collMaterialBrightness () const |
| virtual void | largeChangesBegin () |
| virtual void | largeChangesEnd () |
| virtual QByteArray | persistifiableState () const |
| | Provide default implementation based on widget list + version.
|
| virtual void | setState (const QByteArray &) |
| | Provide default implementation based on widget list + version.
|
| qint32 | collTypeID () const |
| QByteArray | persistifiableID () const |
| QString | section () const |
| QString | sectionToolTip () const |
| virtual QList< QWidget * > | widgetsForGuiRow () const |
| void | setSystemBasePointer (IVP1System *sys) |
| void | message (const QString &) const |
| void | message (const QStringList &, const QString &addtoend="") const |
| void | message (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
| void | messageDebug (const QString &) const |
| void | messageDebug (const QStringList &, const QString &addtoend="") const |
| void | messageDebug (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
| void | messageVerbose (const QString &) const |
| void | messageVerbose (const QStringList &, const QString &addtoend="") const |
| void | messageVerbose (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
| IVP1System * | systemBase () const |
| const QString & | helperClassName () const |
|
| static VP1CollStates | getStates (const QList< VP1Collection * > &) |
| static void | applyStates (const QList< VP1Collection * > &, const VP1CollStates &) |
| static void | updateStates (VP1CollStates &state, const VP1CollStates &newInfo) |
| template<class T> |
| static QList< VP1Collection * > | toBaseCollList (const QList< T * > &) |
| static bool | verbose () |
| static void | warnUndeletedInstances () |
| static QString | str (const QString &s) |
| static QString | str (const char *c) |
| static QString | str (const bool b) |
| static QString | str (const QColor &) |
| static QString | str (const SbColor &) |
| static QString | str (const VP1Interval &) |
| static QString | str (const SbVec2d &) |
| static QString | str (const SbVec2f &) |
| static QString | str (const SbVec2s &) |
| static QString | str (const SbVec3d &) |
| static QString | str (const SbVec3f &) |
| static QString | str (const SbVec3s &) |
| static QString | str (const SbVec4d &) |
| static QString | str (const SbVec4f &) |
| static QString | str (short int n) |
| static QString | str (unsigned short int n) |
| static QString | str (long n) |
| static QString | str (ulong n) |
| static QString | str (int n) |
| static QString | str (uint n) |
| static QString | str (qlonglong n) |
| static QString | str (qulonglong n) |
| static QString | str (const double &d) |
| static QString | str (const float &f) |
| static QString | str (const void *) |
| template<class T> |
| static QString | str (const T *t) |
| template<class T> |
| static QString | str (const QFlags< T > &f) |
| template<class T> |
| static QString | str (const HepGeom::BasicVector3D< T > &t) |
| static QString | str (const Amg::Vector3D &t) |
| template<class T> |
| static QString | str (const QList< T > &t) |
Definition at line 29 of file VP1RawDataCollBase.h.
◆ VP1RawDataCollBase()
Definition at line 41 of file VP1RawDataCollBase.cxx.
43{
47}
VP1RawDataCommonData * common() const
VP1RawDataCommonData * m_common
VP1StdCollection(IVP1System *, const QString &helperClassName)
◆ ~VP1RawDataCollBase()
| VP1RawDataCollBase::~VP1RawDataCollBase |
( |
| ) |
|
|
virtual |
Definition at line 78 of file VP1RawDataCollBase.cxx.
79{
80 std::vector<VP1RawDataHandleBase*>::iterator
it(
m_d->handles.begin()),
itE(
m_d->handles.end());
82 delete *it;
84
85 delete m_d->sepHelper;
87}
◆ addHandle()
Definition at line 150 of file VP1RawDataCollBase.cxx.
151{
152 if (handle)
153 m_d->handles.push_back(handle);
154 if (!((
m_d->iupdategui)++)%200)
156}
IVP1System * systemBase() const
◆ applyStates()
Definition at line 108 of file VP1Collection.cxx.
109{
112 if (
states.contains(col->persistifiableID()))
113 col->setState(
states.value(col->persistifiableID()));
115}
VP1Collection(IVP1System *sys=0, const QString &helperClassName="VP1Collection")
static void messageDebug(const QString &)
◆ assignDefaultMaterial()
| virtual void VP1StdCollection::assignDefaultMaterial |
( |
SoMaterial * | | ) |
const |
|
protectedpure virtualinherited |
Implemented in AODCollHandleBase, PRDCollHandleBase, TrackCollHandleBase, VP1CaloClusterCollection, VP1MissingEtHandle, VP1RawDataColl_BCM_RDO, VP1RawDataColl_LUCID, VP1RawDataColl_PixelRDO, VP1RawDataColl_SCT_RDO, VP1RawDataColl_TRT_RDO, VP1TruthVertexCollection, and VP1VertexCollection.
◆ checkBoxToolTip()
| virtual QString VP1StdCollection::checkBoxToolTip |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ collMaterialBrightness()
| double VP1StdCollection::collMaterialBrightness |
( |
| ) |
const |
|
inherited |
◆ collMaterialTransparency()
| double VP1StdCollection::collMaterialTransparency |
( |
| ) |
const |
|
inherited |
◆ collMaterialTransparencyAndBrightnessChanged()
| virtual void VP1StdCollection::collMaterialTransparencyAndBrightnessChanged |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ collSep()
| SoSeparator * VP1StdCollection::collSep |
( |
| ) |
const |
|
inherited |
All 3D objects from this coll.
belongs under here.
Definition at line 212 of file VP1StdCollection.cxx.
213{
215 message(
"ERROR: collSep() called before init()");
217}
void message(const QString &) const
◆ collSwitch()
| SoSwitch * VP1StdCollection::collSwitch |
( |
| ) |
const |
|
inherited |
Add this somewhere in your scenegraph (do not add any children here!)
Definition at line 204 of file VP1StdCollection.cxx.
205{
207 message(
"ERROR: collSwitch() called before init()");
208 return m_d->theswitch;
209}
◆ collTypeID()
| qint32 VP1StdCollection::collTypeID |
( |
| ) |
const |
|
inherited |
Definition at line 315 of file VP1StdCollection.cxx.
316{
317 if (!
m_d->idProvided) {
318 m_d->idProvided =
true;
320 }
322}
virtual qint32 provideCollTypeID() const
◆ collVisibilityChanged
| void VP1RawDataCollBase::collVisibilityChanged |
( |
bool | vis | ) |
|
|
privateslot |
Definition at line 96 of file VP1RawDataCollBase.cxx.
97{
100 if (vis)
102 else
104}
void messageVerbose(const QString &) const
void recheckCutStatusOfAllNotVisibleHandles()
void recheckCutStatusOfAllVisibleHandles()
static QString str(const QString &s)
◆ common()
◆ cut()
◆ extraWidgetsState()
| virtual QByteArray VP1StdCollection::extraWidgetsState |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ getHandles()
◆ getStates()
Definition at line 92 of file VP1Collection.cxx.
93{
95
99 states.insert(col->persistifiableID(),col->persistifiableState());
100 }
101
103
105}
QMap< QByteArray, QByteArray > VP1CollStates
◆ helperClassName()
| const QString & VP1HelperClassBase::helperClassName |
( |
| ) |
const |
|
inlineinherited |
◆ init()
Reimplemented from VP1StdCollection.
Definition at line 50 of file VP1RawDataCollBase.cxx.
51{
55
56 connect(
m_common->controller(),SIGNAL(cutAllowedEtaChanged(
const VP1Interval&)),
59
60 connect(
m_common->controller(),SIGNAL(cutAllowedPhiChanged(
const QList<VP1Interval>&)),
63
64 connect(
m_common->controller(),SIGNAL(enabledInDetPartsChanged(VP1RawDataFlags::InDetPartsFlags)),
67}
void setAllowedPhi(const QList< VP1Interval > &)
void collVisibilityChanged(bool)
void setEnabledInDetParts(VP1RawDataFlags::InDetPartsFlags)
void setAllowedEta(const VP1Interval &)
virtual bool usesInDetPartsCuts()
virtual void init(VP1MaterialButtonBase *button=0)
void visibilityChanged(bool)
◆ isLoaded()
| bool VP1StdCollection::isLoaded |
( |
| ) |
const |
|
inherited |
◆ largeChangesBegin()
| void VP1StdCollection::largeChangesBegin |
( |
| ) |
|
|
virtualinherited |
◆ largeChangesEnd()
| void VP1StdCollection::largeChangesEnd |
( |
| ) |
|
|
virtualinherited |
Reimplemented in VP1CaloClusterCollection.
Definition at line 239 of file VP1StdCollection.cxx.
240{
242 message(
"ERROR: largeChangesEnd() called before init()");
243 if (
m_d->largechangescount_sep>0) {
244 if (--(
m_d->largechangescount_sep)==0) {
245 m_d->collsep->enableNotify(
true);
246 m_d->collsep->touch();
247 }
248 }
249 if (
m_d->largechangescount_switch>0) {
250 if (--(
m_d->largechangescount_switch)==0) {
251 m_d->theswitch->enableNotify(
true);
252 m_d->theswitch->touch();
253 }
254 }
255}
◆ load()
| virtual bool VP1StdCollection::load |
( |
| ) |
|
|
protectedpure virtualinherited |
Implemented in IParticleCollHandle_CaloCluster, IParticleCollHandle_Electron, IParticleCollHandle_Jet, IParticleCollHandle_Muon, IParticleCollHandle_TrackParticle, MissingEtCollHandle, PRDCollHandle_SpacePoints, PRDCollHandleBase, TrackCollHandle_RefittedTracks, TrackCollHandle_SimulationTracks, TrackCollHandle_TrackContainer, TrackCollHandle_TrackParticle, TrackCollHandle_TrkSegment, TrackCollHandle_TrkTrack, TrackCollHandle_TruthTracks, TrackCollHandle_xAODTrackParticle, VertexCollHandle, VP1CaloClusterCollection, VP1MissingEtCaloHandle, VP1MissingEtHandle, VP1MissingEtTruthHandle, VP1RawDataColl_BCM_RDO, VP1RawDataColl_LUCID, VP1RawDataColl_PixelRDO, VP1RawDataColl_SCT_RDO, VP1RawDataColl_TRT_RDO, VP1TruthVertexCollection, and VP1VertexCollection.
◆ matButtonToolTip()
| virtual QString VP1StdCollection::matButtonToolTip |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ material()
| SoMaterial * VP1StdCollection::material |
( |
| ) |
const |
|
inherited |
◆ message() [1/3]
| void VP1HelperClassBase::message |
( |
const QString & | str | ) |
const |
|
inherited |
Definition at line 49 of file VP1HelperClassBase.cxx.
50{
54 else
56 } else {
59 else
61 }
62}
static const char * prefix_msg()
◆ message() [2/3]
| void VP1HelperClassBase::message |
( |
const QString & | addtostart, |
|
|
const QStringList & | l, |
|
|
const QString & | addtoend = "" ) const |
|
inherited |
Definition at line 131 of file VP1HelperClassBase.cxx.
132{
133 if (addtostart.isEmpty()) {
135 return;
136 }
137 if (addtoend.isEmpty()) {
138 for (const QString& s : l)
140 } else {
141 for (const QString& s : l)
142 message(addtostart+s+addtoend);
143 }
144}
◆ message() [3/3]
| void VP1HelperClassBase::message |
( |
const QStringList & | l, |
|
|
const QString & | addtoend = "" ) const |
|
inherited |
Definition at line 91 of file VP1HelperClassBase.cxx.
92{
93 if (addtoend.isEmpty()) {
94 for (const QString& s : l)
96 } else {
97 for (const QString& s : l)
99 }
100}
◆ messageDebug() [1/3]
| void VP1HelperClassBase::messageDebug |
( |
const QString & | str | ) |
const |
|
inherited |
Definition at line 65 of file VP1HelperClassBase.cxx.
66{
68 return;
69 std::string sysstring(
m_system ?
" in "+
m_system->name().toStdString() : std::string(
""));
72 } else {
74 }
75}
static const char * prefix_debug()
◆ messageDebug() [2/3]
| void VP1HelperClassBase::messageDebug |
( |
const QString & | addtostart, |
|
|
const QStringList & | l, |
|
|
const QString & | addtoend = "" ) const |
|
inherited |
Definition at line 147 of file VP1HelperClassBase.cxx.
148{
150 return;
151 if (addtostart.isEmpty()) {
153 return;
154 }
155 if (addtoend.isEmpty()) {
156 for (const QString& s : l)
158 } else {
159 for (const QString& s : l)
161 }
162}
void messageDebug(const QString &) const
◆ messageDebug() [3/3]
| void VP1HelperClassBase::messageDebug |
( |
const QStringList & | l, |
|
|
const QString & | addtoend = "" ) const |
|
inherited |
Definition at line 103 of file VP1HelperClassBase.cxx.
104{
106 return;
107 if (addtoend.isEmpty()) {
108 for (const QString& s : l)
110 } else {
111 for (const QString& s : l)
113 }
114}
◆ messageVerbose() [1/3]
| void VP1HelperClassBase::messageVerbose |
( |
const QString & | str | ) |
const |
|
inherited |
Definition at line 78 of file VP1HelperClassBase.cxx.
79{
81 return;
82 std::string sysstring(
m_system ?
" in "+
m_system->name().toStdString() : std::string(
""));
85 } else {
87 }
88}
static const char * prefix_verbose()
◆ messageVerbose() [2/3]
| void VP1HelperClassBase::messageVerbose |
( |
const QString & | addtostart, |
|
|
const QStringList & | l, |
|
|
const QString & | addtoend = "" ) const |
|
inherited |
Definition at line 165 of file VP1HelperClassBase.cxx.
166{
168 return;
169 if (addtostart.isEmpty()) {
171 return;
172 }
173 if (addtoend.isEmpty()) {
174 for (const QString& s : l)
176 } else {
177 for (const QString& s : l)
179 }
180}
◆ messageVerbose() [3/3]
| void VP1HelperClassBase::messageVerbose |
( |
const QStringList & | l, |
|
|
const QString & | addtoend = "" ) const |
|
inherited |
Definition at line 117 of file VP1HelperClassBase.cxx.
118{
120 return;
121 if (addtoend.isEmpty()) {
122 for (const QString& s : l)
124 } else {
125 for (const QString& s : l)
127 }
128}
◆ persistifiableID()
| QByteArray VP1Collection::persistifiableID |
( |
| ) |
const |
|
inherited |
Definition at line 49 of file VP1Collection.cxx.
50{
52
53 if (!
m_d->persistIDProvided) {
54 m_d->persistIDProvided =
true;
56
57 }
58 return m_d->persistID;
59}
virtual QByteArray providePersistifiableID() const =0
◆ persistifiableState()
| QByteArray VP1StdCollection::persistifiableState |
( |
| ) |
const |
|
virtualinherited |
◆ possibleChangeMatTranspOrBrightness
| void VP1StdCollection::possibleChangeMatTranspOrBrightness |
( |
| ) |
|
|
slotinherited |
Definition at line 348 of file VP1StdCollection.cxx.
349{
350 double t =
m_d->matButton->lastAppliedTransparency();
351 double b =
m_d->matButton->lastAppliedBrightness();
352 if (
m_d->lastMatTransparency == t &&
m_d->lastMatBrightness == b )
353 return;
354 m_d->lastMatTransparency =
t;
355 m_d->lastMatBrightness =
b;
357}
virtual void collMaterialTransparencyAndBrightnessChanged()
◆ problemsLoading()
| bool VP1StdCollection::problemsLoading |
( |
| ) |
const |
|
inherited |
◆ provideCollTypeID()
| virtual qint32 VP1StdCollection::provideCollTypeID |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
Reimplemented in AODCollHandleBase, PRDCollHandleBase, TrackCollHandleBase, VP1CaloClusterCollection, VP1MissingEtCaloHandle, VP1MissingEtHandle, VP1MissingEtTruthHandle, VP1RawDataColl_BCM_RDO, VP1RawDataColl_LUCID, VP1RawDataColl_PixelRDO, VP1RawDataColl_SCT_RDO, VP1RawDataColl_TRT_RDO, VP1TruthVertexCollection, and VP1VertexCollection.
Definition at line 92 of file VP1StdCollection.h.
◆ provideExtraWidgetsForGuiRow()
| virtual QList< QWidget * > VP1StdCollection::provideExtraWidgetsForGuiRow |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ providePersistifiableID()
| QByteArray VP1StdCollection::providePersistifiableID |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ provideSection()
| virtual QString VP1Collection::provideSection |
( |
| ) |
const |
|
protectedpure virtualinherited |
Implemented in AODCollHandleBase, PRDCollHandleBase, TrackCollHandleBase, VP1CaloClusterCollection, VP1MissingEtCaloHandle, VP1MissingEtHandle, VP1MissingEtTruthHandle, VP1RawDataColl_BCM_RDO, VP1RawDataColl_LUCID, VP1RawDataColl_PixelRDO, VP1RawDataColl_SCT_RDO, VP1RawDataColl_TRT_RDO, VP1TruthVertexCollection, and VP1VertexCollection.
◆ provideSectionToolTip()
| virtual QString VP1Collection::provideSectionToolTip |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ provideText()
| QString VP1RawDataCollBase::provideText |
( |
| ) |
const |
|
protectedvirtual |
◆ provideWidgetsForGuiRow()
| QList< QWidget * > VP1StdCollection::provideWidgetsForGuiRow |
( |
| ) |
const |
|
protectedvirtualinherited |
Implements VP1Collection.
Definition at line 258 of file VP1StdCollection.cxx.
259{
261
265 l <<
m_d->extraWidgets;
267}
virtual QList< QWidget * > provideExtraWidgetsForGuiRow() const
l
Printing final latex table to .tex output file.
◆ recheckCutStatus()
◆ recheckCutStatusOfAllHandles()
| void VP1RawDataCollBase::recheckCutStatusOfAllHandles |
( |
| ) |
|
|
protected |
Definition at line 194 of file VP1RawDataCollBase.cxx.
195{
197 return;
200 std::vector<VP1RawDataHandleBase*>::iterator
it(
m_d->handles.begin()),
itE(
m_d->handles.end());
204 if (!(i++%200))
206 }
208}
virtual void deselectAll(SoCooperativeSelection *exception_sel=0)
void recheckCutStatus(VP1RawDataHandleBase *)
virtual void largeChangesEnd()
virtual void largeChangesBegin()
◆ recheckCutStatusOfAllNotVisibleHandles()
| void VP1RawDataCollBase::recheckCutStatusOfAllNotVisibleHandles |
( |
| ) |
|
|
protected |
Definition at line 228 of file VP1RawDataCollBase.cxx.
229{
231 return;
233 std::vector<VP1RawDataHandleBase*>::iterator
it(
m_d->handles.begin()),
itE(
m_d->handles.end());
235 if (!(*it)->visible())
237 }
239}
◆ recheckCutStatusOfAllVisibleHandles()
| void VP1RawDataCollBase::recheckCutStatusOfAllVisibleHandles |
( |
| ) |
|
|
protected |
Definition at line 211 of file VP1RawDataCollBase.cxx.
212{
214 return;
215
217
219 std::vector<VP1RawDataHandleBase*>::iterator
it(
m_d->handles.begin()),
itE(
m_d->handles.end());
221 if ((*it)->visible())
223 }
225}
◆ section()
| QString VP1Collection::section |
( |
| ) |
const |
|
inherited |
Definition at line 72 of file VP1Collection.cxx.
73{
74 if (!
m_d->sectionProvided) {
75 m_d->sectionProvided =
true;
77 }
79}
virtual QString provideSection() const =0
◆ sectionToolTip()
| QString VP1Collection::sectionToolTip |
( |
| ) |
const |
|
inherited |
Definition at line 82 of file VP1Collection.cxx.
83{
84 if (!
m_d->sectionToolTipProvided) {
85 m_d->sectionToolTipProvided =
true;
87 }
88 return m_d->sectionToolTip;
89}
virtual QString provideSectionToolTip() const
◆ sepHelper()
Definition at line 70 of file VP1RawDataCollBase.cxx.
71{
73 m_d->sepHelper =
new VP1ExtraSepLayerHelper(
collSep());
74 return m_d->sepHelper;
75}
SoSeparator * collSep() const
All 3D objects from this coll.
◆ setAllowedEta
| void VP1RawDataCollBase::setAllowedEta |
( |
const VP1Interval & | e | ) |
|
|
slot |
Definition at line 107 of file VP1RawDataCollBase.cxx.
108{
109 if (
m_d->allowedEta==e)
110 return;
111 bool relaxed(
e.contains(
m_d->allowedEta));
112 bool tightened(
m_d->allowedEta.contains(e));
114 if (relaxed)
116 else if (tightened)
118 else
120}
void recheckCutStatusOfAllHandles()
◆ setAllowedPhi
| void VP1RawDataCollBase::setAllowedPhi |
( |
const QList< VP1Interval > & | l | ) |
|
|
slot |
◆ setEnabledInDetParts
| void VP1RawDataCollBase::setEnabledInDetParts |
( |
VP1RawDataFlags::InDetPartsFlags | f | ) |
|
|
slot |
Definition at line 132 of file VP1RawDataCollBase.cxx.
133{
135 return;
136 if (
m_d->allowedInDetParts==f)
137 return;
138 bool relaxed((
m_d->allowedInDetParts&f) ==
m_d->allowedInDetParts);
139 bool tightened((
m_d->allowedInDetParts&f) == f);
140 m_d->allowedInDetParts=
f;
141 if (relaxed)
143 else if (tightened)
145 else
147}
◆ setExtraWidgetsState()
| virtual void VP1StdCollection::setExtraWidgetsState |
( |
const QByteArray & | | ) |
|
|
inlineprotectedvirtualinherited |
◆ setHelperClassName()
| void VP1HelperClassBase::setHelperClassName |
( |
const QString & | n | ) |
|
|
inlineprotectedinherited |
◆ setState()
| void VP1StdCollection::setState |
( |
const QByteArray & | state | ) |
|
|
virtualinherited |
◆ setSystemBasePointer()
| void VP1HelperClassBase::setSystemBasePointer |
( |
IVP1System * | sys | ) |
|
|
inherited |
Definition at line 197 of file VP1HelperClassBase.cxx.
198{
202 }
203}
static std::map< VP1HelperClassBase *, QString > vp1helperclassbase_instanceMap
◆ setVisible
| void VP1StdCollection::setVisible |
( |
bool | b | ) |
|
|
slotinherited |
Definition at line 160 of file VP1StdCollection.cxx.
161{
163 return;
166
167
168 if (
m_d->visible&&!
m_d->loaded) {
170 m_d->theswitch->whichChild = SO_SWITCH_NONE;
172 if (!ok) {
173 m_d->problemsloading =
true;
174 m_d->visible =
false;
175 m_d->checkBox->blockSignals(
true);
176 m_d->checkBox->setChecked(
false);
177 m_d->checkBox->setToolTip(
"Problems encountered during attempt to load this collection");
179 w->setEnabled(
false);
181 return;
182 }
183 m_d->theswitch->addChild(
m_d->material);
184 m_d->theswitch->addChild(
m_d->collsep);
185 }
186
188
189
190 if (
m_d->checkBox->isChecked()!=
m_d->visible) {
191 bool save =
m_d->checkBox->blockSignals(
true);
192 m_d->checkBox->setChecked(
m_d->visible);
193 if (!save)
194 m_d->checkBox->blockSignals(
false);
195 }
196 if ((
m_d->theswitch->whichChild.getValue()==SO_SWITCH_ALL) !=
m_d->visible)
197 m_d->theswitch->whichChild = (
m_d->visible ? SO_SWITCH_ALL : SO_SWITCH_NONE );
198
200}
virtual QList< QWidget * > widgetsForGuiRow() const
bool problemsLoading() const
◆ str() [1/30]
◆ str() [2/30]
| QString VP1String::str |
( |
const bool | b | ) |
|
|
inlinestaticinherited |
Definition at line 53 of file VP1String.h.
53{
return b?
"True":
"False"; }
◆ str() [3/30]
| QString VP1String::str |
( |
const char * | c | ) |
|
|
inlinestaticinherited |
◆ str() [4/30]
| QString VP1String::str |
( |
const double & | d | ) |
|
|
inlinestaticinherited |
Definition at line 81 of file VP1String.h.
81{ return QString::number(d); }
◆ str() [5/30]
| QString VP1String::str |
( |
const float & | f | ) |
|
|
inlinestaticinherited |
Definition at line 82 of file VP1String.h.
82{ return QString::number(f); }
◆ str() [6/30]
◆ str() [7/30]
| QString VP1String::str |
( |
const QColor & | c | ) |
|
|
staticinherited |
Definition at line 30 of file VP1String.cxx.
31{
32 return c.isValid() ?
c.name() :
"Invalid";
33}
◆ str() [8/30]
template<class T>
| QString VP1String::str |
( |
const QFlags< T > & | f | ) |
|
|
inlinestaticinherited |
Definition at line 91 of file VP1String.h.
91{ return "0x"+QString::number(f, 16).toUpper().rightJustified(8,'0'); }
◆ str() [9/30]
template<class T>
| QString VP1String::str |
( |
const QList< T > & | t | ) |
|
|
inlinestaticinherited |
Definition at line 102 of file VP1String.h.
102{
return "QList of size"+QString::number(
t.size()); }
◆ str() [10/30]
| QString VP1String::str |
( |
const QString & | s | ) |
|
|
inlinestaticinherited |
◆ str() [11/30]
| QString VP1String::str |
( |
const SbColor & | c | ) |
|
|
staticinherited |
Definition at line 36 of file VP1String.cxx.
37{
39}
static QColor sbcol2qcol(const SbColor &)
◆ 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>
| 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.
49{
50 if (p) {
53
54 return QString (
s.str().c_str());
55 } else {
56 return "NULL";
57 }
58}
◆ str() [22/30]
◆ str() [23/30]
| QString VP1String::str |
( |
int | n | ) |
|
|
inlinestaticinherited |
Definition at line 77 of file VP1String.h.
77{ return QString::number(n); }
◆ str() [24/30]
| QString VP1String::str |
( |
long | n | ) |
|
|
inlinestaticinherited |
Definition at line 75 of file VP1String.h.
75{ return QString::number(n); }
◆ str() [25/30]
| QString VP1String::str |
( |
qlonglong | n | ) |
|
|
inlinestaticinherited |
Definition at line 79 of file VP1String.h.
79{ return QString::number(n); }
◆ str() [26/30]
| QString VP1String::str |
( |
qulonglong | n | ) |
|
|
inlinestaticinherited |
Definition at line 80 of file VP1String.h.
80{ return QString::number(n); }
◆ str() [27/30]
| QString VP1String::str |
( |
short int | n | ) |
|
|
inlinestaticinherited |
Definition at line 73 of file VP1String.h.
73{ return QString::number(n); }
◆ str() [28/30]
| QString VP1String::str |
( |
uint | n | ) |
|
|
inlinestaticinherited |
Definition at line 78 of file VP1String.h.
78{ return QString::number(n); }
◆ str() [29/30]
| QString VP1String::str |
( |
ulong | n | ) |
|
|
inlinestaticinherited |
Definition at line 76 of file VP1String.h.
76{ return QString::number(n); }
◆ str() [30/30]
| QString VP1String::str |
( |
unsigned short int | n | ) |
|
|
inlinestaticinherited |
Definition at line 74 of file VP1String.h.
74{ return QString::number(n); }
◆ systemBase()
| IVP1System * VP1HelperClassBase::systemBase |
( |
| ) |
const |
|
inlineinherited |
◆ text()
| QString VP1StdCollection::text |
( |
| ) |
const |
|
inherited |
Definition at line 132 of file VP1StdCollection.cxx.
133{
134 if (!
m_d->textProvided) {
135 m_d->textProvided =
true;
137 }
139}
virtual QString provideText() const =0
◆ toBaseCollList()
template<class T>
| QList< VP1Collection * > VP1Collection::toBaseCollList |
( |
const QList< T * > & | in | ) |
|
|
staticinherited |
Definition at line 80 of file VP1Collection.h.
81{
82 QList<VP1Collection*>
l;
83 for (T * t : in)
84 l << static_cast<T*>(t);
86}
◆ updateStates()
Definition at line 118 of file VP1Collection.cxx.
119{
121 QMapIterator<QByteArray,QByteArray>
it(newInfo);
122 while (
it.hasNext()) {
124 state.insert(
it.key(),
it.value());
125 }
127}
◆ usesInDetPartsCuts()
| virtual bool VP1RawDataCollBase::usesInDetPartsCuts |
( |
| ) |
|
|
inlinevirtual |
◆ verbose()
| bool VP1HelperClassBase::verbose |
( |
| ) |
|
|
inlinestaticinherited |
◆ visibilityChanged
| void VP1StdCollection::visibilityChanged |
( |
bool | | ) |
|
|
signalinherited |
◆ visible()
| bool VP1StdCollection::visible |
( |
| ) |
const |
|
inherited |
◆ warnUndeletedInstances()
| void VP1HelperClassBase::warnUndeletedInstances |
( |
| ) |
|
|
staticinherited |
Definition at line 183 of file VP1HelperClassBase.cxx.
184{
186 return;
188
191 std::cout <<
" ==> "<<
it->first<<
": "<<
it->first->m_helpername.toStdString()
192 << (
it->second.isEmpty()?QString(
""):
" (in system "+
it->second+
")").toStdString()<<std::endl;
193 }
194}
◆ widgetsForGuiRow()
| QList< QWidget * > VP1Collection::widgetsForGuiRow |
( |
| ) |
const |
|
virtualinherited |
Definition at line 62 of file VP1Collection.cxx.
63{
64 if (!
m_d->widgetsForGuiRowProvided) {
65 m_d->widgetsForGuiRowProvided =
true;
67 }
68 return m_d->widgetsForGuiRow;
69}
virtual QList< QWidget * > provideWidgetsForGuiRow() const =0
◆ m_common
◆ m_d
| Imp* VP1RawDataCollBase::m_d |
|
private |
◆ m_helpername
| QString VP1HelperClassBase::m_helpername |
|
privateinherited |
◆ m_system
◆ s_vp1verbose
The documentation for this class was generated from the following files: