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

List:       kde-devel
Subject:    Re: Application resize does not work
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2002-11-27 12:20:22
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Dienstag, 26. November 2002 15:43, Mahfouf Anne-Marie wrote:
> >Hi
> >
> >I'm writing a KDE App based on the 3.0 libs.
> >
> >I have a Strange problem with resizing: When i call the method
> > resize(w,h) inside my MainWindow it
> >has no effect (you can't see anything). When i start "kdcop" and call
> > the resize method from there
> >it resizes perfectly.
> >
> >Any hints? Do i have to user a special pattern to user the resize
> > option?
>
> You have to use a
> resizeEvent( QResizeEvent * e )
> method to manage the window change of size.

Only if you have to do something specific with your content on resize.
The standard implementation is usually good enough.

Are you returning to the event loop after you called resize?
Or perhaps minimumSize or maximumSize are set to the same size.

Cheers,
Kevin
- -- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer@gmx.at>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE95LiQnKMhG6pzZJIRAhYJAJ96AI1tAX0YeBg+XqTS678iLQG1CACfVn8U
vSkoYcPRfvrvlw2NNomrlWo=
=blt6
-----END PGP SIGNATURE-----


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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