[Clam-devel] Button based controls

David García Garzón dgarcia at iua.upf.edu
Wed Apr 11 19:22:18 PDT 2007


Now buttons can send boolean control values (0.0, 1.0) when checked/unchecked.
This includes PK's PixmapButton, but also QPushButton, QCheckBox, and 
QRadioButton. You just need to use as name prefix InControlBool__ instead of 
InControl__

Just as demo i used a PixmapButton on the gender change. See the screenshots. 
But i think it would be nicer in this case to use a pair of RadioButton or a 
pair of regular QPushButtons.

Commit #9988

-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
(Home) vokimon at telefonica adot net
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070412/1b0a69a6/attachment-0002.pgp>


More information about the clam-devel mailing list