scidavis  2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot).
  Fossies Dox: scidavis-2.3.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

AspectPrivate.h
Go to the documentation of this file.
1 
11 
29 #ifndef ASPECT_PRIVATE_H
30 #define ASPECT_PRIVATE_H
31 
32 #include "AbstractAspect.h"
33 
34 #include <QString>
35 #include <QDateTime>
36 #include <QList>
37 #include <QSettings>
38 #include <QHash>
39 
42 {
43  public:
44  Private(AbstractAspect * owner, const QString &name);
45  ~Private();
46 
49  int indexOfChild(const AbstractAspect *child) const;
51  int childCount() const;
53 
54  QString name() const;
55  void setName(const QString &value);
56  QString comment() const;
57  void setComment(const QString &value);
58  QString captionSpec() const;
59  void setCaptionSpec(const QString &value);
60  QDateTime creationTime() const;
61  void setCreationTime(const QDateTime& time);
62 
63  QString caption() const;
64  AbstractAspect * owner() { return d_owner; }
65  AbstractAspect * parent() { return d_parent; }
66 
67  QString uniqueNameFor(const QString &current_name) const;
68 
69  static QSettings * g_settings;
70  static QHash<QString, QVariant> g_defaults;
71 
72  private:
73  static int indexOfMatchingBrace(const QString &str, int start);
74  QList< AbstractAspect* > d_children;
76  QDateTime d_creation_time;
79 };
80 
81 #endif // ifndef ASPECT_PRIVATE_H
AbstractAspect::Private::d_parent
AbstractAspect * d_parent
Definition: AspectPrivate.h:78
AbstractAspect::Private::comment
QString comment() const
Definition: AspectPrivate.cpp:134
AbstractAspect::Private::addChild
void addChild(AbstractAspect *child)
Definition: AspectPrivate.cpp:56
AbstractAspect::Private::captionSpec
QString captionSpec() const
Definition: AspectPrivate.cpp:146
AbstractAspect::Private::caption
QString caption() const
Definition: AspectPrivate.cpp:171
str
#define str(x)
Definition: PythonScripting.cpp:41
AbstractAspect::Private::d_comment
QString d_comment
Definition: AspectPrivate.h:75
AbstractAspect::Private::uniqueNameFor
QString uniqueNameFor(const QString &current_name) const
Definition: AspectPrivate.cpp:201
AbstractAspect::Private::indexOfMatchingBrace
static int indexOfMatchingBrace(const QString &str, int start)
Definition: AspectPrivate.cpp:163
AbstractAspect::Private::childCount
int childCount() const
Definition: AspectPrivate.cpp:111
AbstractAspect::index
int index() const
Return my position in my parent's list of children.
Definition: AbstractAspect.h:137
AbstractAspect::Private::d_children
QList< AbstractAspect * > d_children
Definition: AspectPrivate.h:74
AbstractAspect::Private::indexOfChild
int indexOfChild(const AbstractAspect *child) const
Definition: AspectPrivate.cpp:91
AbstractAspect::Private::~Private
~Private()
Definition: AspectPrivate.cpp:50
AbstractAspect::Private::setComment
void setComment(const QString &value)
Definition: AspectPrivate.cpp:139
AbstractAspect::Private::removeChild
int removeChild(AbstractAspect *child)
Definition: AspectPrivate.cpp:98
AbstractAspect::Private::g_defaults
static QHash< QString, QVariant > g_defaults
Definition: AspectPrivate.h:70
AbstractAspect::Private::d_name
QString d_name
Definition: AspectPrivate.h:75
AbstractAspect::Private::owner
AbstractAspect * owner()
Definition: AspectPrivate.h:64
AbstractAspect::Private
Private data managed by AbstractAspect.
Definition: AspectPrivate.h:42
AbstractAspect::Private::name
QString name() const
Definition: AspectPrivate.cpp:122
AbstractAspect::Private::creationTime
QDateTime creationTime() const
Definition: AspectPrivate.cpp:196
AbstractAspect::Private::parent
AbstractAspect * parent()
Definition: AspectPrivate.h:65
AbstractAspect::Private::setCaptionSpec
void setCaptionSpec(const QString &value)
Definition: AspectPrivate.cpp:151
AbstractAspect::Private::insertChild
void insertChild(int index, AbstractAspect *child)
Definition: AspectPrivate.cpp:61
AbstractAspect::Private::child
AbstractAspect * child(int index)
Definition: AspectPrivate.cpp:116
AbstractAspect::Private::setName
void setName(const QString &value)
Definition: AspectPrivate.cpp:127
AbstractAspect::Private::d_owner
AbstractAspect * d_owner
Definition: AspectPrivate.h:77
AbstractAspect::Private::setCreationTime
void setCreationTime(const QDateTime &time)
Definition: AspectPrivate.cpp:158
AbstractAspect.h
AbstractAspect::Private::d_creation_time
QDateTime d_creation_time
Definition: AspectPrivate.h:76
AbstractAspect::Private::g_settings
static QSettings * g_settings
Definition: AspectPrivate.h:69
AbstractAspect
Base class of all persistent objects in a Project.
Definition: AbstractAspect.h:86
AbstractAspect::Private::Private
Private(AbstractAspect *owner, const QString &name)
Definition: AspectPrivate.cpp:44
AbstractAspect::Private::d_caption_spec
QString d_caption_spec
Definition: AspectPrivate.h:75