Hi I connected bouttongroup0 (signal pressed (int)) to SLOT below. But the slot isn't called. In buttonGroup0 I inserted 3label an 3 spinbox and I arargnge them in a layout..
I'd like my slot recognze the buttonGruoupX from where the is started the change of value spinbox...thnaks.
Qt Code:
void MainForm::lightPos(int val) { printf("lightPos\n"); if (bgroup == this->buttonGroup0) printf("0 buttton group\n"); }To copy to clipboard, switch view to plain text mode
Bookmarks