summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h')
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h b/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h
index c85d0e41aa..77be3538e3 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h
+++ b/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h
@@ -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();