26 enum class CallBackFlag {
28 SelectionRectangleChanged
31 virtual QQuickItem *selectionPointerHandlerTarget()
const = 0;
33 virtual bool startSelection(
const QPointF &pos, Qt::KeyboardModifiers modifiers) = 0;
34 virtual void setSelectionStartPos(
const QPointF &pos) = 0;
35 virtual void setSelectionEndPos(
const QPointF &pos) = 0;
36 virtual void clearSelection() = 0;
37 virtual void normalizeSelection() = 0;
39 virtual QRectF selectionRectangle()
const = 0;
40 virtual QSizeF scrollTowardsPoint(
const QPointF &pos,
const QSizeF &step) = 0;
42 virtual void setCallback(std::function<
void(CallBackFlag)> func) = 0;