Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 8c4dcbdf authored by saubatn's avatar saubatn
Browse files

FIXED Rename new QActionGroup SIGNAL from selected to triggered (Qt5 changes).

parent d655c9be
......@@ -798,7 +798,7 @@ void InteractiveViewer::initActions() {
// -- display mode
QActionGroup *displayGrp = new QActionGroup ( this );
connect ( displayGrp, SIGNAL ( selected ( QAction* ) ), this, SLOT ( highlightModeChanged ( QAction* ) ) );
connect ( displayGrp, SIGNAL ( triggered ( QAction* ) ), this, SLOT ( highlightModeChanged ( QAction* ) ) );
highlightSelectionAction = new QAction ( tr ( "&Selection" ), displayGrp );
highlightSelectionAction->setCheckable ( true );
......@@ -818,7 +818,7 @@ void InteractiveViewer::initActions() {
//-- camera mode
QActionGroup *cameraModeGrp = new QActionGroup ( this );
connect ( cameraModeGrp, SIGNAL ( selected ( QAction* ) ), this, SLOT ( viewControlModeChanged ( QAction* ) ) );
connect ( cameraModeGrp, SIGNAL ( triggered ( QAction* ) ), this, SLOT ( viewControlModeChanged ( QAction* ) ) );
controlModeTrackballAction = new QAction ( tr ( "&Trackball" ), cameraModeGrp );
controlModeTrackballAction->setCheckable ( true );
......@@ -834,7 +834,7 @@ void InteractiveViewer::initActions() {
//-- camera orientation mode
QActionGroup *cameraOrientationGrp = new QActionGroup ( this );
connect ( cameraOrientationGrp, SIGNAL ( selected ( QAction* ) ), this, SLOT ( cameraOrientationChanged ( QAction* ) ) );
connect ( cameraOrientationGrp, SIGNAL ( triggered ( QAction* ) ), this, SLOT ( cameraOrientationChanged ( QAction* ) ) );
cameraOrientationRightDownAction = new QAction ( tr ( "x-right y-down z-back" ), cameraOrientationGrp );
cameraOrientationRightDownAction->setCheckable ( true );
......@@ -901,7 +901,7 @@ void InteractiveViewer::initActions() {
//--- actions of the picking menu
QActionGroup *pickingGrp = new QActionGroup ( this );
connect ( pickingGrp, SIGNAL ( selected ( QAction* ) ), this, SLOT ( pickingModeChanged ( QAction* ) ) );
connect ( pickingGrp, SIGNAL ( triggered ( QAction* ) ), this, SLOT ( pickingModeChanged ( QAction* ) ) );
pickCellAction = new QAction ( QPixmap ( ":/pick_cell" ), tr ( "Pick &cell" ), pickingGrp );
pickCellAction->setCheckable ( true );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment