[PyQt] Re: PyQt application appears always in the background

Michael Held michael.held at bc.biol.ethz.ch
Fri Jun 12 08:15:07 BST 2009


Hans-Peter Jansen wrote:
> Am Donnerstag, 11. Juni 2009 schrieb Phil Thompson:
>> On Thu, 11 Jun 2009 18:50:13 +1200, Alexei Puzikov <puzikov at gmail.com>
>>
>> wrote:
>>> This seems to be something with PyQt, because C++ Qt applications
>>> don't have this problem.
>>>
>>> What helps with the situation is:
>>>
>>> window.show()
>>> window.raise_()
>> I've seen C++ Qt applications do the same which is why I haven't looked
>> into it too deeply.
>>
>> Any suggestions welcome.
>>
> 
> No suggestion, but qtdemo.py on the mac suffers from the same problem, while 
> the Qt version does not. 
> 
> Pete
> 
> PyQt 4.5/Qt 4.5.1

thanks a lot for your help!

>>> window.show()
>>> window.raise_()
works perfect, although this looks more like a workaround...

cheers
michael



More information about the PyQt mailing list