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

List:       kde-core-devel
Subject:    Detecting a keypress during some heavy operation
From:       Andras Mantia <amantia () kde ! org>
Date:       2004-02-06 13:41:31
Message-ID: 200402061541.05844.amantia () kde ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

 I would like to detect if the user pressed the key while the app is doing
some heavy operation, so it will be possible to suspend/stop that operation
and make the user interface more responsive. Is it possible to do without
threads (I'd like to avoid them as they may introduce new problems)? I've 
tried reimplementing the keyPressEvent in the widget which has
the focus (the editor widget), but it seems that it is never called.

Andras

- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFAI5mLTQdfac6L/08RAodtAJ9R6oWoI7CwX40rE0WVaUf/5tpr+QCeM/ui
+Q1EMjLRIgsbrPiC3UnBHlU=
=vNMF
-----END PGP SIGNATURE-----

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

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