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

List:       kde-devel
Subject:    Re: QXEmbed and event filters
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2001-08-21 0:17:51
[Download RAW message or body]

On Sonntag, 19. August 2001 23:11 James Darpinian wrote:

Hi,

> Is it possible to apply QT event filters to QXEmbed widgets?  I've got an
> application event filter installed but events going to QXEmbed widgets slip
> right by my filter (which isn't surprising).  If not, would it be possible
> to add a function like enableEventFilters() or something to QXEmbed for KDE
> 3, to send X events through QT's event handling system so they could be
> filtered?  Or would that be impractical or make it unbearably slow?

QXEmbed filters events already, so why not simply subclass it and reimplement 
eventFilter()? For X11 events, you can even reimplement QWidget::x11Event().

Cheers
Carsten Pfeiffer
 
>> 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