Hi, I'd like break a connect (make from designer and re-connect). I try this:
MainForm* w;
disconnect(w->cubeSpinBoxHeight, 0, w, 0 );
w->cubeSpinBoxHeight->setValue(0);
connect(w->cubeSpinBoxHeight, SIGNAL(valueChanged(int)),w, SLOT(w->setCubeDimension(int)));
disconnect(w->cubeSpinBoxHeight, 0, w, 0 );
w->cubeSpinBoxHeight->setValue(0);
connect(w->cubeSpinBoxHeight, SIGNAL(valueChanged(int)),w, SLOT(w->setCubeDimension(int)));
To copy to clipboard, switch view to plain text mode
But connect don't work! The re-connect is the same in the qtDesigner (and at startup it works!). What do I wrong?
Bookmarks