[Qt-interest] Connect checkbox states

Christian Lackas delta at lackas.net
Tue Jun 16 20:29:23 CEST 2009


* David Boddie <david.boddie at nokia.com> [090616 16:25]:

Hi David,

> > how can I connect the checkbox state changed signal to the respective
> > setter slot of a second checkbox?
> > Why is there no simple setChecked(int) or setCheckState(int) slot?
> > Am I missing something?
> Have you tried connecting the toggled(bool) signal to the
> setChecked(bool) slot?

THAT is the combination I have been looking for (and did not come to my
mind). Thanks for your help. I had a feeling that there is actually a
simple solution.

Christian

-- 
http://www.lackas.net/



More information about the Qt-interest-old mailing list