Public Types
- enum {NoKey = 1, DefaultKey, CustomKey }
Public Methods
- KKeyChooser ( QDict<KKeyEntry>* aKeyDict, QWidget* parent = 0, bool check_against_std_keys = false )
- ~KKeyChooser ()
Public Slots
Signals
Public Members
- QDictIterator<KKeyEntry>* aIt
- QDictIterator<KKeyEntry>* aKeyIt
Protected Methods
- void keyPressEvent ( QKeyEvent* _event )
- void fontChange ( const QFont& _font )
- const QString item ( uint keyCode, const QString& entryKey )
- bool isKeyPresent ()
- void setKey ( uint kCode )
Protected Slots
- void toChange ( int _index )
- void changeKey ()
- void updateAction ( int _index )
- void defaultKey ()
- void noKey ()
- void keyMode ( int _mode )
- void shiftClicked ()
- void ctrlClicked ()
- void altClicked ()
- void editKey ()
- void editEnd ()
- void readGlobalKeys ()
- void readStdKeys ()
Protected Members
- QDict<int> * globalDict
- QDict<int> * stdDict
- KKeyEntry * pEntry
- QString sEntryKey
- KSplitList * wList
- QLabel * lInfo
- QLabel * lNotConfig
- QLabel * actLabel
- QLabel * keyLabel
- KKeyButton * bChange
- QCheckBox * cShift
- QCheckBox * cCtrl
- QCheckBox * cAlt
- QGroupBox * fCArea
- QButtonGroup * kbGroup
- bool bKeyIntercept
- int kbMode
Detailed Description
Configure dictionaries of key/action
associations for KAccel and KGlobalAccel.
The class takes care of all aspects of configuration, including handling key
conflicts internally. Connect to the allDefault() slot if you want to set all
configurable keybindings to their default values.
KKeyChooser ( QDict<KKeyEntry>* aKeyDict, QWidget* parent = 0, bool check_against_std_keys = false )
|
Constructor.
Parameters:
aKeyDict | A dictionary (QDict) of key definitons.
|
[signal]
Emitted when a key definition has been changed.
[slot]
Set all keys to their default values (bindings).
[slot]
Synchronize the viewed split list with the currently used key codes.
- Version: $Id: kkeydialog.h,v 1.17 2000/01/18 21:15:03 espen Exp $
- Author: Nicolas Hadacek <hadacek@via.ecp.fr>
- Generated: root@tantive.terraplex.com on Sun Feb 27 17:39:25 2000, using kdoc 2.0a33.