Nyall Dawson
d65a18c5c0
Fix item snapping while resizing
2017-10-06 17:48:24 +10:00
Nyall Dawson
051ed1e156
Prevent snapping to selected items when resizing
2017-10-06 17:48:24 +10:00
Nyall Dawson
d950f17e75
Add item bounds based snapping to QgsLayoutSnapper
2017-10-06 17:48:24 +10:00
Nyall Dawson
bfa9c1d661
Port methods for retrieving item at a point to layouts
2017-10-06 17:48:24 +10:00
Nyall Dawson
2d6cbd6bba
Restore ability to show/hide selection bounds
2017-10-06 17:48:24 +10:00
Nyall Dawson
207bcad626
Start porting mouse handles to layout
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
bb129516f8
Port selection handling code from composer
2017-10-06 17:48:24 +10:00
Nyall Dawson
51efa19f75
Port item frame related code from composer
2017-10-06 17:48:24 +10:00
Nyall Dawson
0b188295bc
Port item selection and lock related code from composer
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
78c0c28468
Fix doxygen warnings
2017-10-06 07:55:52 +10:00
Nyall Dawson
49b426d951
Make doxygen_space script convert multiline //! comments
...
Because:
- the /** format is much more prevalent throughout QGIS
- sipify works correctly with /**
2017-10-06 07:55:52 +10:00
Matthias Kuhn
ab9e2fcb68
Fix multiline docstring
2017-10-04 14:50:42 +02:00
Matthias Kuhn
70dc92c4f2
conversions.sip does not need to be executable
2017-10-04 12:16:25 +02: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
Nyall Dawson
83fdc5d3cb
Fix windows build
2017-10-04 09:46:03 +10:00
Nyall Dawson
4f34f9442c
Added better version info to QgsRectangle::buffered
2017-10-04 09:05:21 +10: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
lbartoletti
74e12212f7
@return -> \returns
2017-10-03 18:03:30 +02:00
Martin Dobias
0bffe1c1d6
Added forgotten SIP file
2017-10-03 17:01:54 +02:00
Martin Dobias
5172a339ca
Finished unit tests
2017-10-03 17:01:54 +02:00
lbartoletti
870de2e8bb
Merge branch 'master' into regularShape_gui
2017-10-03 14:39:12 +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
Juergen E. Fischer
df71901a32
fix windows build
2017-10-01 01:09:50 +02:00
Nyall Dawson
92af1dacaf
Replace default constructors/destructors with = default
2017-10-01 06:52:14 +10:00
Martin Dobias
8dc70b479e
Add copyright headers + few bits from review + fixing sip updates
2017-09-30 13:39:54 +02:00
Martin Dobias
518dd17699
Address comments from Nyall's code review
2017-09-30 11:35:34 +02:00
Matthias Kuhn
08cb2d78d3
[FEATURE] Default values on update
...
Add an option to add default values on update of attributes or geometry.
This can be seen as a "derived value" that will be saved to the database
(like area of a polygon) or as a means to track last_modified dates etc.
See #5218
2017-09-29 17:55:02 +02:00
Matthias Kuhn
2fbb6f09cc
Avoid recursion in apply on update default values
2017-09-29 17:52:34 +02:00
Matthias Kuhn
89289598fe
Doxygen
2017-09-29 17:52:33 +02:00
Matthias Kuhn
e025011799
Make Mr. Travis happy
2017-09-29 17:52:33 +02:00
Matthias Kuhn
17fe7e8aec
Doxygen updates for changed method names
2017-09-29 17:52:32 +02:00
Matthias Kuhn
f0b71499d1
Rename QgsField::defaultValue
...
It's now called QgsField::defaultValueDefinition, because it's only a
value after being evaluated
2017-09-29 17:52:31 +02:00
Matthias Kuhn
dded657a57
Fix typo in QgsFields api doc
2017-09-29 17:52:30 +02:00
Matthias Kuhn
900be9f57f
Properly report QgsDefaultValue.__bool__ in Python
2017-09-29 17:52:30 +02:00
Matthias Kuhn
f2d512a73a
Apply default values on update
2017-09-29 17:52:30 +02:00
Matthias Kuhn
7b36287ff3
Use QgsDefaultValue throughout the code
2017-09-29 17:52:29 +02:00
Matthias Kuhn
cab3a38461
Doxymentation
2017-09-29 17:52:29 +02:00
Matthias Kuhn
5fba1e85aa
Add sip bindings
2017-09-29 17:52:29 +02:00
Matthias Kuhn
d6eb7ba3e7
Add "apply on update" option to default values
2017-09-29 17:52:28 +02:00
Matthias Kuhn
ca5a0bb3de
Fix python expression functions
2017-09-29 17:01:33 +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
lbartoletti
a8f9f9f96b
Merge branch 'master' into regularShape_gui
2017-09-28 21:48:23 +02:00
rldhont
954d62f53a
Update SIP for fixedAspectRatio in SVG marker
2017-09-28 12:25:21 +02:00
rldhont
60cf7bdaf7
Configure and use fixedAspectRatio in QgsSvgSymbolLayerWidget and QgsSvgSymbolLayer
2017-09-28 12:25:19 +02:00
David Marteau
740ccbe938
Add fixedAspectRatio in QgsSvgCacheEntry and compute image size accordingly
2017-09-28 12:23:43 +02:00
Ismail Sunni
0c7c494831
Add section in beginGroup and remove Setting.
2017-09-28 17:01:00 +07:00