#include <QtxShortcutEdit.h>
QtxShortcutTree::QtxShortcutTree |
( |
QWidget * |
parent = 0 | ) |
|
QtxShortcutTree::~QtxShortcutTree |
( |
| ) |
|
|
virtual |
- Parameters
-
item | current item of the shortcut tree |
shortcut | shortcut appointed for the current item |
- Returns
true
if the given shortcut is allowed
References myGeneralSections, and sections().
bool QtxShortcutTree::eventFilter |
( |
QObject * |
obj, |
|
|
QEvent * |
event |
|
) |
| |
|
protectedvirtual |
void QtxShortcutTree::focusOutEvent |
( |
QFocusEvent * |
event | ) |
|
|
protectedvirtual |
- Parameters
-
cur | the current item |
prev | the previous current item |
References myPrevBindings.
QStringList QtxShortcutTree::sections |
( |
| ) |
const |
- Returns
- list of section names
- Parameters
-
title | the name of top-level item |
theShortcutMap | map of key bindings |
References myPrevBindings.
void QtxShortcutTree::setGeneralSections |
( |
const QStringList & |
sectionsList | ) |
|
Key combinations in general sections should not intersect with any other key combinations.
- Parameters
-
sectionsList | list of common section names |
References myGeneralSections.
QStringList QtxShortcutTree::myGeneralSections |
|
private |
QMap< QString, ShortcutMap > QtxShortcutTree::myPrevBindings |
|
private |
The documentation for this class was generated from the following files: