Classes | |
class | KStdAccel::ShortcutList |
KShortcutList implementation that accesses KStdAccel actions. More... | |
Enumerations | |
enum | StdAccel { AccelNone, Open, New, Close, Save, Print, Quit, Undo, Redo, Cut, Copy, Paste, SelectAll, Deselect, DeleteWordBack, DeleteWordForward, Find, FindNext, FindPrev, Replace, Home, End, Prior, Next, GotoLine, AddBookmark, ZoomIn, ZoomOut, Up, Back, Forward, Reload, PopupMenuContext, ShowMenubar, Help, WhatsThis, TextCompletion, PrevCompletion, NextCompletion, SubstringCompletion, RotateUp, RotateDown, TabNext, TabPrev, FullScreen, WhatThis = WhatsThis } |
Functions | |
KStdAccelInfo * | infoPtr (StdAccel id) |
void | initialize (StdAccel id) |
QString | name (StdAccel id) |
QString | label (StdAccel id) |
const KShortcut & | shortcut (StdAccel id) |
StdAccel | findStdAccel (const KKeySequence &seq) |
KShortcut | shortcutDefault (StdAccel id) |
KShortcut | shortcutDefault3 (StdAccel id) |
KShortcut | shortcutDefault4 (StdAccel id) |
void | createAccelActions (KAccelActions &actions) |
const KShortcut & | open () |
const KShortcut & | openNew () |
const KShortcut & | close () |
const KShortcut & | save () |
const KShortcut & | print () |
const KShortcut & | quit () |
const KShortcut & | cut () |
const KShortcut & | copy () |
const KShortcut & | paste () |
const KShortcut & | deleteWordBack () |
const KShortcut & | deleteWordForward () |
const KShortcut & | undo () |
const KShortcut & | redo () |
const KShortcut & | find () |
const KShortcut & | findNext () |
const KShortcut & | findPrev () |
const KShortcut & | replace () |
const KShortcut & | home () |
const KShortcut & | end () |
const KShortcut & | prior () |
const KShortcut & | next () |
const KShortcut & | gotoLine () |
const KShortcut & | addBookmark () |
const KShortcut & | tabNext () |
const KShortcut & | tabPrev () |
const KShortcut & | fullScreen () |
const KShortcut & | zoomIn () |
const KShortcut & | zoomOut () |
const KShortcut & | help () |
const KShortcut & | completion () |
const KShortcut & | prevCompletion () |
const KShortcut & | nextCompletion () |
const KShortcut & | rotateUp () |
const KShortcut & | rotateDown () |
const KShortcut & | substringCompletion () |
const KShortcut & | popupMenuContext () |
const KShortcut & | whatsThis () |
const KShortcut & | reload () |
const KShortcut & | selectAll () |
const KShortcut & | up () |
const KShortcut & | back () |
const KShortcut & | forward () |
const KShortcut & | showMenubar () |
QString | action (StdAccel id) |
QString | description (StdAccel id) |
int | key (StdAccel id) |
int | defaultKey (StdAccel id) |
bool | isEqual (const QKeyEvent *ev, int keyQt) |
QString | whatsThis (StdAccel id) |
const KShortcut & | insert () |
Variables | |
KStdAccelInfo | g_infoStdAccel [] |
QString | whatsThis (StdAccel) |
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
- See also:
- KAccelShortcutList
Enumeration Type Documentation
|
Defines the identifier of all standard accelerators. Definition at line 47 of file kstdaccel.h. Referenced by findStdAccel(). |
Function Documentation
|
Returns a unique name for the given accel.
Referenced by action(), and KAccel::insert(). |
|
Returns a localized label for user-visible display.
Referenced by description(). |
|
Returns the keybinding for
References KShortcut::null(). Referenced by addBookmark(), back(), close(), completion(), copy(), cut(), deleteWordBack(), deleteWordForward(), end(), find(), findNext(), findPrev(), forward(), fullScreen(), gotoLine(), help(), home(), key(), next(), nextCompletion(), open(), openNew(), paste(), popupMenuContext(), prevCompletion(), print(), prior(), quit(), redo(), reload(), replace(), rotateDown(), rotateUp(), save(), selectAll(), showMenubar(), substringCompletion(), tabNext(), tabPrev(), undo(), up(), whatsThis(), zoomIn(), and zoomOut(). |
|
Return the StdAccel id of the standard accel action which uses this key sequence, or AccelNone if none of them do. This is used by class KKeyChooser.
References KKeySequence::isNull(), and StdAccel. |
|
Returns the hardcoded default shortcut for This does not take into account the user's configuration.
References shortcutDefault3(), and shortcutDefault4(). Referenced by defaultKey(), and KStdAccel::ShortcutList::shortcutDefault(). |
|
Returns the hardcoded default 3 modifier shortcut for This does not take into account the user's configuration.
Referenced by shortcutDefault(). |
|
Returns the hardcoded default 4 modifier shortcut for This does not take into account the user's configuration.
References KKeySequence::count(), and KKeySequence::init(). Referenced by shortcutDefault(). |
|
Open file. Default: Ctrl-o
References shortcut(). |
|
Create a new document (or whatever). Default: Ctrl-n
References shortcut(). |
|
Close current document. Default: Ctrl-w
References shortcut(). |
|
Save current document. Default: Ctrl-s
References shortcut(). |
|
Print current document. Default: Ctrl-p
References shortcut(). |
|
Quit the program. Default: Ctrl-q
References shortcut(). |
|
Cut selected area and store it in the clipboard. Default: Ctrl-x
References shortcut(). |
|
Copy selected area into the clipboard. Default: Ctrl-c
References shortcut(). |
|
Paste contents of clipboard at mouse/cursor position. Default: Ctrl-v
References shortcut(). |
|
Delete a word back from mouse/cursor position. Default: Ctrl-Backspace
References shortcut(). |
|
Delete a word forward from mouse/cursor position. Default: Ctrl-Delete
References shortcut(). |
|
Undo last operation. Default: Ctrl-z
References shortcut(). |
|
Redo. Default: Shift-Ctrl-z
References shortcut(). |
|
Find, search. Default: Ctrl-f
References shortcut(). |
|
Find/search next. Default: F3
References shortcut(). |
|
Find/search previous. Default: Shift-F3
References shortcut(). |
|
Find and replace matches. Default: Ctrl-r
References shortcut(). |
|
Goto beginning of current line. Default: Home
References shortcut(). |
|
Goto end of current line. Default: End
References shortcut(). |
|
Scroll up one page. Default: Prior
References shortcut(). |
|
Scroll down one page. Default: Next
References shortcut(). |
|
Go to line. Default: Ctrl+G
References shortcut(). |
|
Add current page to bookmarks. Default: Ctrl+B
References shortcut(). |
|
Next Tab. Default: Ctrl-<
References shortcut(). |
|
Previous Tab. Default: Ctrl->
References shortcut(). |
|
Full Screen Mode. Default: Ctrl+Shift+F
References shortcut(). |
|
Zoom in. Default: Ctrl-Plus
References shortcut(). |
|
Zoom out. Default: Ctrl-Minus
References shortcut(). |
|
Help the user in the current situation. Default: F1
References shortcut(). |
|
Complete text in input widgets. Default Ctrl+E
References shortcut(). |
|
Iterate through a list when completion returns multiple items. Default: Ctrl+Up
References shortcut(). |
|
Iterate through a list when completion returns multiple items. Default: Ctrl+Down
References shortcut(). |
|
Help users iterate through a list of entries. Default: Up
References shortcut(). |
|
Help users iterate through a list of entries. Default: Down
References shortcut(). |
|
Find a string within another string or list of strings. Default: Ctrl-T
References shortcut(). |
|
popup a context menu. Default: Menu
References shortcut(). |
|
What's This button. Default: Shift+F1
References shortcut(). |
|
Reload. Default: F5
References shortcut(). |
|
Reload. Default: Ctrl-A
References shortcut(). |
|
Up. Default: Alt+Up
References shortcut(). |
|
Back. Default: Alt+Left
References shortcut(). |
|
Forward. Default: ALT+Right
References shortcut(). |
|
Show Menu Bar. Default: Ctrl-M
References shortcut(). |
|
References name(). |
|
References label(). |
|
References KShortcut::keyCodeQt(), and shortcut(). |
|
References KShortcut::keyCodeQt(), and shortcutDefault(). |
|
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 an extended WhatsThis description for the given accelerator.
|
|
Toggle insert/overwrite (with visual feedback, e.g. in the statusbar). Default: Insert
|
Variable Documentation
|
What's This button. Default: Shift+F1
|