Skip to content
Permalink
Browse files

fix .gitignore to add missing sip files

  • Loading branch information
3nids committed Jan 17, 2018
1 parent 0644f59 commit 0304708130deee9db131debbf7a8314048441687
@@ -23,7 +23,7 @@
/CMakeLists.txt.user
/CMakeLists.txt.user.*
api_doc
*build*
/build*
debian/*.debhelper
debian/*.substvars
desktop.ini
@@ -0,0 +1,55 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsgraphbuilder.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/






class QgsGraphBuilder : QgsGraphBuilderInterface
{
%Docstring
This class used for making the QgsGraph object
%End

%TypeHeaderCode
#include "qgsgraphbuilder.h"
%End
public:

QgsGraphBuilder( const QgsCoordinateReferenceSystem &crs, bool otfEnabled = true, double topologyTolerance = 0.0, const QString &ellipsoidID = "WGS84" );
%Docstring
Default constructor
%End

~QgsGraphBuilder();

virtual void addVertex( int id, const QgsPointXY &pt );

%Docstring
MANDATORY BUILDER PROPERTY DECLARATION
%End

virtual void addEdge( int pt1id, const QgsPointXY &pt1, int pt2id, const QgsPointXY &pt2, const QVector< QVariant > &prop );


QgsGraph *graph() /Factory/;
%Docstring
Returns generated :py:class:`QgsGraph`
%End

};


/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsgraphbuilder.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -0,0 +1,102 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsgraphbuilderinterface.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/




%ModuleHeaderCode
#include <qgsgraphbuilder.h>
%End

class QgsGraphBuilderInterface
{
%Docstring
Determine interface for creating a graph. Contains the settings of the graph.
QgsGraphBuilder and QgsGraphDirector both use a "builder" design pattern
%End

%TypeHeaderCode
#include "qgsgraphbuilderinterface.h"
%End
%ConvertToSubClassCode
if ( dynamic_cast< QgsGraphBuilder * >( sipCpp ) != NULL )
sipType = sipType_QgsGraphBuilder;
else
sipType = NULL;
%End
public:

QgsGraphBuilderInterface( const QgsCoordinateReferenceSystem &crs, bool ctfEnabled = true, double topologyTolerance = 0.0, const QString &ellipsoidID = "WGS84" );
%Docstring
Default constructor

:param crs: Coordinate reference system for new graph vertex
:param ctfEnabled: enable coordinate transform from source graph CRS to CRS graph
:param topologyTolerance: sqrt distance between source point as one graph vertex
:param ellipsoidID: ellipsoid for edge measurement
%End

virtual ~QgsGraphBuilderInterface();

QgsCoordinateReferenceSystem destinationCrs() const;
%Docstring
Returns destinaltion CRS
%End

bool coordinateTransformationEnabled();
%Docstring
Returns coordinate transformation enabled
%End

double topologyTolerance();
%Docstring
Returns topology tolerance
%End

QgsDistanceArea *distanceArea();
%Docstring
Returns measurement tool
%End

virtual void addVertex( int id, const QgsPointXY &pt );
%Docstring
Add vertex to the graph

:param id: vertex identifier
:param pt: vertex coordinates

.. note::

id and pt are redundant. You can use pt or id to identify the vertex
%End

virtual void addEdge( int pt1id, const QgsPointXY &pt1, int pt2id, const QgsPointXY &pt2, const QVector< QVariant > &strategies );
%Docstring
Add edge to the graph

:param pt1id: first vertex identificator
:param pt1: first vertex coordinates
:param pt2id: second vertex identificator
:param pt2: second vertex coordinates
:param strategies: optimization strategies

.. note::

pt1id, pt1 and pt2id, pt2 is a redundant interface. You can use vertex coordinates or their identificators.
%End

};


/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsgraphbuilderinterface.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -0,0 +1,114 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsexpressionbuilderdialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/




class QgsExpressionBuilderDialog : QDialog
{
%Docstring
A generic dialog for building expression strings
@remarks This class also shows an example on how to use QgsExpressionBuilderWidget
%End

%TypeHeaderCode
#include "qgsexpressionbuilderdialog.h"
%End
public:
QgsExpressionBuilderDialog( QgsVectorLayer *layer,
const QString &startText = QString(),
QWidget *parent /TransferThis/ = 0,
const QString &key = "generic",
const QgsExpressionContext &context = QgsExpressionContext() );

QgsExpressionBuilderWidget *expressionBuilder();
%Docstring
The builder widget that is used by the dialog
%End

void setExpressionText( const QString &text );

QString expressionText();

QgsExpressionContext expressionContext() const;
%Docstring
Returns the expression context for the dialog. The context is used for the expression
preview result and for populating the list of available functions and variables.

.. seealso:: :py:func:`setExpressionContext`

.. versionadded:: 2.12
%End

void setExpressionContext( const QgsExpressionContext &context );
%Docstring
Sets the expression context for the dialog. The context is used for the expression
preview result and for populating the list of available functions and variables.

:param context: expression context

.. seealso:: :py:func:`expressionContext`

.. versionadded:: 2.12
%End

void setGeomCalculator( const QgsDistanceArea &da );
%Docstring
Sets geometry calculator used in distance/area calculations.
%End

bool allowEvalErrors() const;
%Docstring
Allow accepting invalid expressions. This can be useful when we are not able to
provide an expression context of which we are sure it's completely populated.

.. versionadded:: 3.0
%End

void setAllowEvalErrors( bool allowEvalErrors );
%Docstring
Allow accepting expressions with evaluation errors. This can be useful when we are not able to
provide an expression context of which we are sure it's completely populated.

.. versionadded:: 3.0
%End

signals:

void allowEvalErrorsChanged();
%Docstring
Allow accepting expressions with evaluation errors. This can be useful when we are not able to
provide an expression context of which we are sure it's completely populated.

.. versionadded:: 3.0
%End

protected:

virtual void done( int r );

%Docstring
Is called when the dialog get accepted or rejected
Used to save geometry

:param r: result value (unused)
%End

virtual void accept();


};


/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsexpressionbuilderdialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

0 comments on commit 0304708

Please sign in to comment.
You can’t perform that action at this time.