2017-05-23 14:39:33 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsconfigureshortcutsdialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
2016-06-01 17:06:05 +10:00
|
|
|
|
2017-05-23 14:39:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsConfigureShortcutsDialog : QDialog
|
2016-06-01 17:06:05 +10:00
|
|
|
{
|
2017-05-23 14:39:33 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Reusable dialog for allowing users to configure shortcuts contained in a QgsShortcutsManager.
|
|
|
|
|
2017-05-23 14:39:33 +02:00
|
|
|
.. versionadded:: 2.16
|
|
|
|
%End
|
|
|
|
|
2016-06-01 17:06:05 +10:00
|
|
|
%TypeHeaderCode
|
2017-05-23 14:39:33 +02:00
|
|
|
#include "qgsconfigureshortcutsdialog.h"
|
2016-06-01 17:06:05 +10:00
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
2017-05-02 07:21:20 +02:00
|
|
|
QgsConfigureShortcutsDialog( QWidget *parent /TransferThis/ = 0, QgsShortcutsManager *manager = 0 );
|
2017-05-23 14:39:33 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsConfigureShortcutsDialog.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param parent: parent widget
|
|
|
|
:param manager: associated QgsShortcutsManager, or leave as null to use the default
|
|
|
|
singleton QgsShortcutsManager instance.
|
2017-05-23 14:39:33 +02:00
|
|
|
%End
|
2016-06-01 17:06:05 +10:00
|
|
|
|
|
|
|
~QgsConfigureShortcutsDialog();
|
|
|
|
|
|
|
|
protected:
|
2017-05-23 14:39:33 +02:00
|
|
|
virtual void keyPressEvent( QKeyEvent *event );
|
|
|
|
|
|
|
|
virtual void keyReleaseEvent( QKeyEvent *event );
|
|
|
|
|
2016-06-01 17:06:05 +10:00
|
|
|
|
|
|
|
};
|
2017-05-23 14:39:33 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsconfigureshortcutsdialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|