#include <VP1Deserialise.h>
|
| | VP1Deserialise (const QByteArray &, IVP1System *sys=0) |
| virtual | ~VP1Deserialise () |
| qint32 | version () const |
| void | ignoreWidget (QWidget *) |
| void | widgetHandled (QWidget *) |
| void | warnUnrestored (QObject *) |
| void | disableUnrestoredChecks () |
| bool | atEnd () const |
| bool | restoreBool () |
| void | restore (QCheckBox *sb) |
| void | restore (QGroupBox *) |
| QString | restoreString () |
| void | restore (QComboBox *sb) |
| void | restore (QLineEdit *) |
| void | restoreByTitle (QToolBox *) |
| double | restoreDouble () |
| void | restore (QDoubleSpinBox *sb, const double &unit=1.0) |
| qint32 | restoreInt () |
| void | restore (QSpinBox *sb) |
| void | restore (QSlider *) |
| void | restore (QToolBox *tb) |
| void | restore (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) |
| QByteArray | restoreByteArray () |
| void | restore (VP1MaterialButton *) |
| void | restore (SoMaterial *) |
| void | restore (VP1CollectionWidget *) |
| void | restore (VP1CollectionSettingsButtonBase *w) |
| void | restore (VP1EtaPhiCutWidget *) |
| void | restore (VP1DrawOptionsWidget *) |
| void | restore (PhiSectionWidget *) |
| QColor | restoreColor () |
| void | restore (VP1ColorSelectButton *) |
| template<class T> |
| T | restore () |
| void | ignoreBool () |
| void | ignoreInt () |
| void | ignoreDouble () |
| void | ignoreString () |
| void | ignoreByteArray () |
| void | ignoreColor () |
| void | ignoreObsoletePhiSectionWidgetState () |
| 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 unsigned | numberOfInstantiations () |
| static void | decrementNumberOfInstantiations () |
| 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 44 of file VP1Deserialise.h.
◆ VP1Deserialise()
| VP1Deserialise::VP1Deserialise |
( |
const QByteArray & | ba, |
|
|
IVP1System * | sys = 0 ) |
Definition at line 101 of file VP1Deserialise.cxx.
103{
105
107 m_d->buffer =
new QBuffer(&(
m_d->byteArray));
108 if (!
m_d->buffer->open(QIODevice::ReadOnly)) {
112
113
114 } else {
115 m_d->state =
new QDataStream(
m_d->buffer);
117 }
118}
static unsigned numberOfInstantiations
VP1HelperClassBase(IVP1System *sys=0, QString helpername="")
◆ ~VP1Deserialise()
| VP1Deserialise::~VP1Deserialise |
( |
| ) |
|
|
virtual |
Definition at line 121 of file VP1Deserialise.cxx.
122{
123 if (!
m_d->checkedUnused)
124 message(
"WARNING: warnUnrestored(..) was never called!");
126 message(
"Destructor WARNING: Buffer not at end!");
127 m_d->buffer->close();
133}
void message(const QString &) const
◆ atEnd()
| bool VP1Deserialise::atEnd |
( |
| ) |
const |
◆ decrementNumberOfInstantiations()
| void VP1Deserialise::decrementNumberOfInstantiations |
( |
| ) |
|
|
static |
◆ disableUnrestoredChecks()
| void VP1Deserialise::disableUnrestoredChecks |
( |
| ) |
|
◆ helperClassName()
| const QString & VP1HelperClassBase::helperClassName |
( |
| ) |
const |
|
inlineinherited |
◆ ignoreBool()
| void VP1Deserialise::ignoreBool |
( |
| ) |
|
Definition at line 587 of file VP1Deserialise.cxx.
588{
590 (*(
m_d->state)) >> b;
593 }
594}
void messageVerbose(const QString &) const
static QString str(const QString &s)
◆ ignoreByteArray()
| void VP1Deserialise::ignoreByteArray |
( |
| ) |
|
Definition at line 627 of file VP1Deserialise.cxx.
628{
629 QByteArray ba;
630 (*(
m_d->state)) >> ba;
632 messageVerbose(
"Ignoring byte array (length = "+QString::number(ba.count())+
")");
633 }
634}
◆ ignoreColor()
| void VP1Deserialise::ignoreColor |
( |
| ) |
|
◆ ignoreDouble()
| void VP1Deserialise::ignoreDouble |
( |
| ) |
|
◆ ignoreInt()
| void VP1Deserialise::ignoreInt |
( |
| ) |
|
◆ ignoreObsoletePhiSectionWidgetState()
| void VP1Deserialise::ignoreObsoletePhiSectionWidgetState |
( |
| ) |
|
Definition at line 637 of file VP1Deserialise.cxx.
638{
639 QPair<int,QList<int> > state;
640 (*(
m_d->state)) >> state;
643 }
644}
◆ ignoreString()
| void VP1Deserialise::ignoreString |
( |
| ) |
|
◆ ignoreWidget()
| void VP1Deserialise::ignoreWidget |
( |
QWidget * | w | ) |
|
Definition at line 647 of file VP1Deserialise.cxx.
648{
650 messageDebug(
"VP1Deserialise::ignoreWidget(QWidget) - name: " +
w->objectName());
651 }
652 if (w)
653 m_d->ignoredWidgets.insert(w);
654}
void messageDebug(const QString &) const
◆ 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}
◆ 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}
◆ numberOfInstantiations()
| unsigned VP1Deserialise::numberOfInstantiations |
( |
| ) |
|
|
static |
◆ restore() [1/18]
template<class T>
| T VP1Deserialise::restore |
( |
| ) |
|
◆ restore() [2/18]
Definition at line 218 of file VP1Deserialise.cxx.
219{
221 messageDebug(
"VP1Deserialise::restore(PhiSectionWidget) - name: " +
phi->objectName());
222 }
225 if (
phi&&ba != QByteArray()) {
227 phi->setState(std::move(ba));
229 }
230}
Scalar phi() const
phi method
QByteArray restoreByteArray()
◆ restore() [3/18]
| void VP1Deserialise::restore |
( |
QCheckBox * | sb | ) |
|
Definition at line 244 of file VP1Deserialise.cxx.
245{
247 messageDebug(
"VP1Deserialise::restore(QCheckBox) - name: " + cb->objectName());
248 }
249
251
253
256 messageDebug(
"bool cb: "+QString::number( cb->isChecked() ));
257 }
258
259 if (cb->isChecked()!=b) {
262 messageDebug(
"setting - checked: "+QString::number( b ));
263 }
264 cb->setChecked(b);
266 }
267}
◆ restore() [4/18]
| void VP1Deserialise::restore |
( |
QComboBox * | sb | ) |
|
Definition at line 287 of file VP1Deserialise.cxx.
288{
290 messageDebug(
"VP1Deserialise::restore(QComboBox) - name: " + cb->objectName());
291 }
295 return;
296 int i = cb->findText(t);
297 if (i<0||i>cb->count()-1)
298 return;
299 if (cb->currentIndex()!=i) {
301 cb->setCurrentIndex(i);
303 }
304}
◆ restore() [5/18]
| void VP1Deserialise::restore |
( |
QDoubleSpinBox * | sb, |
|
|
const double & | unit = 1.0 ) |
Definition at line 322 of file VP1Deserialise.cxx.
323{
325 messageDebug(
"VP1Deserialise::restore(QDoubleSpinBox) - name: " +
sb->objectName());
326 }
329 dbl = std:: max(std::min(dbl,
sb->maximum()),
sb->minimum());
330 if (
sb->value()!=dbl) {
334 }
335}
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
◆ restore() [6/18]
| void VP1Deserialise::restore |
( |
QGroupBox * | gb | ) |
|
Definition at line 270 of file VP1Deserialise.cxx.
271{
273 messageDebug(
"VP1Deserialise::restore(QGroupBox) - name: " + gb->objectName());
274 }
275 if (!gb->isCheckable())
276 message(
"WARNING: Asked to handled GroupBox which is not checkable: "+gb->objectName());
279 if (gb->isChecked()!=b) {
281 gb->setChecked(b);
283 }
284}
◆ restore() [7/18]
| void VP1Deserialise::restore |
( |
QLineEdit * | le | ) |
|
Definition at line 307 of file VP1Deserialise.cxx.
308{
310 messageDebug(
"VP1Deserialise::restore(QLineEdit) - name: " + le->objectName());
311 }
314 if (s!=le->text()) {
316 le->setText(s);
318 }
319}
◆ restore() [8/18]
| void VP1Deserialise::restore |
( |
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 ) |
Definition at line 450 of file VP1Deserialise.cxx.
460{
462 QList<QRadioButton *>
l;
463 l << rb0 << rb1 << rb2 << rb3 << rb4 << rb5 << rb6 << rb7 << rb8 << rb9;
464 for (qint32 i = 0;
i <
l.count(); ++
i) {
467 messageDebug(
"VP1Deserialise::restore(QRadioButton) - name: " +
l.at(i)->objectName());
468 }
469 m_d->handle(
l.at(i));
470 }
471 }
472
473 if (ichecked<0||ichecked>=
l.count()||!
l.at(ichecked))
474 return;
475 for (qint32 i = 0;
i <
l.count(); ++
i) {
476 QRadioButton *
rb =
l.at(i);
477 if (rb&&
rb->isChecked()!=(i==ichecked)) {
479 rb->setChecked(i==ichecked);
481 }
482 }
483}
l
Printing final latex table to .tex output file.
◆ restore() [9/18]
| void VP1Deserialise::restore |
( |
QSlider * | s | ) |
|
Definition at line 354 of file VP1Deserialise.cxx.
355{
357 messageDebug(
"VP1Deserialise::restore(QSlider) - name: " +
s->objectName());
358 }
361 i = std:: max(std::min(i,
s->maximum()),
s->minimum());
366 }
367}
◆ restore() [10/18]
| void VP1Deserialise::restore |
( |
QSpinBox * | sb | ) |
|
Definition at line 338 of file VP1Deserialise.cxx.
339{
341 messageDebug(
"VP1Deserialise::restore(QSpinBox) - name: " +
sb->objectName());
342 }
345 i = std:: max(std::min(i,
sb->maximum()),
sb->minimum());
346 if (
sb->value()!=i) {
350 }
351}
◆ restore() [11/18]
| void VP1Deserialise::restore |
( |
QToolBox * | tb | ) |
|
Definition at line 370 of file VP1Deserialise.cxx.
371{
373 messageDebug(
"VP1Deserialise::restore(QToolBox) - name: " +
tb->objectName());
374 }
377 if (i>=0&&i<tb->
count()&&i!=
tb->currentIndex()) {
379 tb->setCurrentIndex(i);
381 }
382}
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string
◆ restore() [12/18]
| void VP1Deserialise::restore |
( |
SoMaterial * | m | ) |
|
Definition at line 154 of file VP1Deserialise.cxx.
155{
158 }
160 if (!m||ba.isEmpty())
161 return;
163}
static bool deserialiseSoMaterial(QByteArray &, SoMaterial *&)
◆ restore() [13/18]
Definition at line 514 of file VP1Deserialise.cxx.
515{
517 messageDebug(
"VP1Deserialise::restore(VP1CollectionSettingsButtonBase) - name: " +
w->objectName());
518 messageDebug(
"VP1Deserialise::restore(VP1CollectionSettingsButtonBase)- start...");
519 }
522
524 if (w&&ba!=QByteArray()) {
526 w->restoreFromState(ba);
528 }
530 messageDebug(
"VP1Deserialise::restore(VP1CollectionSettingsButtonBase)- end.");
531 }
532}
void ignoreWidget(QWidget *)
◆ restore() [14/18]
Definition at line 486 of file VP1Deserialise.cxx.
487{
489 messageDebug(
"VP1Deserialise::restore(VP1CollectionWidget) - name: " + cw->objectName());
490 messageDebug(
"VP1Deserialise::restore(VP1CollectionWidget)- start...");
491 }
496 buffer.open(QIODevice::ReadOnly);
497 QDataStream state(&buffer);
501 return;
503 state >> cwstates;
509 messageDebug(
"VP1Deserialise::restore(VP1CollectionWidget)- end.");
510 }
511}
QMap< QByteArray, QByteArray > VP1CollStates
◆ restore() [15/18]
Definition at line 203 of file VP1Deserialise.cxx.
204{
206 messageDebug(
"VP1Deserialise::restore(VP1ColorSelectButton) - name: " + cb->objectName());
207 }
210 if (
c.isValid()&&cb&&cb->
color()!=c) {
214 }
215}
◆ restore() [16/18]
Definition at line 570 of file VP1Deserialise.cxx.
571{
573 messageDebug(
"VP1Deserialise::restore(VP1DrawOptionsWidget) - name: " +
w->objectName());
574 }
577
579 if (w&&ba!=QByteArray()) {
583 }
584}
◆ restore() [17/18]
Definition at line 550 of file VP1Deserialise.cxx.
551{
553 messageDebug(
"VP1Deserialise::restore(VP1EtaPhiCutWidget) - name: " +
w->objectName());
554 }
557
559 if (w&&ba!=QByteArray()) {
561 w->restoreFromState(ba);
563 }
564}
◆ restore() [18/18]
Definition at line 166 of file VP1Deserialise.cxx.
167{
169 messageDebug(
"VP1Deserialise::restore(VP1MaterialButton)");
170 }
173 QList<SoMaterial*> mats =
mb ?
mb->handledMaterials() : QList<SoMaterial*>();
174 bool tempmat = mats.isEmpty() || !mats.at(0);
175 m = tempmat ?
new SoMaterial : mats.at(0);
178 if (mb) {
180 mb->copyValuesFromMaterial(m);
182 }
183 if (tempmat)
185 else
187}
const double mb
1mb to cm2
◆ restoreBool()
| bool VP1Deserialise::restoreBool |
( |
| ) |
|
◆ restoreByteArray()
| QByteArray VP1Deserialise::restoreByteArray |
( |
| ) |
|
Definition at line 233 of file VP1Deserialise.cxx.
234{
235 QByteArray ba;
236 (*(
m_d->state)) >> ba;
238 messageVerbose(
"Restoring byte array (length = "+QString::number(ba.count())+
")");
239 }
240 return ba;
241}
◆ restoreByTitle()
| void VP1Deserialise::restoreByTitle |
( |
QToolBox * | tb | ) |
|
Definition at line 385 of file VP1Deserialise.cxx.
386{
388 messageDebug(
"VP1Deserialise::restore(QToolBox) - name: " +
tb->objectName());
389 }
392 int itarget (-1);
393 for (
int i = 0;
i <
tb->count(); ++
i) {
394 if (
tb->itemText(i)==s) {
396 break;
397 }
398 }
399 if (itarget>0&&itarget<tb->
count()&&itarget!=
tb->currentIndex()) {
401 tb->setCurrentIndex(itarget);
403 }
404}
◆ restoreColor()
| QColor VP1Deserialise::restoreColor |
( |
| ) |
|
◆ restoreDouble()
| double VP1Deserialise::restoreDouble |
( |
| ) |
|
Definition at line 428 of file VP1Deserialise.cxx.
429{
430 double dbl;
431 (*(
m_d->state)) >> dbl;
434 }
435 return dbl;
436}
◆ restoreInt()
| qint32 VP1Deserialise::restoreInt |
( |
| ) |
|
◆ restoreString()
| QString VP1Deserialise::restoreString |
( |
| ) |
|
◆ setHelperClassName()
| void VP1HelperClassBase::setHelperClassName |
( |
const QString & | n | ) |
|
|
inlineprotectedinherited |
◆ 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
◆ 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); }
◆ stream()
| QDataStream * VP1Deserialise::stream |
( |
| ) |
|
|
private |
◆ systemBase()
| IVP1System * VP1HelperClassBase::systemBase |
( |
| ) |
const |
|
inlineinherited |
◆ verbose()
| bool VP1HelperClassBase::verbose |
( |
| ) |
|
|
inlinestaticinherited |
◆ version()
| qint32 VP1Deserialise::version |
( |
| ) |
const |
◆ 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}
◆ warnUnrestored()
| void VP1Deserialise::warnUnrestored |
( |
QObject * | object | ) |
|
Definition at line 695 of file VP1Deserialise.cxx.
696{
697
698
699 if (!
m_d->checkedUnused)
700 m_d->checkedUnused =
true;
701
702 if (!object)
703 return;
704
705 if (
object->isWidgetType()&&
m_d->ignoredWidgets.contains(
static_cast<QWidget*
>(
object)))
706 return;
707
708 if (
object->isWidgetType()&&!
object->objectName().startsWith(
"qt_")) {
709 QWidget * wid =
static_cast<QWidget*
>(
object);
710 if (!
m_d->handledWidgets.contains(wid)&&
m_d->expectsPersistification(wid)) {
711 QString
s(
"WARNING Unrestored widget of type: "+QString(wid->metaObject()->className())+
" and object name = "+wid->objectName());
714 }
717 }
718 }
719 }
720
721 for (QObject* o :
object->children())
723}
void warnUnrestored(QObject *)
◆ widgetHandled()
| void VP1Deserialise::widgetHandled |
( |
QWidget * | w | ) |
|
◆ m_d
◆ m_helpername
| QString VP1HelperClassBase::m_helpername |
|
privateinherited |
◆ m_system
◆ s_vp1verbose
The documentation for this class was generated from the following files: