aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickgroupbox_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-12-14 11:33:54 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-12-14 10:53:56 +0000
commit4206f54c5080c0e45aabd42d6c6590b04b84b6a1 (patch)
treebfde430b5a4708f4797b393e36f97f2fa39a93eb /src/quicktemplates2/qquickgroupbox_p.h
parent04337fae3704e5037dc619e847b6c79409b19669 (diff)
GroupBox: use deferred execution
Task-number: QTBUG-50992 Change-Id: I3e5c8bf7cc39fae0e882440079bb43292ace1810 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickgroupbox_p.h')
-rw-r--r--src/quicktemplates2/qquickgroupbox_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickgroupbox_p.h b/src/quicktemplates2/qquickgroupbox_p.h
index e35db1fc..0468462e 100644
--- a/src/quicktemplates2/qquickgroupbox_p.h
+++ b/src/quicktemplates2/qquickgroupbox_p.h
@@ -59,6 +59,7 @@ class Q_QUICKTEMPLATES2_PRIVATE_EXPORT QQuickGroupBox : public QQuickFrame
Q_OBJECT
Q_PROPERTY(QString title READ title WRITE setTitle NOTIFY titleChanged FINAL)
Q_PROPERTY(QQuickItem *label READ label WRITE setLabel NOTIFY labelChanged FINAL)
+ Q_CLASSINFO("DeferredPropertyNames", "background,contentItem,label")
public:
explicit QQuickGroupBox(QQuickItem *parent = nullptr);
@@ -74,6 +75,8 @@ Q_SIGNALS:
void labelChanged();
protected:
+ void componentComplete() override;
+
QFont defaultFont() const override;
#if QT_CONFIG(accessibility)