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:
xavier
2010-12-24 23:35:40 +00:00
parent 649e3de3e6
commit aeae9a9f89
11 changed files with 140 additions and 37 deletions

View File

@@ -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_;