|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef TITLEBLOCK_PROPERTIES_H
19 #define TITLEBLOCK_PROPERTIES_H
42 void toXml(QDomElement &)
const;
43 void fromXml(
const QDomElement &);
44 void toSettings(QSettings &,
const QString & = QString())
const;
45 void fromSettings(QSettings &,
const QString & = QString());
QList< QString > keys(KeyOrder=None) const
Definition: diagramcontext.cpp:49
void setDateFromString(const QString &)
Definition: titleblockproperties.cpp:226
void fromXml(const QDomElement &, const QString &="property")
Definition: diagramcontext.cpp:157
bool operator!=(const TitleBlockProperties &)
Definition: titleblockproperties.cpp:67
void fromSettings(QSettings &, const QString &)
Definition: diagramcontext.cpp:201
QET::QetCollection collection
Specify the location of the title block.
Definition: titleblockproperties.h:68
QetCollection
Enum used to specify the origin of a collection of thing (title block, element etc....
Definition: qet.h:152
DateManagement
Lists the various ways to handle the date.
Definition: titleblockproperties.h:34
QString auto_page_num
Definition: titleblockproperties.h:63
void fromXml(const QDomElement &)
Definition: titleblockproperties.cpp:105
TitleBlockProperties()
Definition: titleblockproperties.cpp:26
QDate date
Date (displayed by the default template)
Definition: titleblockproperties.h:56
QList< QDomElement > findInDomElement(const QDomElement &, const QString &)
Definition: qet.cpp:333
void fromSettings(QSettings &, const QString &=QString())
Definition: titleblockproperties.cpp:161
DiagramContext context
Container for the additional, user-defined fields.
Definition: titleblockproperties.h:66
virtual ~TitleBlockProperties()
Definition: titleblockproperties.cpp:37
QString title
Folio title (displayed by the default template)
Definition: titleblockproperties.h:54
Definition: titleblockproperties.h:29
void toXml(QDomElement &) const
Definition: titleblockproperties.cpp:76
bool operator==(const TitleBlockProperties &)
Definition: titleblockproperties.cpp:44
QString locmach
Location(displayed by the default template)
Definition: titleblockproperties.h:59
QString qetCollectionToString(const QetCollection &c)
QET::qetCollectionToString.
Definition: qet.cpp:637
QString version
Version (displayed by the default template)
Definition: titleblockproperties.h:61
QString plant
Plant (displayed by the default template)
Definition: titleblockproperties.h:58
static TitleBlockProperties defaultProperties()
TitleBlockProperties::defaultProperties Return the default properties stored in the setting file.
Definition: titleblockproperties.cpp:182
QString exportDate() const
Definition: titleblockproperties.cpp:210
QDate finalDate() const
Definition: titleblockproperties.cpp:195
QString filename
Filename (displayed by the default template)
Definition: titleblockproperties.h:57
QetCollection qetCollectionFromString(const QString &str)
QET::qetCollectionFromString.
Definition: qet.cpp:658
Qt::Edge display_at
Edge to display the titleblock.
Definition: titleblockproperties.h:67
QString author
Author of the diagram/folio (displayed by the default template)
Definition: titleblockproperties.h:55
void toXml(QDomElement &, const QString &="property") const
Definition: diagramcontext.cpp:142
void toSettings(QSettings &, const QString &) const
Definition: diagramcontext.cpp:185
DateManagement useDate
Wheter to use the date attribute.
Definition: titleblockproperties.h:64
void clear()
Definition: diagramcontext.cpp:107
QString template_name
Name of the template used to render the title block - an empty string means "the default template pro...
Definition: titleblockproperties.h:65
void toSettings(QSettings &, const QString &=QString()) const
TitleBlockProperties::toSettings Export the TitleBlockProperties into a QSettings.
Definition: titleblockproperties.cpp:139
void setAutoPageNum(QString autonum)
Definition: titleblockproperties.h:47
QString indexrev
Revision Index (displayed by the default template)
Definition: titleblockproperties.h:60
Definition: assignvariables.cpp:30
@ Common
From common collection.
Definition: qet.h:153
QString folio
Folio information (displayed by the default template)
Definition: titleblockproperties.h:62
Definition: diagramcontext.h:56
@ UseDateValue
use the date attribute
Definition: titleblockproperties.h:35
@ CurrentDate
use the current date
Definition: titleblockproperties.h:36