28 Q_PROPERTY(QString title READ title WRITE setTitle NOTIFY titleChanged FINAL)
29 Q_PROPERTY(QQuickItem *label READ label WRITE setLabel NOTIFY labelChanged FINAL)
31 Q_PROPERTY(qreal implicitLabelWidth READ implicitLabelWidth NOTIFY implicitLabelWidthChanged FINAL REVISION(2, 5))
32 Q_PROPERTY(qreal implicitLabelHeight READ implicitLabelHeight NOTIFY implicitLabelHeightChanged FINAL REVISION(2, 5))
33 Q_CLASSINFO(
"DeferredPropertyNames",
"background,contentItem,label")
34 QML_NAMED_ELEMENT(GroupBox)
35 QML_ADDED_IN_VERSION(2, 0)
38 explicit QQuickGroupBox(QQuickItem *parent =
nullptr);
41 QString title()
const;
42 void setTitle(
const QString &title);
44 QQuickItem *label()
const;
45 void setLabel(QQuickItem *label);
48 qreal implicitLabelWidth()
const;
49 qreal implicitLabelHeight()
const;
55 Q_REVISION(2, 5)
void implicitLabelWidthChanged();
56 Q_REVISION(2, 5)
void implicitLabelHeightChanged();
59 void componentComplete() override;
61 QFont defaultFont()
const override;
63#if QT_CONFIG(accessibility)
64 QAccessible::Role accessibleRole()
const override;
65 void accessibilityActiveChanged(
bool active) override;
69 Q_DISABLE_COPY(QQuickGroupBox)
70 Q_DECLARE_PRIVATE(QQuickGroupBox)