Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port some more model designer Python code to c++
- Loading branch information
1 parent
eefd04c
commit a0e6a37
Showing
14 changed files
with
654 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
python/gui/auto_generated/processing/models/qgsmodelgraphicsview.sip.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/processing/models/qgsmodelgraphicsview.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
class QgsModelGraphicsView : QGraphicsView | ||
{ | ||
%Docstring | ||
QGraphicsView subclass representing the model designer. | ||
|
||
.. warning:: | ||
|
||
Not stable API | ||
|
||
.. versionadded:: 3.14 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsmodelgraphicsview.h" | ||
%End | ||
public: | ||
|
||
QgsModelGraphicsView( QWidget *parent = 0 ); | ||
%Docstring | ||
Constructor for QgsModelGraphicsView, with the specified ``parent`` widget. | ||
%End | ||
|
||
virtual void dragEnterEvent( QDragEnterEvent *event ); | ||
|
||
virtual void dropEvent( QDropEvent *event ); | ||
|
||
virtual void dragMoveEvent( QDragMoveEvent *event ); | ||
|
||
virtual void wheelEvent( QWheelEvent *event ); | ||
|
||
virtual void enterEvent( QEvent *event ); | ||
|
||
virtual void mousePressEvent( QMouseEvent *event ); | ||
|
||
virtual void mouseMoveEvent( QMouseEvent *event ); | ||
|
||
|
||
signals: | ||
|
||
void algorithmDropped( const QString &algorithmId, const QPointF &pos ); | ||
%Docstring | ||
Emitted when an algorithm is dropped onto the view. | ||
%End | ||
|
||
void inputDropped( const QString &inputId, const QPointF &pos ); | ||
%Docstring | ||
Emitted when an input parameter is dropped onto the view. | ||
%End | ||
|
||
}; | ||
|
||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/processing/models/qgsmodelgraphicsview.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.