|
Krita Source Code Documentation
|
#include <KisShortcutsEditor_p.h>
Public Types | |
| enum | hierarchyLevel { Root = 0 , Program , Action } |
| Represents the three hierarchies the dialog displays. More... | |
Public Member Functions | |
| bool | addAction (QAction *action, QTreeWidgetItem *hier[], hierarchyLevel level) |
| void | allDefault () |
| void | appendToView (uint nList, const QString &title=QString()) |
| void | capturedShortcut (const QVariant &, const QModelIndex &) |
| void | changeKeyShortcut (KisShortcutsEditorItem *item, uint column, const QKeySequence &capture) |
| void | clearConfiguration () |
| QTreeWidgetItem * | findOrMakeItem (QTreeWidgetItem *parent, const QString &name) |
| void | initGUI (KisShortcutsEditor::ActionTypes actionTypes, KisShortcutsEditor::LetterShortcuts allowLetterShortcuts) |
| KisShortcutsEditorPrivate (KisShortcutsEditor *q) | |
| void | printShortcuts () const |
| void | setActionTypes (KisShortcutsEditor::ActionTypes actionTypes) |
Public Attributes | |
| QList< KisKActionCollection * > | actionCollections |
| KisShortcutsEditor::ActionTypes | actionTypes |
| KisShortcutsEditorDelegate * | delegate |
| KisShortcutsEditor * | q |
| Ui::KisShortcutsDialog | ui |
Definition at line 37 of file KisShortcutsEditor_p.h.
Represents the three hierarchies the dialog displays.
| Enumerator | |
|---|---|
| Root | |
| Program | |
| Action | |
Definition at line 42 of file KisShortcutsEditor_p.h.
| KisShortcutsEditorPrivate::KisShortcutsEditorPrivate | ( | KisShortcutsEditor * | q | ) |
Definition at line 44 of file KisShortcutsEditor_p.cpp.
| bool KisShortcutsEditorPrivate::addAction | ( | QAction * | action, |
| QTreeWidgetItem * | hier[], | ||
| hierarchyLevel | level ) |
Add action at hierarchy level level.
Filters out QActions (TODO: hmm) and unnamed actions before adding.
Definition at line 103 of file KisShortcutsEditor_p.cpp.
References value().
| void KisShortcutsEditorPrivate::allDefault | ( | ) |
Definition at line 132 of file KisShortcutsEditor_p.cpp.
References ActionItem, changeKeyShortcut(), LocalAlternate, LocalPrimary, KisShortcutsEditorItem::m_action, and ui.
| void KisShortcutsEditorPrivate::capturedShortcut | ( | const QVariant & | newShortcut, |
| const QModelIndex & | index ) |
Definition at line 170 of file KisShortcutsEditor_p.cpp.
References changeKeyShortcut(), Id, LocalPrimary, and ui.
| void KisShortcutsEditorPrivate::changeKeyShortcut | ( | KisShortcutsEditorItem * | item, |
| uint | column, | ||
| const QKeySequence & | capture ) |
Definition at line 185 of file KisShortcutsEditor_p.cpp.
References KisShortcutsEditor::keyChange(), KisShortcutsEditorItem::keySequence(), q, and KisShortcutsEditorItem::setKeySequence().
| void KisShortcutsEditorPrivate::clearConfiguration | ( | ) |
Definition at line 199 of file KisShortcutsEditor_p.cpp.
References changeKeyShortcut(), LocalAlternate, LocalPrimary, and ui.
| QTreeWidgetItem * KisShortcutsEditorPrivate::findOrMakeItem | ( | QTreeWidgetItem * | parent, |
| const QString & | name ) |
Definition at line 154 of file KisShortcutsEditor_p.cpp.
References NonActionItem, and ui.
| void KisShortcutsEditorPrivate::initGUI | ( | KisShortcutsEditor::ActionTypes | actionTypes, |
| KisShortcutsEditor::LetterShortcuts | allowLetterShortcuts ) |
Definition at line 49 of file KisShortcutsEditor_p.cpp.
References actionTypes, capturedShortcut(), KisKineticScroller::createPreconfiguredScroller(), delegate, KisShortcutsEditor::LetterShortcutsAllowed, q, and ui.
| void KisShortcutsEditorPrivate::printShortcuts | ( | ) | const |
Definition at line 232 of file KisShortcutsEditor_p.cpp.
References ActionItem, KisShortcutsEditorItem::data(), LocalAlternate, LocalPrimary, KisShortcutsEditorItem::m_action, Name, q, and ui.
| void KisShortcutsEditorPrivate::setActionTypes | ( | KisShortcutsEditor::ActionTypes | actionTypes | ) |
Definition at line 90 of file KisShortcutsEditor_p.cpp.
References actionTypes, LocalAlternate, LocalPrimary, and ui.
| QList<KisKActionCollection *> KisShortcutsEditorPrivate::actionCollections |
Definition at line 84 of file KisShortcutsEditor_p.h.
| KisShortcutsEditor::ActionTypes KisShortcutsEditorPrivate::actionTypes |
Definition at line 89 of file KisShortcutsEditor_p.h.
| KisShortcutsEditorDelegate* KisShortcutsEditorPrivate::delegate |
Definition at line 90 of file KisShortcutsEditor_p.h.
| KisShortcutsEditor* KisShortcutsEditorPrivate::q |
Definition at line 85 of file KisShortcutsEditor_p.h.
| Ui::KisShortcutsDialog KisShortcutsEditorPrivate::ui |
Definition at line 87 of file KisShortcutsEditor_p.h.