Dialog showing every registered keyboard shortcut, grouped by category (File, Tools, Analysis, View, Help).
More...
#include <ShortcutsDialog.hpp>
Dialog showing every registered keyboard shortcut, grouped by category (File, Tools, Analysis, View, Help).
- Data source
- Rows are populated from
ShortcutManager::GetAll(), so the list always reflects the application's actual current bindings — not a hand-maintained copy that can drift out of sync.
- Customization
- Double-clicking a shortcut cell (or selecting a row and clicking Edit Shortcut…) opens a small capture dialog. The new binding is rejected if it's already used by another action. Reset restores the selected row's default; Reset All restores every shortcut.
- Printing
- Print… renders the current table as a simple HTML document and sends it to the system print dialog — a print-friendly cheat sheet.
◆ ShortcutsDialog()
| ui::qt::ShortcutsDialog::ShortcutsDialog |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~ShortcutsDialog()
| ui::qt::ShortcutsDialog::~ShortcutsDialog |
( |
| ) |
|
|
overridedefault |
◆ EditRow()
| void ui::qt::ShortcutsDialog::EditRow |
( |
int |
row | ) |
|
|
private |
◆ HandleCellDoubleClicked
| void ui::qt::ShortcutsDialog::HandleCellDoubleClicked |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
|
privateslot |
◆ HandleEditSelected
| void ui::qt::ShortcutsDialog::HandleEditSelected |
( |
| ) |
|
|
privateslot |
◆ HandlePrint
| void ui::qt::ShortcutsDialog::HandlePrint |
( |
| ) |
|
|
privateslot |
◆ HandleResetAll
| void ui::qt::ShortcutsDialog::HandleResetAll |
( |
| ) |
|
|
privateslot |
◆ HandleResetSelected
| void ui::qt::ShortcutsDialog::HandleResetSelected |
( |
| ) |
|
|
privateslot |
◆ populateShortcuts()
| void ui::qt::ShortcutsDialog::populateShortcuts |
( |
| ) |
|
|
private |
◆ setupUI()
| void ui::qt::ShortcutsDialog::setupUI |
( |
| ) |
|
|
private |
◆ m_editBtn
| QPushButton* ui::qt::ShortcutsDialog::m_editBtn {nullptr} |
|
private |
◆ m_resetBtn
| QPushButton* ui::qt::ShortcutsDialog::m_resetBtn {nullptr} |
|
private |
◆ m_rowIds
| std::vector<std::string> ui::qt::ShortcutsDialog::m_rowIds |
|
private |
Shortcut id for each table row, parallel to m_table's rows. Rows for non-editable reference entries (e.g. standard "Copy") hold an empty id.
◆ m_table
| QTableWidget* ui::qt::ShortcutsDialog::m_table {nullptr} |
|
private |
The documentation for this class was generated from the following files: