Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, February 2007
How to layout - parent/child


Message 1 in thread

Hi, All

    How to get a layout like the following where
widget B is derived from widget A?


|--------|
|        |
|   A    |
|        |
|   B    |
|--------|


Thanks
-- 
 [ signature omitted ] 

Message 2 in thread

On 02.02.07 10:26:06, Honglin Ye wrote:
>     How to get a layout like the following where
> widget B is derived from widget A?

Use a vertical layout. Class inheritance doesn't matter at all for
layouts as long as its a layoutable class (i.e. QWidget or QSpacerItem
or QLayout subclass)

Andreas

-- 
 [ signature omitted ]