[Interest] How to produce a cluster of radio buttons?
samjnaa at gmail.com
Fri Aug 31 08:04:54 CEST 2012
On Fri, Aug 31, 2012 at 11:24 AM, Shriramana Sharma <samjnaa at gmail.com> wrote:
> radioWidth = refPtArray [ 0 ] [ 0 ] . sizeHint () . width ()
> refPtWidget . setFixedSize ( radioWidth * 3 - 10, radioWidth * 3 - 10 )
> Actually the last line should read radioWidth * 3 + 1 if I am to go by
> uic's default output but that's too much spacing for my
> taste/requirement and so I reduced this.
Silly me -- those above lines should actually change width to height
throughout and change -10 to +2 (but there should be a better way to
do this than arbitrarily insert +2 or -10 or whatever).
More information about the Interest