Skip to content

Commit

Permalink
Merge branch 'master' into processing_sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
ghtmtt committed Jul 16, 2018
2 parents 1a0d0db + 7933c85 commit 14c74d8
Show file tree
Hide file tree
Showing 208 changed files with 9,235 additions and 1,627 deletions.
2 changes: 1 addition & 1 deletion .ci/travis/code_layout/install.sh
Expand Up @@ -19,6 +19,6 @@ export CORES=2
mkdir build
pushd build || exit

cmake -DUSE_CCACHE=OFF -DWITH_CORE=OFF -DWITH_APIDOC=ON -DWITH_ASTYLE=ON -DENABLE_TESTS=ON ..
cmake -DWITH_SERVER=ON -DUSE_CCACHE=OFF -DWITH_CORE=OFF -DWITH_APIDOC=ON -DWITH_ASTYLE=ON -DENABLE_TESTS=ON ..

popd || exit
21 changes: 7 additions & 14 deletions doc/CMakeLists.txt
Expand Up @@ -104,23 +104,16 @@ IF(WITH_APIDOC)
${CMAKE_SOURCE_DIR}/src/quickgui/plugin
)

IF(WITH_SERVER_PLUGINS)
IF(WITH_SERVER)
SET(DOXYGEN_INPUT
${DOXYGEN_INPUT}
${CMAKE_SOURCE_DIR}/src/server/qgsserver.h
${CMAKE_SOURCE_DIR}/src/server/qgscapabilitiescache.h
${CMAKE_SOURCE_DIR}/src/server/qgsserverexception.h
${CMAKE_SOURCE_DIR}/src/server/qgsrequesthandler.h
${CMAKE_SOURCE_DIR}/src/server/qgsserverfilter.h
${CMAKE_SOURCE_DIR}/src/server/qgsaccesscontrolfilter.h
${CMAKE_SOURCE_DIR}/src/server/qgsserverinterface.h
${CMAKE_SOURCE_DIR}/src/server/qgsserverrequest.h
${CMAKE_SOURCE_DIR}/src/server/qgsserverresponse.h
${CMAKE_SOURCE_DIR}/src/server/qgsserverrequest.h
${CMAKE_SOURCE_DIR}/src/server/qgsservice.h
${CMAKE_SOURCE_DIR}/src/server/qgsserviceregistry.h
${CMAKE_SOURCE_DIR}/src/server/
${CMAKE_SOURCE_DIR}/src/server/services/
${CMAKE_SOURCE_DIR}/src/server/services/wms
${CMAKE_SOURCE_DIR}/src/server/services/wfs
${CMAKE_SOURCE_DIR}/src/server/services/wcs
)
ENDIF(WITH_SERVER_PLUGINS)
ENDIF(WITH_SERVER)

SET(DOXYGEN_FILE_PATTERNS *.h *.cpp *.dox)

Expand Down
3 changes: 3 additions & 0 deletions doc/qgsquick.dox
Expand Up @@ -13,6 +13,9 @@ QGIS Quick consists of a Qt plugin that provides the QML components and of a sha

\subsection qgsquick_overview_widgets QML Classes
\subsubsection qgsquick_overview_widgets_mapcanvas MapCanvas
\subsubsection qgsquick_overview_widgets_featureform FeatureForm
A form listing attributes of a given feature. It supports basic edit field widgets for types such as edit text, map value,
checkbox, date/time picker or external resource (photo capture).
\subsubsection qgsquick_overview_widgets_positionmarker PositionMarker
The element refers to current position according gps location device connected to it. It holds information about longitude, latitude, altitude,
direction of the movement and accuracy of the signal. See also QgsQuickPositionKit.
Expand Down
2 changes: 2 additions & 0 deletions images/images.qrc
Expand Up @@ -170,6 +170,7 @@
<file>themes/default/mActionDistributeTop.svg</file>
<file>themes/default/mActionDistributeVCenter.svg</file>
<file>themes/default/mActionAddLayer.svg</file>
<file>themes/default/mActionAddMeshLayer.svg</file>
<file>themes/default/mActionAddAllToOverview.svg</file>
<file>themes/default/mActionAddArrow.svg</file>
<file>themes/default/mActionAddBasicShape.svg</file>
Expand Down Expand Up @@ -694,6 +695,7 @@
<file>themes/default/mActionIdentifyByRadius.svg</file>
<file>themes/default/mActionIdentifyByRectangle.svg</file>
<file>themes/default/mIndicatorEmbedded.svg</file>
<file>themes/default/mIconHistory.svg</file>
</qresource>
<qresource prefix="/images/tips">
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
Expand Down
106 changes: 106 additions & 0 deletions images/themes/default/mActionAddMeshLayer.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
25 changes: 1 addition & 24 deletions images/themes/default/providerQgis.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion python/core/auto_generated/qgsofflineediting.sip.in
Expand Up @@ -28,16 +28,23 @@ class QgsOfflineEditing : QObject
UpdateGeometries
};

enum ContainerType
{
SpatiaLite,
GPKG
};

QgsOfflineEditing();

bool convertToOfflineProject( const QString &offlineDataPath, const QString &offlineDbFile, const QStringList &layerIds, bool onlySelected = false );
bool convertToOfflineProject( const QString &offlineDataPath, const QString &offlineDbFile, const QStringList &layerIds, bool onlySelected = false, ContainerType containerType = SpatiaLite );
%Docstring
Convert current project for offline editing

:param offlineDataPath: Path to offline db file
:param offlineDbFile: Offline db file name
:param layerIds: List of layer names to convert
:param onlySelected: Only copy selected features from layers where a selection is present
:param containerType: defines the SQLite file container type like SpatiaLite or GPKG
%End

bool isOfflineProject() const;
Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/raster/qgscolorrampshader.sip.in
Expand Up @@ -143,7 +143,7 @@ Classify color ramp shader
:param input: raster input used in classification (quantile mode only)
%End

virtual bool shade( double value, int *returnRedValue /Out/, int *returnGreenValue /Out/, int *returnBlueValue /Out/, int *returnAlphaValue /Out/ );
virtual bool shade( double value, int *returnRedValue /Out/, int *returnGreenValue /Out/, int *returnBlueValue /Out/, int *returnAlphaValue /Out/ ) const;

%Docstring
Generates and new RGB value based on one input value
Expand All @@ -152,7 +152,7 @@ Generates and new RGB value based on one input value
virtual bool shade( double redValue, double greenValue,
double blueValue, double alphaValue,
int *returnRedValue /Out/, int *returnGreenValue /Out/,
int *returnBlueValue /Out/, int *returnAlphaValue /Out/ );
int *returnBlueValue /Out/, int *returnAlphaValue /Out/ ) const;
%Docstring
Generates and new RGB value based on original RGB value
%End
Expand Down
Expand Up @@ -54,7 +54,7 @@ Sets the minimum ``value`` for the raster shader.
int *returnRedValue /Out/,
int *returnGreenValue /Out/,
int *returnBlueValue /Out/,
int *returnAlpha /Out/ );
int *returnAlpha /Out/ ) const;
%Docstring
Generates an new RGBA value based on one input ``value``.

Expand All @@ -74,7 +74,7 @@ Generates an new RGBA value based on one input ``value``.
int *returnRedValue /Out/,
int *returnGreenValue /Out/,
int *returnBlueValue /Out/,
int *returnAlpha /Out/ );
int *returnAlpha /Out/ ) const;
%Docstring
Generates an new RGBA value based on an original RGBA value.

Expand Down
3 changes: 3 additions & 0 deletions python/gui/auto_additions/qgsprocessingtoolboxmodel.py
@@ -0,0 +1,3 @@
# The following has been generated automatically from src/gui/processing/qgsprocessingtoolboxmodel.h
QgsProcessingToolboxProxyModel.Filters.baseClass = QgsProcessingToolboxProxyModel
Filters = QgsProcessingToolboxProxyModel # dirty hack since SIP seems to introduce the flags in module

0 comments on commit 14c74d8

Please sign in to comment.