qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt-interest] QSplitter - collapsing/uncollapsing programatically?

Subject: Re: [Qt-interest] QSplitter - collapsing/uncollapsing programatically?
From: Paul Miller
Date: Mon, 22 Dec 2008 10:38:26 -0600
Paul Miller wrote:
> Frank Mertens wrote:
>> Paul Miller wrote:
>>> I'm trying to customize QSplitter with custom handles that have toggle 
>>> buttons on them, so I have splitter sections that collapse down to a 
>>> single bar with a button + label. But I don't see any way of 
>>> programmatically collapsing, uncollapsing, and detecting a collapsed 
>>> splitter section.
>>>
>>> Has anyone sorted out a way of doing this?
>>>
>>> I'm using Qt 4.4.
>>>
>>>
>> I'm used to just show/hide the widgets managed by the splitter.
>> Check the documentation, there is said more about it.
> 
> Aha!! Well that makes sense. Thanks!

Oh well, this doesn't quite do what I want, since hiding the widget will 
also hide the handle! I want the handle to be visible, just collapsed down.

Is there another way around this?

-- 
Paul Miller | paul@xxxxxxxxxx | www.fxtech.com | Got Tivo?

_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest

<Prev in Thread] Current Thread [Next in Thread>