[Qt-interest] Grouping existing widgets into a vertical splitter with Qt Designer

K. Frank kfrank29.c at gmail.com
Wed Jul 21 20:30:51 CEST 2010


Hello Andreas -

On Wed, Jul 21, 2010 at 2:21 PM, Andreas Pakulat <apaku at gmx.de> wrote:
> On 21.07.10 13:58:53, K. Frank wrote:
>> Hi Andreas -
>>
>> On Wed, Jul 21, 2010 at 12:15 PM, Andreas Pakulat <apaku at gmx.de> wrote:
>> > ...
>> > At least its possible in Qt4 to add new widgets into an existing layout (or
>> > remove them from it) without having to relayout everything. That wasn't
>> > possible in Qt3 days..
>>
>> But how do you get the widgets to go where you want?
>> ...
>> Just playing around, I can get the QTextEdit to end up in the
>> horizontal splitter, but it always ends up in the right-most
>> position, after the QTreeTable.
>
> Seems like splitters are special here, but if you try to drop it between
> the table's label and the table itself you'll notice a blue bar
> appearing, thats the drop-position to insert into normal
> (horizontal,vertical,grid) layouts.

Hmm, yes, I see what you mean.  I do seem to be able to add
widgets where I want in existing layout.  Maybe splitters are
indeed the fly in the ointment.

>
> Andreas

Thanks for your help.


K. Frank



More information about the Qt-interest-old mailing list