Hi, I have linked a button to this SLOT;it's a toggled button in a exclusive toolbar button;
If my button is down and if I click again on it, the putton is down again (OK), but start SLOT and it executes "emit (setEdit(0));" I don't want this; my button is down still; sould it executes the first part of 'if'? Thanks
Qt Code:
void MainForm::zoomingIn( bool pressed ) { if (pressed) { printf("zoomIN\n"); emit (setEdit(3)); } else { emit (setEdit(0)); } }To copy to clipboard, switch view to plain text mode
Bookmarks