23 : QQuickItem(qobject_cast<QQuickItem *>(parent->asQObject()))
27 createQQuickItem(QStringLiteral(
":/kddockwidgets/multisplitter/private/multisplitter/qml/Separator.qml"),
this);
35 return Separator::isVertical();
41 qWarning() << Q_FUNC_INFO <<
"Parent is required";
55 Separator::onMousePress();
60 const QPointF pos = QQuickItem::mapToItem(parentItem(), localPos);
61 Separator::onMouseMove(pos.
toPoint());
66 Separator::onMouseReleased();
71 Separator::onMouseDoubleClick();
Widget * asWidget() override
SeparatorQuick(Layouting::Widget *parent=nullptr)
Q_INVOKABLE void onMouseReleased()
Widget * createRubberBand(Widget *parent) override
Q_INVOKABLE void onMousePressed()
Q_INVOKABLE void onMouseMoved(QPointF localPos)
Q_INVOKABLE void onMouseDoubleClicked()
QPoint toPoint() const const