[Qt-interest] QGroupBox with a MultiCell Widget
Jake Colman
colman at ppllc.com
Wed Apr 29 05:13:24 CEST 2009
I want to layout a QGroupBox in a grid but I need one of the widgets to
be multi-cell the way it would be in a QGridLayout. The QGroupBox API
does not support this. Is there a way to create the QGroupBox and have
it use a QGridLayout that contains my widgets? If I create the
QGroupBox without a layout, I cannot use its layout() method to be the
parent of a QGridLayout() since layout() returns NULL. If I create the
QGroupBox() with some bogus layout (e.g., 1 horizontal strip) the
layout() method will return a value. Is it legitimate that use that
value as the parent of a QGridLayout and will that QGridLayout supercede
the bogus layout in the QGroupBox?
Thanks.
...Jake
--
Jake Colman | Director, Software Development
Principia Partners LLC
101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770
t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929
e: colman at ppllc.com | w: www.principiapartners.com
Credit technology innovation awards winner 2008
More information about the Qt-interest-old
mailing list