|
KDDockWidgets API Documentation
1.5
|
Go to the documentation of this file.
14 #include "Logging_p.h"
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();
Q_INVOKABLE void onMouseDoubleClicked()
Q_INVOKABLE void onMouseReleased()
Q_INVOKABLE void onMousePressed()
Widget * asWidget() override
Widget * createRubberBand(Widget *parent) override
QPoint toPoint() const const
Q_INVOKABLE void onMouseMoved(QPointF localPos)
SeparatorQuick(Layouting::Widget *parent=nullptr)