Nyall Dawson
03e40f7497
[processing] Remove all remaining algorithm copies
...
Algorithms are no longer copied - just a single const instance
of each algorithm is used
2017-06-06 07:41:19 +10:00
Nyall Dawson
b64a71df61
Port algorithm countVisibleParameters to c++
2017-06-06 07:41:19 +10:00
Nyall Dawson
2da85f8771
Temporarily deactivate all processing providers/algorithms
...
While the processing API is in such a state of flux it's
become unmaintainable to port these algorithms change-by-change.
Instead, disable them all until the API is fixed, and then we
can port them algorithm by algorithm and reactivate each
test in turn.
2017-06-06 07:41:19 +10:00
Denis Rouzaud
176b7cafaf
sipify core raster part 3
2017-06-05 22:59:25 +02:00
Nyall Dawson
63083abefe
Merge pull request #4679 from nyalldawson/selected_feature_source
...
QgsVectorLayerSelectedFeatureSource
2017-06-05 17:22:27 +10:00
Nyall Dawson
3388857526
Move uniqueValues to QgsFeatureSource
...
Also change signature of QgsVectorLayer/QgsVectorDataProvider
uniqueValues method to match (and improve API)
2017-06-05 16:59:08 +10:00
Nyall Dawson
405c55f155
Create QgsVectorLayerSelectedFeatureSource
...
...which is a QgsFeatureSource subclass which only considers
selected features from a QgsVectorLayer
2017-06-05 13:28:37 +10:00
Nyall Dawson
f69d1c2065
Convert isolated '...' strings to '…'
...
Ideally we'd replace ALL ... instances to …, but need to
first work out how to avoid the translation burden of this
change
2017-06-05 09:56:58 +10:00
Nyall Dawson
e5b8b32e04
Make paletted raster widget behave the same as categorized widget
...
when changing current band
Now the widget asks users if they want to delete existing categories
when they switch a band, just like how the categorized renderer
widget asks when the categorized field is changed.
2017-06-05 09:50:44 +10:00
Nyall Dawson
4318bfb8ad
Merge pull request #4670 from nyalldawson/widget_action_header
...
New classes QgsMenuHeader, QgsMenuHeaderWidgetAction
2017-06-04 16:46:41 +10:00
Matthias Kuhn
0f2a49d9b5
Remove Point3D
...
... in favor of QgsPoint
Reference https://github.com/qgis/qgis3.0_api/issues/71
2017-06-03 08:20:30 +02:00
Matthias Kuhn
2bbadbacb7
Rename qgspoint.h and qgspointv2.h
...
To qgspointxy.h
And qgspoint.h
2017-06-02 19:53:37 +02:00
Matthias Kuhn
4f3cd3e12c
QgsPoint migration
2017-06-02 19:53:37 +02:00
Matthias Kuhn
e3efc2c838
Fix tests
2017-06-02 19:53:37 +02:00
Matthias Kuhn
e2227d9998
Fix QgsPointXY issues
2017-06-02 19:53:37 +02:00
Matthias Kuhn
4ba385d4e1
Fix python plugins
2017-06-02 19:53:37 +02:00
Matthias Kuhn
a9d7630a69
Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
...
Because 3D coordinates should be the default.
References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00
Alessandro Pasotti
1067239565
Merge pull request #4629 from boundlessgeo/unified-button
...
Add layer button
2017-06-02 19:26:07 +02:00
Sandro Santilli
78c3423861
For GDAL sake extract a dbname from the connection
...
Works around GDAL limitation reported in:
https://trac.osgeo.org/gdal/ticket/6910
Ref #16625
Ref #16626
2017-06-02 17:31:41 +02:00
Alessandro Pasotti
de5996c7dc
[addlayerbutton] Use enum for window mode instead of booleans
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
129e00d7f3
[addlayerbutton] Added embeddedMode to all providers
...
Also switched managerMode and embeddedMode arguments
for a more logical arg passing from the factory function.
2017-06-02 16:57:45 +02:00
Sandro Santilli
861cf9abad
Fix typo in URI service extraction (introduced in 93624b08)
...
Also add a comment about lack of support in GDAL up to 2.2.x for
service specification in datasource uri
Ref #16626
2017-06-02 16:44:27 +02:00
Alessandro Pasotti
d62d444ea7
Moved support classes into own private header
2017-06-02 14:51:02 +02:00
Alessandro Pasotti
7082649778
Added docs and SIP bindings for QgsBrowserDockWidget
2017-06-02 14:51:02 +02:00
Denis Rouzaud
2d78ef80a9
handle PyName for enums
2017-06-02 13:27:15 +02:00
Denis Rouzaud
98f653e6a5
sipify core raster part 2
2017-06-02 13:27:15 +02:00
Alexander Bruy
74984b2525
[processing] always look for SAGA LTR first ( fix #16648 )
2017-06-02 10:08:22 +03:00
Alexander Bruy
19cfa83e4e
[processing] fix description for GRASS 7 v.drape algorithm ( fix #16175 )
2017-06-02 09:21:53 +03:00
Nyall Dawson
ae8b71edeb
New classes QgsMenuHeader, QgsMenuHeaderWidgetAction
...
Custom widgets designed for displaying subheaders within a QMenu
in a standard style (i.e. matching the subheaders shown within
the color button drop down menus)
2017-06-02 10:25:17 +10:00
Nyall Dawson
4d936cea2b
Add method to convert QgsUnitTypes::RenderUnit to translated string
2017-06-02 08:50:59 +10:00
rldhont
df9ee6f705
Merge pull request #4313 from pblottiere/cleansingleton
...
[Server] WMS getmap refactoring
2017-06-01 17:57:11 +02:00
Etienne Trimaille
b17b36efc9
sipify OSM classes
2017-06-01 14:55:27 +02:00
Denis Rouzaud
6c7a12a207
sip doesn't like named argument in operators (apparently)
2017-06-01 13:42:27 +02:00
Denis Rouzaud
3e73ac7a5d
fix missing private operator
2017-06-01 13:33:16 +02:00
Denis Rouzaud
07fa24781c
sipify core raster part 1
2017-06-01 13:33:16 +02:00
Nyall Dawson
2f9bfc5653
Merge pull request #4661 from nyalldawson/feature_index
...
Add method for manually inserting features into spatial indexes
2017-06-01 18:24:44 +10:00
Nyall Dawson
d8d17524b2
Make QgsSpatialIndex protected members private
...
The class is not designed to be subclassed
2017-06-01 10:09:09 +10:00
Nyall Dawson
ff171ea101
Add method for manually inserting features into spatial indexes
...
i.e. inserting a feature with a different bounding box to that
feature's actual geometry
2017-06-01 10:03:51 +10:00
Nyall Dawson
5077e1285e
Merge pull request #4652 from nyalldawson/extent
...
[FEATURE] Add option to take extent from project map layer to QgsExtentGroupBox
2017-06-01 10:02:39 +10:00
Nyall Dawson
9e147413db
Move logic for maintaining exact extent when CRS changes from
...
raster layer save as dialog to QgsExtentGroupBox, add tests
2017-06-01 09:10:07 +10:00
Denis Rouzaud
2148fa9287
handle protected inheritance, rename ui class to avoid class name collision
2017-05-31 14:37:30 +02:00
Denis Rouzaud
625cfc7c8f
sip gui layertree and raster
2017-05-31 14:37:30 +02:00
Nyall Dawson
e2de69d32d
Ensure extent is updated when QgsExtentGroupBox crs is changed
2017-05-31 21:18:44 +10:00
Nyall Dawson
f216db102c
Clean up QgsExtentGroupBox API
...
Make protected members private, improve documentation
2017-05-31 21:05:43 +10:00
Nyall Dawson
4e4f232ad4
[FEATURE] Add option to take extent from project map layer
...
to QgsExtentGroupBox
This allows matching another layer's extent in the save vector/
raster layer dialog, among others
Fix #16357
2017-05-31 20:29:30 +10:00
Etienne Trimaille
6eb3570511
sipify
2017-05-31 10:48:11 +02:00
Denis Rouzaud
7e52f06ad2
sipify gui auth classes
2017-05-31 10:44:30 +02:00
Nyall Dawson
77fd7e63ea
Merge pull request #4646 from nyalldawson/rotation
...
Unify UX behavior, pt 2: rotation
2017-05-31 12:54:35 +10:00
Denis Rouzaud
8ce847f9b4
more constness
2017-05-30 22:27:44 +02:00
Denis Rouzaud
2c56f42482
add Factory annotation to clone() methods
2017-05-30 15:49:40 +02:00