mirror of https://github.com/CGAL/cgal
Call graphicsView->setMouseTracking(true). It seems to be on by default,
but the documentation does not say so.
This commit is contained in:
parent
be4a3ad225
commit
95af17375f
|
|
@ -143,6 +143,7 @@ MainWindow::MainWindow()
|
|||
scene.setItemIndexMethod(QGraphicsScene::NoIndex);
|
||||
scene.setSceneRect(-100, -100, 100, 100);
|
||||
this->graphicsView->setScene(&scene);
|
||||
this->graphicsView->setMouseTracking(true);
|
||||
|
||||
// Uncomment the following line to get antialiasing by default.
|
||||
// actionUse_Antialiasing->setChecked(true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue