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

List:       kde-devel
Subject:    Re: Problem in Widget Opening
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2005-07-11 18:05:27
Message-ID: 200507112005.27484.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 11 July 2005 08:59, Sheraz wrote:
> >base implementation? Because I have used that several
> >times and it works.
> >Cheers,
> >Kevin
>
> If I open the QDialog from KMainWindow class object it
> absolutely not work for move even on showEvent()..as
> you suggested.... I know it will work for any other
> scenario....but for this its not working...:(

If it only fails for windows that have show() called before 
application.exec(), try delaying show() using a single shot timer.

QTimer::singleShot(0, dialog, SLOT(show()));

This will result in show() being called after the application has started 
event processing.

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org

[Attachment #5 (application/pgp-signature)]

 =

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=
e <<


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

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