mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-21 11:59:58 +01:00
Added a combo box in the title block properties to choose the template that will render the title block.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1134 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -57,8 +57,7 @@ class TitleBlockTemplate : public QObject {
|
||||
public:
|
||||
bool loadFromXmlFile(const QString &);
|
||||
bool loadFromXmlElement(const QDomElement &);
|
||||
void setContext(const DiagramContext &);
|
||||
|
||||
QString name() const;
|
||||
QList<int> columnsWidth(int) const;
|
||||
int height() const;
|
||||
|
||||
@@ -83,6 +82,7 @@ class TitleBlockTemplate : public QObject {
|
||||
// attributs
|
||||
private:
|
||||
QDomDocument xml_description_;
|
||||
QString name_;
|
||||
QHash<QString, QSvgRenderer *> vector_logos_;
|
||||
QHash<QString, QPixmap *> bitmap_logos_;
|
||||
QList<int> rows_heights_;
|
||||
|
||||
Reference in New Issue
Block a user