Nyall Dawson
3d6688cce5
Add labeling tests for letter/word spacing
2016-07-27 06:37:16 +10:00
Nyall Dawson
5228de353c
Update curved label test reference images
2016-07-27 06:37:16 +10:00
Nyall Dawson
449fcad8ce
[labels] Fix word and letter spacing truncated to integers
2016-07-27 06:37:16 +10:00
Frits van Veen
22fdb6ab9f
[labeling] Curved labels are now angled per character
...
...instead of shifted along base line (fix #15210 )
2016-07-27 06:37:16 +10:00
rldhont
153b1c1d0e
Merge pull request #3322 from rldhont/db_manager_update_sql_layer
...
[DB Manager] Add the ability to update SQL Layer
2016-07-26 15:36:11 +02:00
Alexander Bruy
b3a38f4018
[processing] fix issues with exported layers in GDAL provider
2016-07-26 15:00:26 +03:00
Alexander Bruy
6ccf7264a6
[processing] fix condition in warp alg
2016-07-26 15:00:26 +03:00
Juergen E. Fischer
3138cab6fa
fix build (followup f6b09ea)
2016-07-26 08:54:29 +02:00
Nyall Dawson
76c4cae0a3
Fix text annotation edit background should match frame background
...
Otherwise white text is not visible. Fix #10553 .
2016-07-26 15:52:46 +10:00
Nyall Dawson
0fa6499bef
Merge pull request #3329 from nyalldawson/annotations
...
Add an interface class for annotations, remove some hacks
2016-07-26 12:39:18 +10:00
Nyall Dawson
68b621ace6
Merge pull request #3314 from nyalldawson/units
...
Consolidate unit handling in QgsUnitTypes
2016-07-26 11:14:35 +10:00
Nyall Dawson
1e9274adbb
Docs
2016-07-26 11:11:05 +10:00
Nyall Dawson
5ed31d887d
Fix annotation position when maps are rotated, remove hacks
...
Adds a new interface class QgsAnnotation, and allows for removal
of a bunch of hacks in QgsComposerMap without breaking 2.x API
2016-07-26 10:18:19 +10:00
Nyall Dawson
813ed5e96f
Add missing docs
2016-07-26 10:08:18 +10:00
Nyall Dawson
f186c11a72
Mark some QgsUnitType arguments as /Out/
2016-07-26 08:31:29 +10:00
Nyall Dawson
f6b09eaee1
Add Distance*, Area*, Angle* prefixes to QgsUnitTypes enum values
2016-07-26 08:29:24 +10:00
Alexander Bruy
156c09880b
[plugin manager] mark installed plugins as trusted ( fix #15338 )
2016-07-25 20:24:12 +03:00
Alexander Bruy
01dd338677
[processing] fix dialog title
2016-07-25 16:24:44 +03:00
Alexander Bruy
48cca3bc12
[processing] always use user-defined default folder for scripts/models
2016-07-25 16:22:21 +03:00
Alexander Bruy
b167c09e44
[processing] use default models folder when adding model from file ( fix #15335 )
2016-07-25 14:17:46 +03:00
Alexander Bruy
4e94963af5
[processing] different shortcut for commander ( fix #15334 )
2016-07-25 14:13:48 +03:00
Nyall Dawson
510f42845a
Remove some unneeded qgssymbolv2.h includes
2016-07-25 15:39:52 +10:00
Nyall Dawson
503d0941ee
Add missing docs
2016-07-25 15:22:36 +10:00
Nyall Dawson
0324de3bf5
Remove QgsSymbolLayerV2Utils::encodeOutputUnit() and decodeOutputUnit()
...
QgsUnitTypes::encodeUnit() and QgsUnitTypes::decodeRenderUnit() should
be used instead.
2016-07-25 15:22:36 +10:00
Nyall Dawson
ce6bd6c973
Move QgsSymbolV2::OutputUnit enum to QgsUnitTypes
...
And rename to QgsUnitTypes::RenderUnits. This enum is used in
much more contexts than just symbols, so QgsUnitTypes is a
better fit for it.
All methods which previously accepted QgsSymbolV2::OutputUnit
parameters or QgsSymbolV2::OutputUnitList parameters now take
QgsUnitTypes::RenderUnit or QgsUnitTypes::RenderUnitList
parameters respectively.
2016-07-25 15:22:12 +10:00
Nyall Dawson
f6f5010131
Move QGis::UnitType to QgsUnitTypes::DistanceUnit
...
This change consolidates more unit handling and conversion into
QgsUnitTypes.
Additionally, UnknownUnit was renamed to UnknownDistanceUnit.
All methods which accepted QGis::UnitType parameters have been
updated to take QgsUnitTypes::DistanceUnit instead.
ALso remove the unit handling methods toLiteral, fromLiteral, tr,
fromTr, and fromUnitToUnitFactor from QGis. Their corresponding
counterparts in QgsUnitTypes should be used instead.
2016-07-25 14:47:16 +10:00
Nyall Dawson
59aed7b231
Remove deprecated units from QGis
...
- DecimalDegrees
- DegreesMinutesSeconds
- DegreesDecimalMinutes
all these were replaced long ago by QGis::Degrees
2016-07-25 13:00:46 +10:00
Nyall Dawson
bc2c2b201c
Merge pull request #3331 from nyalldawson/crs
...
QgsCoordinateReferenceSystem - API fixes + internal caching
2016-07-25 11:11:17 +10:00
Nyall Dawson
6dac8e18bd
Clean up handling of inverted axis for CRS, fix detachment issue
2016-07-25 10:15:46 +10:00
Nyall Dawson
bb36c6048d
Remove QgsCRSCache
...
No longer required now that QgsCoordinateReferenceSystem
internally uses caches for CRS initialization.
2016-07-25 10:15:46 +10:00
Nyall Dawson
ac36cb5dd2
Make QgsCoordinateReferenceSystem use an internal cache
...
for initializing CRS objects.
This avoids the need for the separate QgsCRSCache class,
and means that the caching benefits are available without the
need for calling methods from QgsCrsCache.
2016-07-25 10:14:19 +10:00
Nyall Dawson
bb220a0b43
Add some static methods for creating QgsCoordinateReferenceSystem
...
This avoids the need for
QgsCoordinateReferenceSystem crs;
crs.createFromSrsId(...)
and instead can be replaced with
QgsCoordinateReferenceSystem crs = QgsCoordinateReferenceSystem::fromSrsId(...)
2016-07-25 10:14:19 +10:00
Nyall Dawson
ee62bdeeb4
Rename some QgsCoordinateReferenceSystem methods
...
- geographicFlag() -> isGeographic()
- axisInverted() -> hasAxisInverted()
2016-07-25 10:14:19 +10:00
Juergen E. Fischer
2b8b979216
fix build
2016-07-24 23:04:36 +02:00
Martin Dobias
0974f0b81b
Wrap QgsMapCanvasMap in PRIVATE condition to avoid sip/doc testing
2016-07-24 22:44:23 +02:00
Martin Dobias
ab4a83b49b
Goodbye to QgsMapRenderer ( #3333 )
...
For the time being the class is kept in the server code while it is still being used there.
2016-07-24 22:40:52 +02:00
Juergen E. Fischer
2bbfe8a6f9
update splash
2016-07-24 21:45:31 +02:00
Juergen E. Fischer
1368038ca9
oracle provider: fix binding of output values
2016-07-23 18:34:15 +02:00
Matthias Kuhn
e9b4b0c666
Pass enums by value
2016-07-23 00:20:29 +02:00
Matthias Kuhn
82259f8775
Miss fixing docs
2016-07-22 22:51:44 +02:00
Matthias Kuhn
4d9f3ff806
Fix inadequate usage of nullptr
2016-07-22 22:04:51 +02:00
Juergen E. Fischer
578962f316
more QGis -> QGis renames
...
git grep -l "QGis::" src/ | xargs perl -pe "s/QGis::/Qgis::/g" -i.bak
2016-07-22 15:30:40 +02:00
Juergen E. Fischer
aa0b94a7c8
fix build
2016-07-22 15:25:04 +02:00
Alexander Bruy
2fbb617d61
[processing] also fix case without dissolving
2016-07-22 15:43:04 +03:00
Alexander Bruy
9976c30c9a
[processing] fix buffer tool
2016-07-22 15:37:16 +03:00
Juergen E. Fischer
e8bac30230
debian packing build with webkit on xenial
2016-07-22 14:10:41 +02:00
Nyall Dawson
791b2c3919
Merge pull request #3324 from nyalldawson/qgis
...
QGis class rename and cleanup
2016-07-22 19:28:06 +10:00
Nyall Dawson
39da9d1402
Allow shift-drag zooming with touch tool
2016-07-22 18:20:56 +10:00
Nyall Dawson
2dcd40554a
Use closed hand cursor when dragging canvas with middle mouse button
2016-07-22 18:16:08 +10:00
Nyall Dawson
d56ca40884
Make filename in project properties a readonly line edit
...
(Because it's nice to be able to copy the project path easily)
2016-07-22 18:10:33 +10:00