Not in MiWidget, but in SpinVariable.
You do not emit a signal at the moment from SpinVariable.
Sorry but I don't understand.
I emit it right here, I think:
QObject::connect(spin1,
SIGNAL(valueChanged
(int)), area,
SLOT(setposicionX
(int)));
QObject::connect(spin2,
SIGNAL(valueChanged
(int)), area,
SLOT(setposicionY
(int)));
QObject::connect(spin1, SIGNAL(valueChanged(int)), area, SLOT(setposicionX(int)));
QObject::connect(spin2, SIGNAL(valueChanged(int)), area, SLOT(setposicionY(int)));
To copy to clipboard, switch view to plain text mode
Right there, when the spinbox value is changed it should trigger the setposicion functions.
Thanks for the help!
Bookmarks