mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
59 lines
2.0 KiB
Plaintext
59 lines
2.0 KiB
Plaintext
|
/************************************************************************
|
||
|
* This file has been generated automatically from *
|
||
|
* *
|
||
|
* src/gui/layout/qgslayoutviewmouseevent.h *
|
||
|
* *
|
||
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
||
|
************************************************************************/
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
class QgsLayoutViewMouseEvent : QMouseEvent
|
||
|
{
|
||
|
%Docstring
|
||
|
A QgsLayoutViewMouseEvent is the result of a user interaction with the mouse on a QgsLayoutView.
|
||
|
|
||
|
It is sent whenever the user moves, clicks, releases or double clicks the mouse.
|
||
|
In addition to the coordinates in pixel space it also knows the coordinates the layout space.
|
||
|
.. versionadded:: 3.0
|
||
|
%End
|
||
|
|
||
|
%TypeHeaderCode
|
||
|
#include "qgslayoutviewmouseevent.h"
|
||
|
%End
|
||
|
|
||
|
%ConvertToSubClassCode
|
||
|
if ( dynamic_cast<QgsLayoutViewMouseEvent *>( sipCpp ) )
|
||
|
sipType = sipType_QgsLayoutViewMouseEvent;
|
||
|
else
|
||
|
sipType = 0;
|
||
|
%End
|
||
|
public:
|
||
|
|
||
|
QgsLayoutViewMouseEvent( QgsLayoutView *view, QMouseEvent *event );
|
||
|
%Docstring
|
||
|
Constructor for QgsLayoutViewMouseEvent. Should only be required to be called from the QgsLayoutView.
|
||
|
|
||
|
\param view The view in which the event occurred.
|
||
|
\param event The original mouse event
|
||
|
%End
|
||
|
|
||
|
QPointF layoutPoint() const;
|
||
|
%Docstring
|
||
|
Returns the event point location in layout coordinates.
|
||
|
.. seealso:: pos()
|
||
|
:rtype: QPointF
|
||
|
%End
|
||
|
|
||
|
};
|
||
|
|
||
|
/************************************************************************
|
||
|
* This file has been generated automatically from *
|
||
|
* *
|
||
|
* src/gui/layout/qgslayoutviewmouseevent.h *
|
||
|
* *
|
||
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
||
|
************************************************************************/
|