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

List:       kde-pim
Subject:    Re: [Kde-pim] PATCH: KDateEdit
From:       David Jarvie <lists () astrojar ! org ! uk>
Date:       2002-11-17 23:04:09
[Download RAW message or body]

On Sunday 17 Nov 2002 9:16 pm, Cornelius Schumacher wrote:
> On Sunday 17 November 2002 15:24, David Jarvie wrote:
> > QComboBox needs to receive the 'selected' signal from its list box
> > (assuming that it is using the default of a list box rather than a
> > popup menu) in order to set its appearance back to 'not pressed'. The
> > only way I can see to send such a signal is either by emulating an
> > Enter key press on one of its items, or by emulating a double click
> > on one of its items. The basic problem is that QComboBox provides a
> > virtual popup() method, but no virtual methods to indicate that the
> > popup has been done. If anyone has any other suggestions on how to do
> > this, I would welcome them.
> >
> > Remember that the list box is never actually seen or otherwise used -
> > the date picker appears instead. So I don't think that an Enter
> > should cause any problems.
>
> Hmm, I can't really judge, if that causes problems. I had a brief look
> at the Qt sources, but it's quite complex what happens there. I would
> prefer to postpone the patch until after the release. It's only a minor
> visual glitch after all.

Yes, it took me some time to come up with the fix. OK, it can wait ...

-- 
David Jarvie
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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