10#ifndef KEYBOARD_SHORTCUTS_DIALOG_H
11#define KEYBOARD_SHORTCUTS_DIALOG_H
17#include <QPersistentModelIndex>
24class KeyboardShortcutsDialog;
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_;
AStringListListModel(QObject *parent=Q_NULLPTR)
Construct an empty model.
Definition astringlist_list_model.cpp:20
A sort/filter proxy model for AStringListList-based models.
Definition astringlist_list_model.h:91
GeometryStateDialog(QWidget *parent, Qt::WindowFlags f=Qt::Window)
Constructs a new GeometryStateDialog with the specified parent and window flags.
Definition geometry_state_dialog.h:91
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
KeyboardShortcutsDialog(QWidget *parent=0)
Constructs a new KeyboardShortcutsDialog.
Definition keyboard_shortcuts_dialog.cpp:82
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
ShortcutListModel(QObject *parent=Q_NULLPTR)
Constructs a new ShortcutListModel.
Definition keyboard_shortcuts_dialog.cpp:39