mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
28 lines
800 B
Plaintext
28 lines
800 B
Plaintext
|
/** \ingroup gui
|
||
|
* \class QgsConfigureShortcutsDialog
|
||
|
* Reusable dialog for allowing users to configure shortcuts contained in a QgsShortcutsManager.
|
||
|
* \note added in QGIS 2.16
|
||
|
*/
|
||
|
|
||
|
class QgsConfigureShortcutsDialog: QDialog
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgsconfigureshortcutsdialog.h>
|
||
|
%End
|
||
|
public:
|
||
|
|
||
|
/** Constructor for QgsConfigureShortcutsDialog.
|
||
|
* @param parent parent widget
|
||
|
* @param manager associated QgsShortcutsManager, or leave as null to use the default
|
||
|
* singleton QgsShortcutsManager instance.
|
||
|
*/
|
||
|
QgsConfigureShortcutsDialog( QWidget* parent /TransferThis/ = nullptr, QgsShortcutsManager* manager = nullptr );
|
||
|
|
||
|
~QgsConfigureShortcutsDialog();
|
||
|
|
||
|
protected:
|
||
|
void keyPressEvent( QKeyEvent * event );
|
||
|
void keyReleaseEvent( QKeyEvent * event );
|
||
|
|
||
|
};
|