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

List:       pykde
Subject:    [PyQt] Fwd: Re:  QSplitter and the border between widgets
From:       "Timothy W. Grove" <tim_grove () sil ! org>
Date:       2011-10-12 19:07:29
Message-ID: 4E95E571.40402 () sil ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Ooops. I meant to send this reply to the list. Thanks for your help and 
suggestions!

-------- Original Message --------
Subject: 	Re: [PyQt] QSplitter and the border between widgets
Date: 	Tue, 11 Oct 2011 13:21:44 +0100
From: 	Timothy W. Grove <tim_grove@sil.org>
To: 	Pierre-Louis Bonicoli <pierre-louis.bonicoli@gmx.fr>



Thanks for this answer. In searching I also found these solutions which 
involved handwriting code instead of designer:

http://stackoverflow.com/questions/2545577/qsplitter-becoming-undistinguishable-between-qwidget-and-qtabwidget


Along the way I also found what I /"really" /needed, and that was to cut 
out the extra space through setting the borders and spacing on my 
layouts to 0. With the extra space gone, I didn't need to add lines to 
my splitter handles.

Best regards,
Tim

On 11/10/2011 11:24, Pierre-Louis Bonicoli wrote:
> On 11/10/2011 11:16, Timothy W. Grove wrote:
> 
> > What I want to see is much less space between the widgets and a
> > visible splitter handle
> For the visible splitter, see here for how to do this using qt designer:
> http://doc.qt.nokia.com/latest/designer-layouts.html#splitter-layouts
> Select the widgets (they must not belong to a layout) and use buttons in
> the main toolbar "lay out vertically in splitter" or "lay out
> horizontally in splitter" (entries are available too in the context menu
> "Lay out").
> 
> Pierre-Louis
> _______________________________________________
> PyQt mailing listPyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 


[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Ooops. I meant to send this reply to the list. Thanks for your help
    and suggestions!<br>
    <br>
    -------- Original Message --------
    <table class="moz-email-headers-table" border="0" cellpadding="0"
      cellspacing="0">
      <tbody>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject: </th>
          <td>Re: [PyQt] QSplitter and the border between widgets</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
          <td>Tue, 11 Oct 2011 13:21:44 +0100</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
          <td>Timothy W. Grove <a class="moz-txt-link-rfc2396E" \
href="mailto:tim_grove@sil.org">&lt;tim_grove@sil.org&gt;</a></td>  </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
          <td>Pierre-Louis Bonicoli <a class="moz-txt-link-rfc2396E" \
href="mailto:pierre-louis.bonicoli@gmx.fr">&lt;pierre-louis.bonicoli@gmx.fr&gt;</a></td>
  </tr>
      </tbody>
    </table>
    <br>
    <br>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    Thanks for this answer. In searching I also found these solutions
    which involved handwriting code instead of designer:<br>
    <br>
    <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://stackoverflow.com/questions/2545577/qsplitter-becoming-undistinguishable- \
between-qwidget-and-qtabwidget">http://stackoverflow.com/questions/2545577/qsplitter-becoming-undistinguishable-between-qwidget-and-qtabwidget</a><br>
  <br>
    Along the way I also found what I <i>"really" </i>needed, and that
    was to cut out the extra space through setting the borders and
    spacing on my layouts to 0. With the extra space gone, I didn't need
    to add lines to my splitter handles.<br>
    <br>
    Best regards,<br>
    Tim<br>
    <br>
    On 11/10/2011 11:24, Pierre-Louis Bonicoli wrote:
    <blockquote cite="mid:4E94195A.6010100@gmx.fr" type="cite">
      <pre wrap="">On 11/10/2011 11:16, Timothy W. Grove wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">What I want to see is much less space between the widgets and a
visible splitter handle
</pre>
      </blockquote>
      <pre wrap="">For the visible splitter, see here for how to do this using qt \
designer: <a moz-do-not-send="true" class="moz-txt-link-freetext" \
href="http://doc.qt.nokia.com/latest/designer-layouts.html#splitter-layouts">http://doc.qt.nokia.com/latest/designer-layouts.html#splitter-layouts</a>
 Select the widgets (they must not belong to a layout) and use buttons in
the main toolbar "lay out vertically in splitter" or "lay out
horizontally in splitter" (entries are available too in the context menu
"Lay out").

Pierre-Louis
_______________________________________________
PyQt mailing list    <a moz-do-not-send="true" class="moz-txt-link-abbreviated" \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a> <a \
moz-do-not-send="true" class="moz-txt-link-freetext" \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a>


</pre>
    </blockquote>
  </body>
</html>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

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

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