hi, I solved with comment line below; why? I have a toolbar with zoomIN zoomOUT action....with these lines, it happen that I can't push down the action( eg if zommIN is down and I choose zoomOut, zoomOUT action dosen't became on; zoomIN is still on!!!...
Why this behavoiur? thanks
action_group->add(this->fileOpenAction);
action_group->add(this->fileSaveAction);
action_group->add(this->fileSaveAsAction);
//action_group->add(this->zoomInAction);
//action_group->add(this->zoomOutAction);
connect(action_group, SIGNAL(activated() ), this, SLOT(routeAction() ));
action_group = new QActionGroup( this );
action_group->add(this->fileOpenAction);
action_group->add(this->fileSaveAction);
action_group->add(this->fileSaveAsAction);
//action_group->add(this->zoomInAction);
//action_group->add(this->zoomOutAction);
connect(action_group, SIGNAL(activated() ), this, SLOT(routeAction() ));
To copy to clipboard, switch view to plain text mode
Bookmarks