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

List:       pykde
Subject:    Re: [PyQt] Simple Window Problem
From:       Felix Bearden <felix-biz () felixlovesliz ! com>
Date:       2015-03-25 14:17:21
Message-ID: 5512C371.3050607 () felixlovesliz ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I concur that something in show() or at most the version of Qt that I
have installed, I have decided to bite the bullet and rebuild Qt.
Nothing I tried seems to make a difference. The version I have installed
is 5.2 and the latest Qt source is at version 5.4.1.  Building on the Pi
B takes about 48 hours but at this point I had rather chance it. I
thought about doing a cross compile on my laptop ... but it takes a
substantial amount of time to do it there and the instructions I found
seem to have problems also.

So - see you in 48 hours. :-)

On 03/24/2015 10:45 AM, David Cortesi wrote:

Obviously something in the implementation of show() is causing the
mainwindow to fill the screen, comparable to clicking the maximize box
on a Windows or Ubuntu app.

Aha. And the word "maximize" -- search for that in the index of the Qt
Assistant. It leads to the docs for the QWidget class, windowState()
method. I think you will find that somehow, I have no idea why, your
window has been maximized. Probably a call to setWindowState() before?
or after show() will fix it.
>
>
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I concur that something in show() or at most the version of Qt that
    I have installed, I have decided to bite the bullet and rebuild Qt.
    Nothing I tried seems to make a difference. The version I have
    installed is 5.2 and the latest Qt source is at version 5.4.1.  
    Building on the Pi B takes about 48 hours but at this point I had
    rather chance it. I thought about doing a cross compile on my laptop
    ... but it takes a substantial amount of time to do it there and the
    instructions I found seem to have problems also.<br>
    <br>
    So - see you in 48 hours. :-)<br>
    <br>
    <div class="gmail_quote">On 03/24/2015 10:45 AM, David Cortesi
      wrote:<br>
      <div><br>
      </div>
      <div>Obviously something in the implementation of show() is
        causing the mainwindow to fill the screen, comparable to
        clicking the maximize box on a Windows or Ubuntu app.<br>
        <br>
      </div>
      <div>Aha. And the word "maximize" -- search for that in the index
        of the Qt Assistant. It leads to the docs for the QWidget class,
        windowState() method. I think you will find that somehow, I have
        no idea why, your window has been maximized. Probably a call to
        setWindowState() before? or after show() will fix it.<br>
      </div>
    </div>
    <blockquote
cite="mid:CALyzANsw9XAam8WVTBQ6q0WVp5yD=hBFXjGtfHJkupbK7wUigg@mail.gmail.com"
      type="cite">
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
PyQt mailing list    <a class="moz-txt-link-abbreviated" \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a> <a \
class="moz-txt-link-freetext" \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
  </blockquote>
    <br>
  </body>
</html>


[Attachment #6 (text/plain)]

_______________________________________________
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