Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #5153 from nyalldawson/geonode
[FEATURE] QGIS - GeoNode Integration
- Loading branch information
Showing
84 changed files
with
4,949 additions
and
462 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -23,7 +23,7 @@ | ||
/CMakeLists.txt.user | ||
/CMakeLists.txt.user.* | ||
api_doc | ||
build* | ||
*build* | ||
debian/*.debhelper | ||
debian/*.substvars | ||
desktop.ini | ||
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/geocms/geonode/qgsgeonodeconnection.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
class QgsGeoNodeConnection | ||
{ | ||
%Docstring | ||
Encapsulates settings related to a single GeoNode connection. | ||
.. versionadded:: 3.0 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsgeonodeconnection.h" | ||
%End | ||
public: | ||
|
||
explicit QgsGeoNodeConnection( const QString &name ); | ||
%Docstring | ||
Constructor for a QgsGeoNodeConnection with the specified ``name``. | ||
%End | ||
|
||
QString connectionName() const; | ||
%Docstring | ||
Returns the name of the connection. | ||
.. seealso:: setConnectionName() | ||
:rtype: str | ||
%End | ||
|
||
void setConnectionName( const QString &connectionName ); | ||
%Docstring | ||
Sets the ``name`` of the connection. | ||
.. seealso:: connectionName() | ||
%End | ||
|
||
QgsDataSourceUri uri() const; | ||
%Docstring | ||
Returns the URI for the GeoNode connection. | ||
.. seealso:: setUri() | ||
:rtype: QgsDataSourceUri | ||
%End | ||
|
||
void setUri( const QgsDataSourceUri &uri ); | ||
%Docstring | ||
Sets the ``uri`` for the GeoNode connection. | ||
.. seealso:: uri() | ||
%End | ||
|
||
QgsDataSourceUri &addWmsConnectionSettings( QgsDataSourceUri &uri ) const; | ||
%Docstring | ||
Adds uri parameters relating to the settings for a WMS layer on the connection to a QgsDataSourceUri ``uri``. | ||
.. seealso:: addWmsWcsConnectionSettings() | ||
:rtype: QgsDataSourceUri | ||
%End | ||
|
||
QgsDataSourceUri &addWfsConnectionSettings( QgsDataSourceUri &uri ) const; | ||
%Docstring | ||
Adds uri parameters relating to the settings for a WFS layer on the connection to a QgsDataSourceUri ``uri``. | ||
.. seealso:: addWmsWcsConnectionSettings() | ||
:rtype: QgsDataSourceUri | ||
%End | ||
|
||
}; | ||
|
||
class QgsGeoNodeConnectionUtils | ||
{ | ||
%Docstring | ||
Contains various utilities for managing the known collection of | ||
GeoNode servers associated with a QGIS install. | ||
.. versionadded:: 3.0 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsgeonodeconnection.h" | ||
%End | ||
public: | ||
|
||
static QStringList connectionList(); | ||
%Docstring | ||
Returns a list of all known GeoNode connection names. | ||
:rtype: list of str | ||
%End | ||
|
||
static void deleteConnection( const QString &name ); | ||
%Docstring | ||
Deletes the GeoNode connection with matching ``name``. | ||
%End | ||
|
||
static QString pathGeoNodeConnection(); | ||
%Docstring | ||
Returns the base path for settings related to GeoNode connections. | ||
:rtype: str | ||
%End | ||
|
||
static QString pathGeoNodeConnectionDetails(); | ||
%Docstring | ||
Returns the base path for settings related to GeoNode connection details. | ||
:rtype: str | ||
%End | ||
|
||
}; | ||
|
||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/geocms/geonode/qgsgeonodeconnection.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
Oops, something went wrong.