Re: Disabling the cancel button
Konrad Hinsen <[email protected]> 29 Nov 2002 15:51:58 +0100
| Newsgroups | gmane.comp.handhelds.zaurus.devel |
|---|---|
| Message-ID | <[email protected]> |
"Russell Clarke" <[email protected]> writes: > QPEApplication reimplements QApplication::qwsEventFilter() - this is where > the key event for Qt::Key_Escape is trapped and hardwired to > QWidget::close(). The key event will still be delivered, by a different > route, but only after this has happened. > > you can get round this by reimplementing QApplication::notify() and > filtering off the cancel key event there. Thanks, I will try that. BTW, is there any documentation for QPEApplication and the other qpe-specific Qt objects? They are not in the standard Qt reference manual. Konrad. ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en