mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-14 13:29:58 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user