[Qt-interest] Setting a label's value from a slider automatically on launch

David Doria daviddoria at gmail.com
Wed Aug 24 19:03:31 CEST 2011


> Remember that if slider isn't moved, no signals are fired, so you need
> to set the first value by hand.

Yea, that is definitely the issue, I was just wondering if there was
some magic way to tell everything to "fire your initialization
signals" or something like that. When you get a bunch of controls on
the form, manually setting them all seems to leave a lot of room for
error. I just wanted to check here first to make sure this is a common
issue to need to handle before continuing to do them manually.

David



More information about the Qt-interest-old mailing list