mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-31 00:00:52 +01:00
Dynamic element text editor :
When add a new text, the item text in the tree view is selected and expanded. When edit the pos of a text in the tree view, the new position is set directly, no need to lose focus or press enter key anymore for update the pos of the text. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5089 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -35,6 +35,7 @@ class QPropertyUndoCommand : public QUndoCommand
|
||||
public:
|
||||
QPropertyUndoCommand(QObject *object, const char *property_name, const QVariant &old_value, const QVariant &new_value, QUndoCommand *parent = nullptr);
|
||||
QPropertyUndoCommand(QObject *object, const char *property_name, const QVariant &old_value, QUndoCommand *parent = nullptr);
|
||||
QPropertyUndoCommand(const QPropertyUndoCommand *other);
|
||||
|
||||
void setNewValue(const QVariant &new_value);
|
||||
void enableAnimation (bool animate = true);
|
||||
|
||||
Reference in New Issue
Block a user