Nyall Dawson
625eef80eb
Fix resizing with mouse handles acts strangely when items have frames
2017-11-07 11:32:38 +10:00
Nyall Dawson
8629225a41
Work on functional rotation for items
2017-11-07 11:32:38 +10:00
Nyall Dawson
ce79ff30c8
Add refresh action for layouts
2017-11-07 11:32:38 +10:00
Nyall Dawson
3678f01e54
Port item opacity handling from composer
2017-11-07 11:32:38 +10:00
Nyall Dawson
75898d8e09
Port 'exclude from exports' functionality from composer
2017-11-07 11:32:38 +10:00
Nyall Dawson
4e8878dcb3
Port item blend mode support to layouts
2017-11-07 11:32:38 +10:00
Nyall Dawson
0143d0be68
Add a signal to QgsLayoutContext when flags change
2017-11-07 11:32:38 +10:00
Nyall Dawson
91c3b5d255
Add a shortcut menu to items panel, with option to show
...
item properties
Refs #11581
2017-11-07 11:32:38 +10:00
Nyall Dawson
ab4e6c11ed
Fix resizing items with non-top-left reference point using mouse handles
2017-11-07 11:32:37 +10:00
Nyall Dawson
1c735d59ee
Handle position and size with units and ratio lock in item properties
2017-11-07 11:32:37 +10:00
Nyall Dawson
b2414d8d8d
Start porting item properties widget
2017-11-07 11:32:37 +10:00
Nyall Dawson
d3836e502a
Move population of layout gui registry from GUI->app
...
Since we don't want all the item type subclass config widgets
to have to reside in gui, we need to populate the registry
from app instead.
2017-11-07 11:32:37 +10:00
Alessandro Pasotti
b57ec46aa0
getter return not-const list of errors
2017-11-06 16:49:33 +01:00
Alessandro Pasotti
af5760044a
const range loop iterators
2017-11-06 15:09:15 +01:00
Alessandro Pasotti
cd23779e6f
[auth][bugfix] Add a getter for error list on qgsmigrate
2017-11-06 12:42:20 +01:00
Nyall Dawson
4ae9241e71
[processing] Allow providers to determine default vector/raster file
...
to use for their algorithm's parameters
Because some providers do not have support for all output types,
we need to give providers a way to restrict the default format
choices to those which are supported by the provider.
2017-11-06 12:44:38 +10:00
Nyall Dawson
2a280d69aa
Allow access to parent algorithm for processing parameters
2017-11-06 12:00:16 +10:00
Nyall Dawson
8499d7fcef
Add option to hide non-spatial formats from driver lists
...
And hide non-spatial formats from geometry checker available formats
2017-11-06 07:49:31 +10:00
Nyall Dawson
fe0566000e
More QPair API removal
2017-11-06 07:34:01 +10:00
Nyall Dawson
a4ef7e42c7
Avoid use of QPair and instead use a struct
2017-11-06 07:22:04 +10:00
Nyall Dawson
dc341d2047
Add flags to QgsVectorFileWriter methods which return lists of drivers
...
Initially only flag available is whether to sort drivers by
recommended order. The recommended order puts GPKG first and
SHP second, then leaves the rest alphabetical.
This fixes a few instances in the QGIS gui where these recommended formats
are not listed first.
2017-11-06 07:22:04 +10:00
Nyall Dawson
b07f6757a5
Cleanup QgsSvgCache API
...
- Remove QgsSvgCacheEntry from public API (is an internal detail only)
- Modernize code
- Make protected QgsSvgCache members private, since this class is not
designed to be subclassed
2017-10-31 10:43:44 +10:00
Matthias Kuhn
e0025b65b1
Rename QgsGeometry::fromPoint to QgsGeometry::fromPointXY
...
Also introduces the from[Geometry]XY for QgsGeometryFactory
2017-10-30 09:14:06 +01:00
Matthias Kuhn
82e6d1219f
Rename from[GeometryType] to from[GeometryType]XY
...
- QgsGeometry::fromPoint() was renamed to fromPointXY()
- QgsGeometry::fromMultiPoint() was renamed to fromMultiPointXY()
- QgsGeometry::fromMultiPolyline() was renamed to fromMultiPolylineXY()
- QgsGeometry::fromPolygon() was renamed to fromPolygonXY()
- QgsGeometry::fromMultiPolygon() was renamed to fromMultiPolygonXY()
2017-10-30 09:14:06 +01:00
Matthias Kuhn
ca74e391cd
Rename QgsGeometry.addPoints with XY / V2-less versions
2017-10-30 09:14:05 +01:00
Matthias Kuhn
e19f6482ca
Various fixes to dropping V2 suffix
2017-10-30 09:14:05 +01:00
Matthias Kuhn
7f3ad76882
Rename QgsMultiPolygonV2 to QgsMultiPolygon
2017-10-30 09:14:04 +01:00
Matthias Kuhn
3fcdcd87af
Rename QgsMultiPointV2 to QgsMultiPoint
2017-10-30 09:14:04 +01:00
Matthias Kuhn
b6f46eae11
Rename QgsPolygonV2 to QgsPolygon
2017-10-30 09:14:04 +01:00
Matthias Kuhn
9a57bae6f4
Rename QgsMultiPolygon to QgsMultiPolygonXY
2017-10-30 09:14:04 +01:00
Matthias Kuhn
b7908744e3
Rename QgsMultiPolyline to QgsMultiPolylineXY
2017-10-30 09:14:03 +01:00
Matthias Kuhn
29e65ed087
Rename QgsMultiPoint to QgsMultiPointXY
2017-10-30 09:14:03 +01:00
Matthias Kuhn
becf86cf6c
Rename QgsPolygon to QgsPolygonXY
2017-10-30 09:14:03 +01:00
Matthias Kuhn
37e9272f3d
Fix API typo
2017-10-29 13:31:17 +01:00
Matthias Kuhn
0c321fb5b0
Decouple transaction handling from QgsProject
2017-10-29 13:31:17 +01:00
Larry Shaffer
8032de8d06
[auth][api] Remove deprecated QSslCertificate::isValid()
...
Substitue QgsAuthCertUtils::certIsViable(cert), which checks similar
characteristics to old function, plus whether the cert is null.
2017-10-27 14:01:03 -06:00
Alessandro Pasotti
d64529f4ce
[api][auth] Removed get prefix from all getters in auth manager
2017-10-27 14:27:29 +02:00
Matthias Kuhn
40955b24dd
Merge pull request #5440 from m-kuhn/relrefthreadingv2
...
[feature] Relation Reference Widget : Threaded Version
2017-10-27 11:07:25 +02:00
Matthias Kuhn
38a4eb48be
Code improvements
2017-10-27 09:43:55 +02:00
Nyall Dawson
4372ac2658
[FEATURE][processing] Native c++ snap to grid algorithm
...
With support for snapping Z/M values, keeping curves
2017-10-27 15:16:15 +10:00
Nyall Dawson
c67e39812d
Improvements to QgsAbstractGeometry::snappedToGrid
...
- Fix loss of coordinates when not rounding a particular dimension
- Don't segmentize curved geometries
- Add extra unit tests
- Make createEmptyWithSameType() protected and skip from Python bindings.
This method relies on low-level manipulation of the returned geometry
which we do not want to expose as public/fixed API
2017-10-27 14:37:35 +10:00
Martí Angelats i Ribera
3f5b11bffe
Make asGridified and newSameType (helper function)
2017-10-27 11:22:47 +10:00
Nyall Dawson
131b15f2a7
Merge pull request #5472 from nyalldawson/grid_renderer
...
Grid renderer
2017-10-27 10:23:21 +11:00
Nyall Dawson
b80160a628
Merge pull request #5464 from lbartoletti/improve_triangle
...
Improve triangle
2017-10-27 08:47:41 +11:00
myarjunar
ff2ade9843
[FEATURE] add grid renderer for points displacement. funded by Kartoza
2017-10-27 07:06:07 +10:00
Larry Shaffer
8501053a0d
Merge pull request #5463 from boundlessgeo/BD-2507-pki-bundle-validation
...
[auth] PKI bundle validation utility function
2017-10-26 13:52:57 -06:00
Larry Shaffer
3210f8546a
Merge pull request #5401 from boundlessgeo/pkcs8-to-pkcs1
...
[auth] Convert PKCS8 to PKCS1 private keys (for macOS)
2017-10-26 12:42:12 -06:00
Alessandro Pasotti
89166a0d2e
[auth] Add utility method to validate a PKI bundle
2017-10-26 18:26:47 +02:00
Alessandro Pasotti
f1eba3a849
[auth] Add validatePKIBundle
2017-10-26 18:24:35 +02:00
Alessandro Pasotti
0557b394d8
Add documentation for the hostName argument
2017-10-26 18:24:35 +02:00