QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
Public Member Functions | Protected Member Functions | List of all members
QgsConfigureShortcutsDialog Class Reference

Reusable dialog for allowing users to configure shortcuts contained in a QgsShortcutsManager. More...

#include <qgsconfigureshortcutsdialog.h>

Inheritance diagram for QgsConfigureShortcutsDialog:
Inheritance graph
[legend]

Public Member Functions

 QgsConfigureShortcutsDialog (QWidget *parent=nullptr, QgsShortcutsManager *manager=nullptr)
 Constructor for QgsConfigureShortcutsDialog. More...
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event) override
 
void keyReleaseEvent (QKeyEvent *event) override
 

Detailed Description

Reusable dialog for allowing users to configure shortcuts contained in a QgsShortcutsManager.

Since
QGIS 2.16

Definition at line 36 of file qgsconfigureshortcutsdialog.h.

Constructor & Destructor Documentation

◆ QgsConfigureShortcutsDialog()

QgsConfigureShortcutsDialog::QgsConfigureShortcutsDialog ( QWidget *  parent = nullptr,
QgsShortcutsManager manager = nullptr 
)

Constructor for QgsConfigureShortcutsDialog.

Parameters
parentparent widget
managerassociated QgsShortcutsManager, or leave as nullptr to use the default singleton QgsShortcutsManager instance.

Definition at line 41 of file qgsconfigureshortcutsdialog.cpp.

Member Function Documentation

◆ keyPressEvent()

void QgsConfigureShortcutsDialog::keyPressEvent ( QKeyEvent *  event)
overrideprotected

Definition at line 353 of file qgsconfigureshortcutsdialog.cpp.

◆ keyReleaseEvent()

void QgsConfigureShortcutsDialog::keyReleaseEvent ( QKeyEvent *  event)
overrideprotected

Definition at line 393 of file qgsconfigureshortcutsdialog.cpp.


The documentation for this class was generated from the following files: