##// END OF EJS Templates
Sets plot properties in a graph
Alexandre Leroux -
r178:9f84e7d54b1f
parent child
Show More
@@ -18,6 +18,10 VisualizationGraphWidget::VisualizationGraphWidget(QWidget *parent)
18 impl{spimpl::make_unique_impl<VisualizationGraphWidgetPrivate>()}
18 impl{spimpl::make_unique_impl<VisualizationGraphWidgetPrivate>()}
19 {
19 {
20 ui->setupUi(this);
20 ui->setupUi(this);
21
22 // Set qcpplot properties :
23 // - Drag and zoom are enabled
24 ui->widget->setInteractions(QCP::iRangeDrag | QCP::iRangeZoom);
21 }
25 }
22
26
23 VisualizationGraphWidget::~VisualizationGraphWidget()
27 VisualizationGraphWidget::~VisualizationGraphWidget()
General Comments 0
You need to be logged in to leave comments. Login now