3163 Commits

Author SHA1 Message Date
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
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
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
e2227d9998 Fix QgsPointXY issues 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
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
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
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
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
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
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
Denis Rouzaud
736e303d30 missing annotation and fix warning 2017-05-30 14:39:33 +02:00
Blottiere Paul
c85cf23344 Update sip binding 2017-05-30 10:50:28 +02:00
Nyall Dawson
f83d2f4097 Sipify update 2017-05-30 17:24:12 +10:00
Nyall Dawson
21a4ac4d3a Unify label rotation with other rotation settings
Label rotation is now specified in degrees clockwise, just like
symbol rotation, map rotation, etc.

Fix #4518
2017-05-30 17:23:24 +10:00
Nyall Dawson
df52620377 Make QgsMapSettings rotation API docs follow same standard as other rotation API 2017-05-30 17:19:25 +10:00
Nyall Dawson
d705642fb3 Update diagram renderer to use rotation in degrees clockwise 2017-05-30 17:19:25 +10:00
Nyall Dawson
f9c48bf0ce Allow transform effect rotation from -360 to 360 2017-05-30 17:18:41 +10:00
Nyall Dawson
aaddfedda8 [composer] Allow map rotation from -360 to 360
Fix #15823

Also reenable instant map refresh as map rotation changes. Since
map refresh is done in the background now, this is safe to reenable.
2017-05-30 17:18:41 +10:00
Nyall Dawson
efe6109cf2 Merge pull request #4641 from nyalldawson/alpha
Unify opacity UI/API, pt 1
2017-05-30 16:50:43 +10:00
Alexander Bruy
9e1108243c Merge pull request #4593 from alexbruy/create-raster-api
[API] convenience API call to create empty raster file with given number of bands
2017-05-30 07:50:33 +03:00
Nyall Dawson
d4c87620aa Change some remaining alpha/transparency strings to opacity 2017-05-30 13:47:18 +10:00
Nyall Dawson
eed758e0b4 Fix build 2017-05-30 11:36:50 +10:00
Nyall Dawson
a3262240fe Flip symbology from alpha/transparency to opacity 2017-05-30 11:07:22 +10:00
Nyall Dawson
bcf4026f9d Flip QgsVectorLayer from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
b7352bb2b5 Flip Transparency property type to Opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
07b45cdcc9 Change labeling from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
660b34eac3 Flip some doxygen from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
052b5d321c Flip QgsDiagramSettings from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
ac3932073b Flip QgsShadowEffect from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
6f4c5496c7 Flip QgsDrawSourceEffect from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
89c2e85aa9 Flip QgsGlowEffect from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
a6d636447d Flip QgsColorEffect from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
59cc09b4c4 Change QgsBlurEffect to use opacity instead of transparency 2017-05-30 08:48:55 +10:00
Nyall Dawson
39146517d2 Change QgsComposerItem to use opacity instead of transparency 2017-05-30 08:48:54 +10:00
nirvn
3419945a8d [FEATURE] create_ramp() expression function 2017-05-29 16:31:53 +07:00
Nyall Dawson
86ce4418b1 Merge pull request #4627 from nyalldawson/json_format
Use field formatter when exporting feature attributes to JSON
2017-05-27 07:22:07 +10:00
Nyall Dawson
4647662664 Add crs, fields, wkbType and featureCount to QgsFeatureSource 2017-05-25 12:31:06 +10:00
Nyall Dawson
8bfeb8f73b QgsVectorLayer, QgsVectorDataProvider are QgsFeatureSources 2017-05-25 12:31:06 +10:00