2017-07-05 18:01:16 +10:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/layout/qgslayoutviewtoolzoom.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsLayoutViewToolZoom : QgsLayoutViewTool
|
|
|
|
{
|
|
|
|
%Docstring
|
|
|
|
Layout view tool for zooming into and out of the layout.
|
|
|
|
.. versionadded:: 3.0
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgslayoutviewtoolzoom.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
2017-07-07 11:16:22 +10:00
|
|
|
QgsLayoutViewToolZoom( QgsLayoutView *view /TransferThis/ );
|
2017-07-05 18:01:16 +10:00
|
|
|
%Docstring
|
|
|
|
Constructor for QgsLayoutViewToolZoom.
|
|
|
|
%End
|
|
|
|
|
|
|
|
virtual void layoutPressEvent( QgsLayoutViewMouseEvent *event );
|
|
|
|
|
|
|
|
virtual void layoutMoveEvent( QgsLayoutViewMouseEvent *event );
|
|
|
|
|
|
|
|
virtual void layoutReleaseEvent( QgsLayoutViewMouseEvent *event );
|
|
|
|
|
2017-07-05 18:20:24 +10:00
|
|
|
virtual void keyPressEvent( QKeyEvent *event );
|
|
|
|
|
|
|
|
virtual void keyReleaseEvent( QKeyEvent *event );
|
|
|
|
|
2017-07-05 18:01:16 +10:00
|
|
|
virtual void deactivate();
|
|
|
|
|
|
|
|
|
2017-07-07 11:16:22 +10:00
|
|
|
protected:
|
|
|
|
|
|
|
|
|
2017-07-05 18:01:16 +10:00
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/layout/qgslayoutviewtoolzoom.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|