40 void setVisible(
bool visible);
41 void setEnabled(
bool enabled);
42 bool eventFilter(QObject *obj, QEvent *event)
override;
47 void showContextMenu(
const QPoint& pos);
48 void disableSelectionActionsPanel();
49 void configureSelectionActionsPanel();
52 QPoint updateCanvasBoundaries(QPoint position, QWidget *canvasWidget)
const;
53 QPoint initialDragHandlePosition()
const;
56 bool handlePress(QEvent *event,
const QPoint &pos, Qt::MouseButton
button = Qt::LeftButton);
57 bool handleMove(QEvent *event,
const QPoint &pos);
61 void movePanelWidgets();
63 QPoint mouseEventPos(
const QMouseEvent *mouseEvent);
64 QPoint tabletEventPos(
const QTabletEvent *tabletEvent);
67 bool touchEventPos(
const QTouchEvent *touchEvent, QPoint &outPos);
69 QPoint transformHandleCoords(QPoint pos);
72 QScopedPointer<Private>
d;