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

List:       pykde
Subject:    Re: [PyQt] Dock widgets and window's lost of focus.
From:       IloChab <ilochab () gmail ! com>
Date:       2008-03-28 12:31:17
Message-ID: 166b1c630803280531h2f7e12e0la6b0f6a07d8fdc7f () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2008/3/26, IloChab <ilochab@gmail.com>:
>
> I designed a main window that contains 1 tableView and 3 dockWidgets.
>
> If I use it on top of other windows, it works fine.
>
> If I let it under other windows, when recall it on top, I find the 3
> dockWidget gone (they automatically closed), and if I reopen them manually
> (through a menu action) they come up correctly and I find all the text that
> my application output meanwhile into them.
>
> Why does this happen?
> What did I do wrong?
>
> I found out that this behaviour doesn't depend on my application.
> If I just run the window alone (only the ui file, I mean) I get a similar
> behaviour.
> 1) I run the script and I get 1 tableView and 3 dockWidgets
> 2) I minimize the window
> 3) I reopen the window and the  3 dockWidgets are gone.
>
> Please help.


I really need an help on this one !!

My window turns blank even if I let  it open on a desktop  and I switch to
an other one.
I think it could be related with the focus lost, but I really don't know
what to do.

I work on Fedora 8 with KDE.
My configuration is:

qt4-4.3.3-1.fc8
qt4-devel-4.3.3-1.fc8
qt4-x11-4.3.3-1.fc8
PyQt4-devel-4.3.3-1.fc8
PyQt4-4.3.3-1.fc8
python 2.5.1

Perhaps I made a bad design in my window, it's the first time I use dock
widgets and perhaps I used them in a wrong way.

Please, give me any idea how to solve my problem.

Grazie!
Licia

[Attachment #5 (text/html)]

2008/3/26, IloChab &lt;<a \
href="mailto:ilochab@gmail.com">ilochab@gmail.com</a>&gt;:<div><span \
class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px \
solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I designed \
a main window that contains 1 tableView and 3 dockWidgets.<br><br>If I use it on top \
of other windows, it works fine.<br><br>If I let it under other windows, when recall \
it on top, I find the 3 dockWidget gone (they automatically closed), and if I reopen \
them manually (through a menu action) they come up correctly and I find all the text \
that my application output meanwhile  into them.<br>

<br>Why does this happen?<br>What did I do wrong?<br><br>I found out that this \
behaviour doesn&#39;t depend on my application.<br>If I just run the window alone \
(only the ui file, I mean) I get a similar behaviour.<br>1) I run the script and I \
get  1 tableView and 3 dockWidgets<br>

2) I minimize the window<br>3) I reopen the window and the&nbsp; 3 dockWidgets are \
gone.<br><br>Please help.</blockquote><div><br>I really need an help on this one \
!!<br><br>My window turns blank even if I let&nbsp; it open on a desktop&nbsp; and I \
switch to an other one.<br> I think it could be related with the focus lost, but I \
really don&#39;t know what to do.<br><br>I work on Fedora 8 with KDE.<br>My \
configuration is:<br><br>qt4-4.3.3-1.fc8<br>qt4-devel-4.3.3-1.fc8<br>qt4-x11-4.3.3-1.fc8<br>
 PyQt4-devel-4.3.3-1.fc8<br>PyQt4-4.3.3-1.fc8<br>python 2.5.1<br><br>Perhaps I made a \
bad design in my window, it&#39;s the first time I use dock widgets and perhaps I \
used them in a wrong way.<br><br>Please, give me any idea how to solve my \
problem.<br> <br>Grazie!<br>Licia<br></div><br></div><br>



_______________________________________________
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