27 Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation NOTIFY orientationChanged FINAL)
28 Q_PROPERTY(
bool horizontal READ isHorizontal NOTIFY orientationChanged FINAL)
29 Q_PROPERTY(
bool vertical READ isVertical NOTIFY orientationChanged FINAL)
30 QML_NAMED_ELEMENT(ToolSeparator)
31 QML_ADDED_IN_VERSION(2, 1)
34 explicit QQuickToolSeparator(QQuickItem *parent =
nullptr);
36 Qt::Orientation orientation()
const;
37 void setOrientation(Qt::Orientation orientation);
39 bool isHorizontal()
const;
40 bool isVertical()
const;
43 void orientationChanged();
46 QFont defaultFont()
const override;
48#if QT_CONFIG(accessibility)
49 QAccessible::Role accessibleRole()
const override;
53 Q_DISABLE_COPY(QQuickToolSeparator)
54 Q_DECLARE_PRIVATE(QQuickToolSeparator)