I have a constructor of a widget whos inits the value of a spinBox. It is look like the first signal (to change the value) it is lost. What is the correct way to init a spinBox from a computed variable.
I have a constructor of a widget whos inits the value of a spinBox. It is look like the first signal (to change the value) it is lost. What is the correct way to init a spinBox from a computed variable.
Without actually looking at the docs (which I'm sure include the answer) I'd say it would be something like:
where value is your computed variable.
Alternatively you could just use:
or something along those lines.
Again, have a look at the documentation.
shenakan (21st August 2009)
Bookmarks