@@ -965,6 +965,11 void VisualizationGraphWidget::mousePressEvent(QMouseEvent *event) | |||||
965 | if(auto item = impl->m_plot->itemAt(event->pos())) |
|
965 | if(auto item = impl->m_plot->itemAt(event->pos())) | |
966 | { |
|
966 | { | |
967 | emit impl->m_plot->itemClick(item,event); |
|
967 | emit impl->m_plot->itemClick(item,event); | |
|
968 | if(qobject_cast<VisualizationSelectionZoneItem*>(item)) | |||
|
969 | { | |||
|
970 | setCursor(Qt::ClosedHandCursor); | |||
|
971 | impl->enterPlotDrag(event->pos()); | |||
|
972 | } | |||
968 | } |
|
973 | } | |
969 | else |
|
974 | else | |
970 | { |
|
975 | { |
General Comments 0
You need to be logged in to leave comments.
Login now