|
| ShortcutsDialog (QObject *parent) |
|
void | drawCollisions () |
| higlight items that have collisions with current lineEdits' state according to css. More...
|
|
| StelDialog (QObject *parent=NULL) |
|
bool | visible () const |
|
|
void | visibleChanged (bool) |
|
QWidget * | dialog |
| The main dialog. More...
|
|
class CustomProxy * | proxy |
|
bool | visible |
|
Definition at line 53 of file ShortcutsDialog.hpp.
void ShortcutsDialog::applyChanges |
( |
| ) |
|
|
slot |
called when apply button clicked.
virtual void ShortcutsDialog::createDialogContent |
( |
| ) |
|
|
protectedvirtual |
Initialize the dialog widgets and connect the signals/slots.
Implements StelDialog.
void ShortcutsDialog::drawCollisions |
( |
| ) |
|
higlight items that have collisions with current lineEdits' state according to css.
Note: previous collisions aren't redrawn.
QList<QStandardItem*> ShortcutsDialog::findCollidingItems |
( |
QKeySequence |
ks | ) |
|
|
slot |
Compile a list of items that share a prefix with this sequence.
void ShortcutsDialog::handleChanges |
( |
| ) |
|
|
slot |
called when editors' state changed.
void ShortcutsDialog::initEditors |
( |
| ) |
|
|
slot |
ititialize editors state when current item changed.
bool ShortcutsDialog::prefixMatchKeySequence |
( |
const QKeySequence & |
ks1, |
|
|
const QKeySequence & |
ks2 |
|
) |
| |
|
slot |
checks whether one QKeySequence is prefix of another.
void ShortcutsDialog::resetCollisions |
( |
| ) |
|
|
slot |
restore colors of all items it TreeWidget to defaults.
void ShortcutsDialog::switchToEditors |
( |
const QModelIndex & |
index | ) |
|
|
slot |
called by doubleclick; if click is on editable item, switch to editors
void ShortcutsDialog::updateShortcutsItem |
( |
class StelAction * |
action, |
|
|
QStandardItem * |
shortcutItem = NULL |
|
) |
| |
|
slot |
update shortcut representation in tree correspondingly to its actual contents.
if no item is specified, search for it in tree, if no items found, create new item
The documentation for this class was generated from the following file: