Commit 8e16697c authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Thomas Hartmann
Browse files

QmlDesigner.PropertyEditor: Adding QmlAnchorBindingProxy::isInLayout

Change-Id: Iee07466c5bbd3acf1c265683f4960d20e58e285c
Reviewed-by: default avatarTim Jenssen <>
parent 98f2a74f
......@@ -300,6 +300,11 @@ bool QmlAnchorBindingProxy::hasParent()
return m_qmlItemNode.isValid() && m_qmlItemNode.hasNodeParent();
bool QmlAnchorBindingProxy::isInLayout() const
return false;
bool QmlAnchorBindingProxy::isFilled()
return m_qmlItemNode.isValid()
......@@ -52,6 +52,7 @@ class QmlAnchorBindingProxy : public QObject
Q_PROPERTY(bool leftAnchored READ leftAnchored WRITE setLeftAnchor NOTIFY leftAnchorChanged)
Q_PROPERTY(bool rightAnchored READ rightAnchored WRITE setRightAnchor NOTIFY rightAnchorChanged)
Q_PROPERTY(bool hasParent READ hasParent NOTIFY parentChanged)
Q_PROPERTY(bool isInLayout READ isInLayout NOTIFY parentChanged)
Q_PROPERTY(QString topTarget READ topTarget WRITE setTopTarget NOTIFY topTargetChanged)
Q_PROPERTY(QString bottomTarget READ bottomTarget WRITE setBottomTarget NOTIFY bottomTargetChanged)
......@@ -103,6 +104,8 @@ public:
bool hasParent();
bool isFilled();
bool isInLayout() const;
void removeTopAnchor();
void removeBottomAnchor();
void removeLeftAnchor();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment