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

List:       kde-devel
Subject:    Re: Resize Event not called :-(
From:       Markus Goetz <guruz () gmx ! de>
Date:       1999-08-31 17:19:54
[Download RAW message or body]

Am Die, 31 Aug 1999 schrieb Chris Schlaeger:
>> i already had this problem somewhere, but i can't remember how i solved it.
>> I have a KTMainWindow child, the resize event method is overwritten like this :
>
>First of all, are you talking about KDE_1_1_BRANCH or HEAD? Things
>have changes for KDE 2.

I code with 1.1.1 so it should be -> KDE_1_1_BRANCH

>> i can resize my window how much i want, but i never get something raised :((((((
>
>What do you mean by raised? You mean your
>KWebSearchBaseDialog::resizeEvent isn't called?

of course, what else ?

>Usually when this
>happens the protopes do not match 100% (missing const). The above
>prototype matches KTMainWindow::resizeEvent though. Not sure about
>this KSerializedMainWindow(?).

Just a empty class derived from KTMainWindow.

>BTW, why do you want to overload KTMainWindow::resizeEvent? The doc
>explicitly says that this isn't a good idea. If you want to do so
>anyhow make sure you call KTMainWindow::resizeEvent, otherwise your
>geometry management will be completely messed up.

Hmm i'm not sure if i have understood this sentence. Anyway it works now (dunno
why) and i have the same prob with moveEvent :-(

Markus

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

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