[Gambas-user] Checkbox value
Laurent Carlier
lordheavy at ...512...
Wed Mar 8 17:12:43 CET 2006
Le Mercredi 8 Mars 2006 17:01, R. Stormo a écrit :
> In the help file it says the value can be true/false but what value to
> check for
> then tristate is set?
>
> Is there values checked, unchecked, partchecked or similar?
from qt documentation :
"In addition to the usual checked and unchecked states, QCheckBox optionally
provides a third state to indicate "no change". This is useful whenever you
need to give the user the option of neither checking nor unchecking a
checkbox. If you need this third state, enable it with setTristate() and use
state() to query the current toggle state. When a tristate checkbox changes
state, it emits the stateChanged() signal."
Regards,
--
jabber : lordheavy at ...943...
mail : lordheavymREMOVEME at ...626...
More information about the User
mailing list