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());
Definition diagramcontext.h:57
Definition titleblockproperties.h:29
DateManagement
Lists the various ways to handle the date.
Definition titleblockproperties.h:34
@ CurrentDate
use the current date
Definition titleblockproperties.h:36
@ UseDateValue
use the date attribute
Definition titleblockproperties.h:35
QDate date
Date (displayed by the default template)
Definition titleblockproperties.h:56
bool operator==(const TitleBlockProperties &)
Definition titleblockproperties.cpp:45
void toXml(QDomElement &) const
Definition titleblockproperties.cpp:77
DiagramContext context
Container for the additional, user-defined fields.
Definition titleblockproperties.h:66
QET::QetCollection collection
Specify the location of the title block.
Definition titleblockproperties.h:68
QString indexrev
Revision Index (displayed by the default template)
Definition titleblockproperties.h:60
void fromSettings(QSettings &, const QString &=QString())
Definition titleblockproperties.cpp:164
QString auto_page_num
Definition titleblockproperties.h:63
static TitleBlockProperties defaultProperties()
TitleBlockProperties::defaultProperties Return the default properties stored in the setting file.
Definition titleblockproperties.cpp:185
TitleBlockProperties()
Definition titleblockproperties.cpp:26
void fromXml(const QDomElement &)
Definition titleblockproperties.cpp:107
QDate finalDate() const
Definition titleblockproperties.cpp:198
virtual ~TitleBlockProperties()
Definition titleblockproperties.cpp:37
QString locmach
Location(displayed by the default template)
Definition titleblockproperties.h:59
QString author
Author of the diagram/folio (displayed by the default template)
Definition titleblockproperties.h:55
void setDateFromString(const QString &)
Definition titleblockproperties.cpp:231
bool operator!=(const TitleBlockProperties &)
Definition titleblockproperties.cpp:68
QString filename
Filename (displayed by the default template)
Definition titleblockproperties.h:57
QString plant
Plant (displayed by the default template)
Definition titleblockproperties.h:58
Qt::Edge display_at
Edge to display the titleblock.
Definition titleblockproperties.h:67
QString version
Version (displayed by the default template)
Definition titleblockproperties.h:61
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
DateManagement useDate
Wheter to use the date attribute.
Definition titleblockproperties.h:64
void toSettings(QSettings &, const QString &=QString()) const
TitleBlockProperties::toSettings Export the TitleBlockProperties into a QSettings.
Definition titleblockproperties.cpp:141
QString exportDate() const
Definition titleblockproperties.cpp:214
QString title
Folio title (displayed by the default template)
Definition titleblockproperties.h:54
QString folio
Folio information (displayed by the default template)
Definition titleblockproperties.h:62
void setAutoPageNum(QString autonum)
Definition titleblockproperties.h:47
QetCollection
Enum used to specify the origin of a collection of thing (title block, element etc....
Definition qet.h:148
Definition assignvariables.cpp:31