class KStdAccel
|
Convenient methods for access to the common accelerator keys in
the key configuration. More... |
|
|
Public Types
- enum StdAccel {Open=0, New, Close, Save, Print, Quit, Cut, Copy, Paste, Undo, Redo, Find, Replace, Insert, Home, End, Prior, Next, Help, FindNext, FindPrev, ZoomIn, ZoomOut, AddBookmark, TextCompletion, RotateUp, RotateDown, PopupMenuContext, WhatThis, Reload, NB_STD_ACCELS }
Public Methods
Public Static Methods
Detailed Description
Convenient methods for access to the common accelerator keys in
the key configuration. These are the standard keybindings that should
be used in all KDE applications. They will be configurable,
so do not hardcode the default behavior.
If you want real configurable keybindings in your applications,
please checkout the class KAccel in kaccel.h
[static] Open file. Default: Ctrl-o
[static] Create a new document (or whatever). Default: Ctrl-n
[static] Close current document. Default: Ctrl-w
[static] Save current document. Default: Ctrl-s
[static] Print current document. Default: Ctrl-p
[static] Quit the program. Default: Ctrl-q
[static] Cut selected area and store it in the clipboard. Default: Ctrl-x
[static] Copy selected area into the clipboard. Default: Ctrl-c
[static] Paste contents of clipboard at mouse/cursor position. Default: Ctrl-v
[static] Undo last operation. Default: Ctrl-z
[static] Redo. Default: Shift-Ctrl-z
[static] Find, search. Default: Ctrl-f
[static] Find/search next. Default: F3
[static] Find/search previous. Default: Shift-F3
[static] Find and replace matches. Default: Ctrl-r
[static] Zoom in. Default: Ctrl-Plus
[static] Zoom out. Default: Ctrl-Minus
[static] Toggle insert/overwrite (with visual feedback, e.g. in the statusbar). Default: Insert
[static] Goto beginning of current line. Default: Home
[static] Goto end of current line. Default: End
[static] Scroll up one page. Default: Prior
[static] Scroll down one page. Default: Next
[static] Add current page to bookmarks. Default: Ctrl+B
[static] Help the user in the current situation. Default: F1
[static] Asthetic feature to help users complete text in input widgets. *
[static] Asthetic feature to help users complete text in input widgets. *
[static] Asthetic feature to help users complete text in input widgets. *
[static] popup a context menu *
[static] What's This button *
[static] Reload *
[static]
Compare the keys generated by the key event with
the value of the integer.
NOTE: If a modifier (Shift, Alt, Ctrl)
key is present in QKeyEvent, its sum with the actual
key value is used for comparing it with the integer
parameter.
Returns: true
if the
integer equivalent of the QKeyEvent matches the value
of the integer.
Generated by: root@tantive.terraplex.com on Sun Feb 27 17:39:19 2000, using kdoc 2.0a33. |