[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] layout issues
From: Matt Chambers <chambers () imageworks ! com>
Date: 2006-10-25 20:00:57
Message-ID: 453FC279.9070703 () imageworks ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks for responses. When I put the code on its own, it worked...then
I realized I was using
QMainWindow, so I had to setMainWidget on the splitter object.
David Boddie wrote:
> On Tuesday 24 October 2006 14:52:45 -0700, Matt Chambers wrote:
>
>
>> Hi all, trying to use a QSplitter to separate 2 different widgets, they
>> both end up as little tiny things in the upper left hand corder of the
>> window.
>> Resizing the window doesn't affect them.
>>
>
> Sounds like the splitter has been placed inside a widget but not in a layout.
> You need to create a layout in its parent widget and add the splitter to
> that.
>
> David
>
> _______________________________________________
> PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>
>
[Attachment #5 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Thanks for responses. When I put the code on its own, it worked...then
I realized I was using<br>
QMainWindow, so I had to setMainWidget on the splitter object.<br>
<br>
<br>
<br>
David Boddie wrote:
<blockquote cite="mid200610250047.05615.david@boddie.org.uk" type="cite">
<pre wrap="">On Tuesday 24 October 2006 14:52:45 -0700, Matt Chambers wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all, trying to use a QSplitter to separate 2 different widgets, \
they both end up as little tiny things in the upper left hand corder of the
window.
Resizing the window doesn't affect them.
</pre>
</blockquote>
<pre wrap=""><!---->
Sounds like the splitter has been placed inside a widget but not in a layout.
You need to create a layout in its parent widget and add the splitter to
that.
David
_______________________________________________
PyKDE mailing list <a class="moz-txt-link-abbreviated" \
href="mailto:PyKDE@mats.imk.fraunhofer.de">PyKDE@mats.imk.fraunhofer.de</a> <a \
class="moz-txt-link-freetext" \
href="http://mats.imk.fraunhofer.de/mailman/listinfo/pykde">http://mats.imk.fraunhofer.de/mailman/listinfo/pykde</a>
</pre>
</blockquote>
<br>
</body>
</html>
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic