BibleTime
|
#include <btshortcutseditor.h>
Signals | |
void | keyChangeRequest (QString const &actionName, QKeySequence const &keys) |
Public Member Functions | |
BtShortcutsEditor (BtActionCollection *collection, QWidget *parent) | |
void | changeShortcutInDialog (QKeySequence const &keys) |
void | clearConflictWithKeys (QKeySequence const &keys) |
void | commitChanges () |
QString | findConflictWithKeys (QKeySequence const &keys) const |
Private Slots | |
void | customButtonClicked (bool checked) |
void | defaultButtonClicked (bool checked) |
void | noneButtonClicked (bool checked) |
void | slotSelectionChanged () |
Private Attributes | |
int | m_currentRow |
QRadioButton * | m_customButton |
QPushButton * | m_customPushButton |
QRadioButton * | m_defaultButton |
QLabel * | m_defaultLabelValue |
BtShortcutsDialog * | m_dlg |
QRadioButton * | m_noneButton |
QGroupBox * | m_shortcutChooser |
QTableWidget * | m_table |
Definition at line 31 of file btshortcutseditor.h.
BtShortcutsEditor::BtShortcutsEditor | ( | BtActionCollection * | collection, |
QWidget * | parent | ||
) |
Definition at line 122 of file btshortcutseditor.cpp.
References BtActionCollection::actions(), BT_CONNECT, customButtonClicked(), defaultButtonClicked(), BtActionCollection::getDefaultShortcut(), BtShortcutsDialog::keyChangeRequest(), keyChangeRequest(), m_currentRow, m_customButton, m_customPushButton, m_defaultButton, m_defaultLabelValue, m_dlg, m_noneButton, m_shortcutChooser, m_table, noneButtonClicked(), and slotSelectionChanged().
void BtShortcutsEditor::changeShortcutInDialog | ( | QKeySequence const & | keys | ) |
Definition at line 352 of file btshortcutseditor.cpp.
References BtShortcutsDialog::changeSelectedShortcut(), and m_dlg.
void BtShortcutsEditor::clearConflictWithKeys | ( | QKeySequence const & | keys | ) |
Definition at line 356 of file btshortcutseditor.cpp.
References anonymous_namespace{btshortcutseditor.cpp}::getShortcutsEditor(), and m_table.
void BtShortcutsEditor::commitChanges | ( | ) |
Definition at line 262 of file btshortcutseditor.cpp.
References anonymous_namespace{btshortcutseditor.cpp}::getShortcutsEditor(), and m_table.
|
privateslot |
Definition at line 326 of file btshortcutseditor.cpp.
References BtShortcutsDialog::getFirstKeys(), BtShortcutsDialog::getSecondKeys(), anonymous_namespace{btshortcutseditor.cpp}::getShortcutsEditor(), m_currentRow, m_dlg, m_table, BtShortcutsDialog::setFirstKeys(), and BtShortcutsDialog::setSecondKeys().
Referenced by BtShortcutsEditor().
|
privateslot |
Definition at line 311 of file btshortcutseditor.cpp.
References anonymous_namespace{btshortcutseditor.cpp}::getShortcutsEditor(), m_currentRow, m_customPushButton, and m_table.
Referenced by BtShortcutsEditor().
QString BtShortcutsEditor::findConflictWithKeys | ( | QKeySequence const & | keys | ) | const |
Definition at line 373 of file btshortcutseditor.cpp.
References m_table.
|
signal |
Referenced by BtShortcutsEditor(), and CAcceleratorSettingsPage::CAcceleratorSettingsPage().
|
privateslot |
Definition at line 297 of file btshortcutseditor.cpp.
References anonymous_namespace{btshortcutseditor.cpp}::getShortcutsEditor(), m_currentRow, m_customPushButton, and m_table.
Referenced by BtShortcutsEditor().
|
privateslot |
Definition at line 270 of file btshortcutseditor.cpp.
References anonymous_namespace{btshortcutseditor.cpp}::getShortcutsEditor(), m_currentRow, m_customButton, m_customPushButton, m_defaultButton, m_defaultLabelValue, m_noneButton, and m_table.
Referenced by BtShortcutsEditor().
|
private |
Definition at line 78 of file btshortcutseditor.h.
Referenced by BtShortcutsEditor(), customButtonClicked(), defaultButtonClicked(), noneButtonClicked(), and slotSelectionChanged().
|
private |
Definition at line 75 of file btshortcutseditor.h.
Referenced by BtShortcutsEditor(), and slotSelectionChanged().
|
private |
Definition at line 76 of file btshortcutseditor.h.
Referenced by BtShortcutsEditor(), defaultButtonClicked(), noneButtonClicked(), and slotSelectionChanged().
|
private |
Definition at line 74 of file btshortcutseditor.h.
Referenced by BtShortcutsEditor(), and slotSelectionChanged().
|
private |
Definition at line 77 of file btshortcutseditor.h.
Referenced by BtShortcutsEditor(), and slotSelectionChanged().
|
private |
Definition at line 70 of file btshortcutseditor.h.
Referenced by BtShortcutsEditor(), changeShortcutInDialog(), and customButtonClicked().
|
private |
Definition at line 73 of file btshortcutseditor.h.
Referenced by BtShortcutsEditor(), and slotSelectionChanged().
|
private |
Definition at line 72 of file btshortcutseditor.h.
Referenced by BtShortcutsEditor().
|
private |
Definition at line 71 of file btshortcutseditor.h.
Referenced by BtShortcutsEditor(), clearConflictWithKeys(), commitChanges(), customButtonClicked(), defaultButtonClicked(), findConflictWithKeys(), noneButtonClicked(), and slotSelectionChanged().