mirror of https://github.com/CGAL/cgal
Activate anti-aliasing by default in GraphicsView demos.
This commit is contained in:
parent
f2796d89d8
commit
470f608687
|
|
@ -162,9 +162,6 @@ MainWindow::MainWindow()
|
|||
this->graphicsView->setScene(&scene);
|
||||
this->graphicsView->setMouseTracking(true);
|
||||
|
||||
// Uncomment the following line to get antialiasing by default.
|
||||
// actionUse_Antialiasing->setChecked(true);
|
||||
|
||||
// Turn the vertical axis upside down
|
||||
this->graphicsView->matrix().scale(1, -1);
|
||||
|
||||
|
|
|
|||
|
|
@ -145,9 +145,6 @@ MainWindow::MainWindow()
|
|||
this->graphicsView->setScene(&scene);
|
||||
this->graphicsView->setMouseTracking(true);
|
||||
|
||||
// Uncomment the following line to get antialiasing by default.
|
||||
// actionUse_Antialiasing->setChecked(true);
|
||||
|
||||
// Turn the vertical axis upside down
|
||||
this->graphicsView->matrix().scale(1, -1);
|
||||
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ DemosMainWindow::setupOptionsMenu(QMenu* menuOptions)
|
|||
this, SLOT(setUseAntialiasing(bool)));
|
||||
connect(actionUse_OpenGL, SIGNAL(toggled(bool)),
|
||||
this, SLOT(setUseOpenGL(bool)));
|
||||
actionUse_Antialiasing->setChecked(true);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in New Issue