BibleTime
|
#include <btshortcutsdialog.h>
Signals | |
void | keyChangeRequest (QKeySequence const &keys) |
Public Member Functions | |
BtShortcutsDialog (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
void | changeSelectedShortcut (QKeySequence const &keys) |
QString | getFirstKeys () |
QString | getSecondKeys () |
void | setFirstKeys (const QString &keys) |
void | setSecondKeys (const QString &keys) |
Protected Member Functions | |
void | keyReleaseEvent (QKeyEvent *event) override |
Private Member Functions | |
void | retranslateUi () |
Private Attributes | |
QRadioButton * | m_alternateButton |
QLabel * | m_alternateLabel |
QRadioButton * | m_primaryButton |
QLabel * | m_primaryLabel |
Definition at line 31 of file btshortcutsdialog.h.
|
explicit |
Definition at line 31 of file btshortcutsdialog.cpp.
References BT_CONNECT, m_alternateButton, m_alternateLabel, m_primaryButton, m_primaryLabel, message::prepareDialogBox(), and retranslateUi().
void BtShortcutsDialog::changeSelectedShortcut | ( | QKeySequence const & | keys | ) |
Definition at line 114 of file btshortcutsdialog.cpp.
References m_alternateButton, m_alternateLabel, m_primaryButton, and m_primaryLabel.
Referenced by BtShortcutsEditor::changeShortcutInDialog().
QString BtShortcutsDialog::getFirstKeys | ( | ) |
Definition at line 76 of file btshortcutsdialog.cpp.
References m_primaryLabel.
Referenced by BtShortcutsEditor::customButtonClicked().
QString BtShortcutsDialog::getSecondKeys | ( | ) |
Definition at line 86 of file btshortcutsdialog.cpp.
References m_alternateLabel.
Referenced by BtShortcutsEditor::customButtonClicked().
|
signal |
Referenced by BtShortcutsEditor::BtShortcutsEditor(), and keyReleaseEvent().
|
overrideprotected |
Definition at line 96 of file btshortcutsdialog.cpp.
References keyChangeRequest().
|
private |
Definition at line 126 of file btshortcutsdialog.cpp.
References m_alternateButton, m_alternateLabel, m_primaryButton, and m_primaryLabel.
Referenced by BtShortcutsDialog().
void BtShortcutsDialog::setFirstKeys | ( | const QString & | keys | ) |
Definition at line 81 of file btshortcutsdialog.cpp.
References m_primaryLabel.
Referenced by BtShortcutsEditor::customButtonClicked().
void BtShortcutsDialog::setSecondKeys | ( | const QString & | keys | ) |
Definition at line 91 of file btshortcutsdialog.cpp.
References m_alternateLabel.
Referenced by BtShortcutsEditor::customButtonClicked().
|
private |
Definition at line 69 of file btshortcutsdialog.h.
Referenced by BtShortcutsDialog(), changeSelectedShortcut(), and retranslateUi().
|
private |
Definition at line 67 of file btshortcutsdialog.h.
Referenced by BtShortcutsDialog(), changeSelectedShortcut(), getSecondKeys(), retranslateUi(), and setSecondKeys().
|
private |
Definition at line 68 of file btshortcutsdialog.h.
Referenced by BtShortcutsDialog(), changeSelectedShortcut(), and retranslateUi().
|
private |
Definition at line 66 of file btshortcutsdialog.h.
Referenced by BtShortcutsDialog(), changeSelectedShortcut(), getFirstKeys(), retranslateUi(), and setFirstKeys().