| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 4 | |
Is there any widget that would allow dynamical adjusting of two widgets height in QVerticalLayout? I.e. if I grab such widget with mouse and move it one of my widgets becomes smaller and aother one is growing. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.
Vladimir Pouzanov wrote: > Is there any widget that would allow dynamical adjusting of two widgets height > in QVerticalLayout? I.e. if I grab such widget with mouse and move it one of > my widgets becomes smaller and aother one is growing. > QSplitter(Qt::Vertical) sounds like what you are looking for. Is there something more advanced that you need here? -- [ signature omitted ]
On Wednesday 19 December 2007 18:53:39 Rob Douglas wrote: > QSplitter(Qt::Vertical) sounds like what you are looking for. Is there > something more advanced that you need here? It fits my needs perfectly. Is there any way to add it from designer or I have to re-create my GUI in plain code? -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.
Farcaller wrote: > On Wednesday 19 December 2007 18:53:39 Rob Douglas wrote: > > QSplitter(Qt::Vertical) sounds like what you are looking for. Is there > > something more advanced that you need here? > > It fits my needs perfectly. Is there any way to add it from designer or I have to re-create my > > GUI in plain code? In designer, select the widgets you wish to place in the splitter, right click and select Lay out->Lay out vertically in splitter. Then you can set the layout on your widget/dialog as needed. -- [ signature omitted ]
On onsdag den 19. December 2007, Bachrach, Robert L wrote: > Farcaller wrote: > > On Wednesday 19 December 2007 18:53:39 Rob Douglas wrote: > > > QSplitter(Qt::Vertical) sounds like what you are looking for. Is > > there > > > > something more advanced that you need here? > > > > It fits my needs perfectly. Is there any way to add it from designer > > or I have to re-create my > > GUI in plain code? > > In designer, select the widgets you wish to place in the splitter, right > click and select Lay out->Lay out vertically in splitter. Then you can > set the layout on your widget/dialog as needed. The splitter layouts are also available in the toolbar between the vertical and grid layouts. Bo. -- [ signature omitted ]
On Dec 19, 2007, at 11:32 AM, Vladimir Pouzanov wrote: > Is there any widget that would allow dynamical adjusting of two > widgets height > in QVerticalLayout? I.e. if I grab such widget with mouse and move > it one of > my widgets becomes smaller and aother one is growing. QSplitter -- [ signature omitted ]