Activate anti-aliasing by default in GraphicsView demos.

This commit is contained in:
Laurent Rineau 2008-07-09 13:49:47 +00:00
parent f2796d89d8
commit 470f608687
3 changed files with 1 additions and 6 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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