10#ifndef KEYBOARD_SHORTCUTS_DIALOG_H
11#define KEYBOARD_SHORTCUTS_DIALOG_H
17#include <QPersistentModelIndex>
72 void showEvent(QShowEvent *event)
override;
79 void showCopyMenu(
const QPoint &pos);
84 void copyColumnSelection();
89 void copyRowSelection();
94 void printShortcuts();
101 void copySelection(
bool copy_row);
107 QString buildShortcutsHtml()
const;
113 QString applicationVersionLabel()
const;
116 Ui::KeyboardShortcutsDialog *ui;
125 QPersistentModelIndex context_menu_index_;
A table model backed by a list of string lists.
Definition astringlist_list_model.h:28
A sort/filter proxy model for AStringListList-based models.
Definition astringlist_list_model.h:91
A dialog that remembers its geometry and splitter state.
Definition geometry_state_dialog.h:20
A dialog window that displays the available keyboard shortcuts.
Definition keyboard_shortcuts_dialog.h:52
void showEvent(QShowEvent *event) override
Handles the event when the dialog is shown.
Definition keyboard_shortcuts_dialog.cpp:126
~KeyboardShortcutsDialog()
Destroys the KeyboardShortcutsDialog.
Definition keyboard_shortcuts_dialog.cpp:121
A model managing the list of keyboard shortcuts for UI display.
Definition keyboard_shortcuts_dialog.h:31
QStringList headerColumns() const override
Retrieves the header column titles for the model.
Definition keyboard_shortcuts_dialog.cpp:77