[Qt-interest] How to lock QSplitter contents?
Sergei Stolyarov
sergei.stolyarov at regolit.com
Sun Sep 6 10:06:15 CEST 2009
Sorry, I was wrong, it's working. Thank you for advice.
On Sun, Sep 6, 2009 at 2:46 PM, Sergei
Stolyarov<sergei.stolyarov at regolit.com> wrote:
> Well, it doesn't work too (i.e. no effect). Tried on QSplitter and
> QSplitterHandle.
>
> On Sat, Sep 5, 2009 at 4:51 AM, Ben Swerts<benswerts at telenet.be> wrote:
>> Hi Sergei,
>>
>> If you just want to disable resizing, you can disable the handles using
>> setEnabled/setDisabled.
>>
>> Greets,
>>
>>
>> Ben
>>
>>> Hello.
>>>
>>> I want to lock QSplitter''s widgets, i.e. hide handles and don't allow
>>> resizing using mouse. Is it possible? I've tried to hide handles but
>>> hide() method on QSplitter:handle() results doesn't hide anything
>>> actually. Also tried to set handle width to 0 - with the same result.
>>>
>>> --
>>> Sergei Stolyarov
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>
>
>
> --
> Sergei Stolyarov
>
--
Sergei Stolyarov
More information about the Qt-interest-old
mailing list