[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: how to use QSplitter?
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2004-01-30 7:15:08
Message-ID: 200401300815.15968.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday 30 January 2004 04:31, John McBride wrote:
> I'm playing around with Kdevelop and Qt Designer to draw out a GUI
> having a QWidgetStack and multiple pages. This is great.
>
> But one of my QWidgetStack pages needs a QListView and QTable next to
> each other. I'd like to have a sashed container parent these. They do
> not manage properly just being dropped on the page.
>
> I've looked around and can't find a sashed container in Qt Designer.
> Searching the web implies the old "kpanner" and "knewpanner" are no
> longer used, I should use "QSplitter".
>
> So I tried to add QSplitter to Qt Designer as a custom widget, and it
> does not reparent onto a QWidgetStack page and will not accept children.

Put both your widgets on the parent widget like when using normal layouts.
Then select both. The actions for "Layout vertically in splitter" and "Layout 
horizontall in splitter" become active.

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
www.mrunix.de - Unix/Linux programming forum
www.qtforum.org - Qt programming forum

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic