QGIS/python/gui/auto_generated/processing/models/qgsmodelarrowitem.sip.in
2020-03-03 16:08:23 +10:00

91 lines
3.1 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/processing/models/qgsmodelarrowitem.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsModelArrowItem : QObject, QGraphicsPathItem
{
%Docstring
A link arrow item for use in the model designer.
.. warning::
Not stable API
.. versionadded:: 3.14
%End
%TypeHeaderCode
#include "qgsmodelarrowitem.h"
%End
public:
QgsModelArrowItem( QgsModelComponentGraphicItem *startItem, Qt::Edge startEdge, int startIndex,
QgsModelComponentGraphicItem *endItem, Qt::Edge endEdge, int endIndex );
%Docstring
Constructor for QgsModelArrowItem, with the specified ``parent`` item.
The arrow will link ``startItem`` to ``endItem``, joining the specified ``startEdge`` and ``startIndex``
to ``endEdge`` and ``endIndex``.
%End
QgsModelArrowItem( QgsModelComponentGraphicItem *startItem, Qt::Edge startEdge, int startIndex,
QgsModelComponentGraphicItem *endItem );
%Docstring
Constructor for QgsModelArrowItem, with the specified ``parent`` item.
The arrow will link ``startItem`` to ``endItem``, joining the specified ``startEdge`` and ``startIndex``
to an automatic point on ``endItem``.
%End
QgsModelArrowItem( QgsModelComponentGraphicItem *startItem,
QgsModelComponentGraphicItem *endItem, Qt::Edge endEdge, int endIndex );
%Docstring
Constructor for QgsModelArrowItem, with the specified ``parent`` item.
The arrow will link ``startItem`` to ``endItem``, joining an automatic point on ``startItem`` to the specified
``endEdge`` and ``endIndex``.
%End
QgsModelArrowItem( QgsModelComponentGraphicItem *startItem,
QgsModelComponentGraphicItem *endItem );
%Docstring
Constructor for QgsModelArrowItem, with the specified ``parent`` item.
The arrow will link ``startItem`` to ``endItem``, joining an automatic points on both items.
%End
virtual void paint( QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0 );
void setPenStyle( Qt::PenStyle style );
%Docstring
Sets the pen ``style`` to use for rendering the arrow line.
%End
public slots:
void updatePath();
%Docstring
Updates the cached path linking the two items.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/processing/models/qgsmodelarrowitem.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/