QGIS API Documentation  3.0.2-Girona (307d082)
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 null to use the default singleton QgsShortcutsManager instance.

Definition at line 32 of file qgsconfigureshortcutsdialog.cpp.

Member Function Documentation

◆ keyPressEvent()

void QgsConfigureShortcutsDialog::keyPressEvent ( QKeyEvent *  event)
overrideprotected

Definition at line 300 of file qgsconfigureshortcutsdialog.cpp.

◆ keyReleaseEvent()

void QgsConfigureShortcutsDialog::keyReleaseEvent ( QKeyEvent *  event)
overrideprotected

Definition at line 340 of file qgsconfigureshortcutsdialog.cpp.


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