class твойВиджет : public QWidget{ Q_OBJECT protected: void paintEvent(QPaintEvent *event); void contextMenuEvent(QContextMenuEvent *event); void showEvent( QShowEvent* event ); void resizeEvent ( QResizeEvent * event ); void keyPressEvent ( QKeyEvent * event ); void wheelEvent ( QWheelEvent * event ); void focusInEvent ( QFocusEvent * event ); void focusOutEvent ( QFocusEvent * event ); void mouseDoubleClickEvent( QMouseEvent * event ); void mouseReleaseEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); void mouseEventProcess(QMouseEvent *event, int evType = 0); void mousePressEvent(QMouseEvent *event);
QList<QGraphicsItem*> items = scene->selectedItems();
void mousePressEvent(QMouseEvent *event);
event->pos()