mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-07 23:29:59 +01:00
Allow user to select common or custom title block as default title block for a new project / diagram in project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3912 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <QtCore>
|
||||
#include <QtXml>
|
||||
#include "templatelocation.h"
|
||||
#include "qet.h"
|
||||
class TitleBlockTemplate;
|
||||
class QETProject;
|
||||
|
||||
@@ -55,6 +56,8 @@ class TitleBlockTemplatesCollection : public QObject {
|
||||
virtual void setTitle(const QString &);
|
||||
virtual QString protocol() const;
|
||||
virtual void setProtocol(const QString &);
|
||||
virtual QET::QetCollection collection () const;
|
||||
virtual void setCollection (QET::QetCollection);
|
||||
virtual QETProject *parentProject();
|
||||
virtual QList<TitleBlockTemplateLocation> templatesLocations();
|
||||
|
||||
@@ -68,6 +71,7 @@ class TitleBlockTemplatesCollection : public QObject {
|
||||
QString title_;
|
||||
/// Protocol used to designate this collection
|
||||
QString protocol_;
|
||||
QET::QetCollection m_collection;
|
||||
/// Already parsed embedded titleblock templates
|
||||
QHash<QString, TitleBlockTemplate *> titleblock_templates_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user