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

List:       kde-devel
Subject:    Re: hide/move/show Question
From:       Sven Radej <sven () lisa ! exp ! univie ! ac ! at>
Date:       1999-03-25 18:31:41
[Download RAW message or body]

On Thu, 25 Mar 1999, David Sweet wrote:
>I'm trying the following from within a method (which gets called in response
>to the press on a button on the toolbar) of KTopLevelWidget:
> 	hide();
>	show();
>
>and my window gets show()n in a different place than where it was before it was
>hidden.
>
>Then I try:
>  QPoint upperleftTW = pos();
>  hide();
>  move (upperleftTW);
>  show();
>
>and the same thing happens.
>
>Then I try
>  QPoint upperleftTW = pos();
>  hide();
>  show();
>  move (upperleftTW);
>
>and the same thing happens.
>
>What's going on?  I thought that I should at least be able to explicitly move
>the window wherever I wanted.  How can I get the window to reappear right where
>I left it?
Eh... I really don't know. KTLW/KTMW doesn't do anything with show/hide/move,
so it is pure QWidget (or KWM?) feature.
--
Sven Radej     radej@kde.org
KDE developer   Visit http://www.kde.org

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

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