Etienne Trimaille
098611c3f6
add helper to build a QgsRectangle from a WKT string
2017-10-12 06:32:02 +10:00
Martin Dobias
b140b29718
[FEATURE] Tracing with optional offset
...
Tracing button in the snapping toolbar gets extra menu where it is possible to set
offset that will be applied to the traced line. Offset value can be either positive
(right side) or negative (left side).
2017-10-10 10:50:27 +02:00
Ismail Sunni
1be2f3ee66
Add methods to remove variables from global/project scope
2017-10-09 12:03:37 +10:00
Nyall Dawson
c8eaeb8f93
Port hide pages action from composer
2017-10-06 17:48:25 +10:00
Nyall Dawson
aa7beaad6a
Port keyboard nudge of items from composer
2017-10-06 17:48:25 +10:00
Nyall Dawson
66b4bdf01d
Fix invalid merge of non equal item commands
2017-10-06 17:48:25 +10:00
Nyall Dawson
a66f2cb684
Nicer API for adding/removing items
...
Automatically create the corresponding undo commands, so that
plugins and scripts which add/delete items will be added to
the undo stack without any work required.
2017-10-06 17:48:25 +10:00
Nyall Dawson
f3bfcc3182
Save/restore frame properties, add unit tests for undo/redo
2017-10-06 17:48:25 +10:00
Nyall Dawson
616aec1566
Save/restore a few more layout item properties
2017-10-06 17:48:25 +10:00
Nyall Dawson
62a5679230
Port item model from composer to layouts
2017-10-06 17:48:25 +10:00
Nyall Dawson
2d6cbd6bba
Restore ability to show/hide selection bounds
2017-10-06 17:48:24 +10:00
Nyall Dawson
7d072beee7
Add signals for size and rotation changes
2017-10-06 17:48:24 +10:00
Nyall Dawson
b5777adbdd
Port some composer utils
2017-10-06 17:48:24 +10:00
Nyall Dawson
4e61ea892a
Port frame and background handling to layout items
...
And add support for frame widths with units
2017-10-06 17:48:24 +10:00
Nyall Dawson
04a9cd9211
Add more consistency to doxygen formatting
2017-10-06 08:19:00 +10:00
rldhont
3e45f997a6
Merge pull request #4912 from dmarteau/svg-marker-size
...
[FEATURE][needs-docs] Svg marker size: change aspect ratio
2017-10-04 12:02:32 +02:00
Matthias Kuhn
c764d9c177
Merge pull request #5256 from qgis/docker2
...
[travis] Use docker to run test
2017-10-04 11:11:52 +02:00
Martin Dobias
7874d4b6d6
Merge pull request #5183 from wonder-sk/cad-utils
...
Refactor CAD editing alignment logic to new QgsCadUtils class
2017-10-04 00:04:03 +02:00
Martin Dobias
5172a339ca
Finished unit tests
2017-10-03 17:01:54 +02:00
Martin Dobias
878dfddd3b
Refactor CAD editing alignment logic to new QgsCadUtils class
2017-10-03 17:01:54 +02:00
Nyall Dawson
b27382d011
[processing] Fix history doesn't correctly escape values
...
Fixes #17229
2017-10-03 19:01:13 +10:00
Martin Dobias
68bb68d176
[FEATURE] QGIS 3D (pull request #5203 )
2017-10-02 23:02:37 +02:00
Nyall Dawson
92af1dacaf
Replace default constructors/destructors with = default
2017-10-01 06:52:14 +10:00
Matthias Kuhn
ff385fb035
Add tests for QgsDefaultValue
2017-09-29 17:52:31 +02:00
Matthias Kuhn
650b64eba0
Update cpp tests for QgsDefaultValue
2017-09-29 17:52:30 +02:00
Matthias Kuhn
d6eb7ba3e7
Add "apply on update" option to default values
2017-09-29 17:52:28 +02:00
Matthias Kuhn
f10eb9858c
Make valid CRS test less sensitive
...
See fbf99afd01 (commitcomment-24572295)
2017-09-29 17:40:27 +02:00
Matthias Kuhn
050119c2ba
Add test
2017-09-29 10:58:20 +02:00
Matthias Kuhn
a97d846471
Single parameter version of represent_value
...
Becuase `represent_value("fieldname")` is much shorter to write and in 98%
there is no need to specify the name separately as
`represent_value("fieldname", 'fieldname')`.
2017-09-29 10:58:18 +02:00
Matthias Kuhn
af0451c4c3
Fix debug logging
2017-09-28 13:22:42 +02:00
Matthias Kuhn
5250b0d484
Fix test
2017-09-28 13:22:41 +02:00
Matthias Kuhn
2bbc5a541d
Test debug information
2017-09-28 13:22:39 +02:00
rldhont
48514d2e84
Add tests for fixedAspectRatio in SVG marker
2017-09-28 12:25:21 +02:00
Nyall Dawson
8c3939e756
More efficient use of QStrings
...
- use .isEmpty() instead of == QLatin1String( "" ) to check for
empty strings
- use .clear() instead of = QLatin1String( "" ) to empty a string
- remove unnecessary QString initializations
2017-09-28 05:25:51 +10:00
Nyall Dawson
6ce8b4c83e
Merge pull request #5259 from nyalldawson/modernize
...
Modernize initializers
2017-09-27 09:34:07 +10:00
Nyall Dawson
a87d352bd7
Run clang-tidy modernize-use-default-member-init to move member
...
initialization to headers (c++11 style)
2017-09-27 05:02:34 +10:00
Matthias Kuhn
e604460a15
Add unit tests for represent_value
2017-09-26 14:28:44 +02:00
Nyall Dawson
cc4fb3928d
Boost test coverage of multipolygons
2017-09-26 12:06:20 +10:00
Nyall Dawson
02493104b0
Boost test coverage for multisurface
2017-09-26 11:34:39 +10:00
Nyall Dawson
6505104074
Boost test coverage of geometry classes
2017-09-26 09:33:17 +10:00
Nyall Dawson
307efe3bce
Boost test coverage for multilinestrings
2017-09-26 08:38:21 +10:00
Nyall Dawson
57108f9b61
Boost test coverage for geometry collections
2017-09-25 17:20:36 +10:00
Nyall Dawson
20cc7a7332
Boost test coverage for QgsRectangle
2017-09-25 17:20:36 +10:00
Nyall Dawson
7d6034dec8
Boost test coverage for compound curve
2017-09-25 17:20:36 +10:00
Nyall Dawson
31c1ae1c6a
Add missing QStringLiterals
2017-09-25 17:12:03 +10:00
Nyall Dawson
d72309e42b
Fix transform of extent parameter set to match layer's extent
2017-09-24 13:46:02 +10:00
Nyall Dawson
fb08b0a6e2
[processing] Allow encoding crs into text definitions of extents
2017-09-24 13:46:01 +10:00
Nyall Dawson
ec44e60308
[processing] Allow encoding crs into text definitions of points
2017-09-24 12:46:32 +10:00
Nyall Dawson
e1eef7ed19
Allow use of QgsPointXY/QgsReferencedPointXY for point parameter values
2017-09-24 12:09:38 +10:00
Alexander Bruy
f60d8885c9
[processing] more fixes for tests creation
2017-09-24 07:49:55 +10:00