38 void draw(QPainter &painter);
39 void setVisible(
bool visible);
40 void setEnabled(
bool enabled);
41 bool eventFilter(QObject *obj, QEvent *event)
override;
45 QPoint updateCanvasBoundaries(QPoint position, QWidget *canvasWidget)
const;
46 QPoint initialDragHandlePosition()
const;
47 void drawActionBarBackground(QPainter &gc)
const;
49 bool handlePress(QEvent *event,
const QPoint &pos, Qt::MouseButton
button = Qt::LeftButton);
50 bool handleMove(QEvent *event,
const QPoint &pos);
54 void movePanelWidgets();
56 QPoint mouseEventPos(
const QMouseEvent *mouseEvent);
57 QPoint tabletEventPos(
const QTabletEvent *tabletEvent);
60 bool touchEventPos(
const QTouchEvent *touchEvent, QPoint &outPos);
62 constexpr QPoint transformHandleCoords(QPoint pos);
65 QScopedPointer<Private>
d;