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

List:       kde-core-devel
Subject:    Re: problem with KControlApplication...
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! TU-Berlin ! DE>
Date:       2000-06-15 22:25:50
[Download RAW message or body]

On Thu, Jun 15, 2000 at 05:40:18PM -0400, Dawit Alemayehu wrote:

Hiya,
 
> Ehhhh...  How soon we forget :)))  These widgets do not have this problem
> because you made me fix it !!  He must be using QComboBox...  Both KLineEdit
> and KComboBox trap the "return key" and emit returnPressed() & 
> returnPressed( const QString& ).  You are then responsible for closing the
> widget or whatever else you want to do... 

No. You need to call event->accept() to stop the event from propagating
and neither KComboBox nor KLineEdit do this. I know, I requested
it, but you didn't like it, because it breaks standard Qt behavior. I
agreed with that, but as we see now, we better add a simple way to get
that behaviour.

Cheers,
Carsten Pfeiffer
-- 
http://www.geocities.com/SiliconValley/1632/

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

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