Element editor : Now every "old text" are converted to the new dynamic text, when open an element in the element editor

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5263 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2018-03-11 14:44:21 +00:00
parent bfa706ca29
commit a6a875c7ce
3 changed files with 17 additions and 36 deletions

View File

@@ -42,9 +42,6 @@ class PartDynamicTextField : public QGraphicsTextItem, public CustomElementPart
Q_PROPERTY(bool frame READ frame WRITE setFrame NOTIFY frameChanged)
Q_PROPERTY(qreal textWidth READ textWidth WRITE setTextWidth NOTIFY textWidthChanged)
public:
static bool canImportFromTextField(const QDomElement &dom_element);
public:
///PROPERTY
void setProperty(const char *name, const QVariant &value) override {QGraphicsTextItem::setProperty(name, value);}