##// END OF EJS Templates
Removed interaction handling in QCP since they are implemented in...
jeandet -
r1358:48660d9880a2
parent child
Show More
@@ -222,12 +222,6 VisualizationGraphWidget::VisualizationGraphWidget(const QString &name, QWidget
222 // 'Close' options : widget is deleted when closed
222 // 'Close' options : widget is deleted when closed
223 setAttribute(Qt::WA_DeleteOnClose);
223 setAttribute(Qt::WA_DeleteOnClose);
224
224
225 // Set qcpplot properties :
226 // - zoom is enabled
227 // - Mouse wheel on qcpplot is intercepted to determine the zoom orientation
228 ui->widget->setInteractions(QCP::iRangeZoom);
229 ui->widget->axisRect()->setRangeDrag(Qt::Horizontal | Qt::Vertical);
230
231 // The delegate must be initialized after the ui as it uses the plot
225 // The delegate must be initialized after the ui as it uses the plot
232 impl->m_RenderingDelegate = std::make_unique<VisualizationGraphRenderingDelegate>(*this);
226 impl->m_RenderingDelegate = std::make_unique<VisualizationGraphRenderingDelegate>(*this);
233
227
General Comments 0
You need to be logged in to leave comments. Login now