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

List:       pykde
Subject:    Re: [PyQt] Creating and showing dialog in other unit seems not to work
From:       michael h <michaelkenth () gmail ! com>
Date:       2015-09-25 2:47:15
Message-ID: CAD0nt=Fce3+wVdeQ3Lxm1SHhLbmPNQftJgKeacvG1D+TYUnzYQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


>
>
> I don't understand why it makes a difference when the dialog is created
> and shown in another file.
>
> System info:
> OS: Kubuntu 15.04 (amd64)
> Python: 2.7.9
> PyQt4: 4.10.4
>
> Best regards,
> Reinder
>
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>


Vincent is correct.

Correctly set the parent of the dialog (or alternatively keep a reference,
but parenting is the way to go IMO)

- michael

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><br></div>I don&#39;t \
understand why it makes a difference when the dialog is created and shown in another \
file.<br><br></div><div>System info:<br></div><div>OS: Kubuntu 15.04 \
(amd64)<br></div>Python: 2.7.9<br></div>PyQt4: 4.10.4<br><br></div>Best \
regards,<br></div>Reinder</div> \
<br>_______________________________________________<br> PyQt mailing list      <a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br> <a \
href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" \
target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div><div \
class="gmail_extra"><br></div><div class="gmail_extra">Vincent is correct.</div><div \
class="gmail_extra"><br></div><div class="gmail_extra">Correctly set the parent of \
the dialog (or alternatively keep a reference, but parenting is the way to go \
IMO)</div><div class="gmail_extra"><br></div><div class="gmail_extra">- \
michael</div></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://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