Static text of element are now exported to dxf

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5896 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2019-05-28 19:22:36 +00:00
parent 571d9fdac5
commit 4cbf103cbc
3 changed files with 56 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ class QPicture;
class QUuid;
class QDomElement;
class QPainter;
class QGraphicsSimpleTextItem;
/**
* @brief The ElementPictureFactory class
@@ -43,6 +44,7 @@ class ElementPictureFactory
QList<QRectF> m_circles;
QList<QVector<QPointF>> m_polygons;
QList<QVector<qreal>> m_arcs;
QList<QGraphicsSimpleTextItem*> m_texts;
};
@@ -88,7 +90,7 @@ class ElementPictureFactory
ElementPictureFactory() {}
ElementPictureFactory (const ElementPictureFactory &);
ElementPictureFactory operator= (const ElementPictureFactory &);
~ElementPictureFactory() {}
~ElementPictureFactory();
bool build(const ElementsLocation &location, QPicture *picture=nullptr, QPicture *low_picture=nullptr);
void parseElement(const QDomElement &dom, QPainter &painter, primitives &prim) const;