mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
28 lines
788 B
Plaintext
28 lines
788 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/ = 0, QgsShortcutsManager *manager = 0 );
|
|
|
|
~QgsConfigureShortcutsDialog();
|
|
|
|
protected:
|
|
void keyPressEvent( QKeyEvent *event );
|
|
void keyReleaseEvent( QKeyEvent *event );
|
|
|
|
};
|