44026 Commits

Author SHA1 Message Date
Nyall Dawson
cc29f0ee36 Fix some doxygen warnings 2017-11-24 16:25:49 +10:00
Nyall Dawson
3268b778ed Sipify 2017-11-24 16:16:40 +10:00
Nyall Dawson
4f08a35c21 Update test masks 2017-11-24 16:15:44 +10:00
Nyall Dawson
86669b932e Fix z order stacking of guides 2017-11-24 16:11:02 +10:00
Nyall Dawson
32834e9bf1 Update indentation 2017-11-24 14:57:39 +10:00
Nyall Dawson
6ec96d6d8e [layouts][FEATURE] Port arrow functionality to polyline item
Instead of a separate (badly behaved) item type for arrows, instead
add the arrowhead options to the much nicer polyline item.

There's still a dedicated toolbar action for creating arrows, but
all this does is create a polyline with the arrowhead enabled
by default.
2017-11-24 14:36:02 +10:00
Nyall Dawson
f76ed223eb Port ui for attribute table 2017-11-24 11:05:56 +10:00
Nyall Dawson
cca7c74ddf Start hooking up tables to app 2017-11-24 10:24:36 +10:00
Nyall Dawson
f29eb7b19e Port and fix unit tests 2017-11-24 10:24:36 +10:00
Nyall Dawson
f90c5003ca Port table subclasses 2017-11-24 10:24:36 +10:00
Nyall Dawson
3a0f94389c Port text table 2017-11-24 10:24:36 +10:00
Nyall Dawson
9cf6e0a2a2 Start porting table items 2017-11-24 10:24:36 +10:00
Nyall Dawson
a615a48b40 Make scalebars auto selected between m/km and ft/miles when newly added
Based on current linked map scale and linked map CRS
2017-11-24 10:24:36 +10:00
Nyall Dawson
3decab9899 Fix map item tooltips 2017-11-24 10:24:36 +10:00
Nyall Dawson
63f14bd955 Also link new legends to selected map item 2017-11-24 10:24:36 +10:00
Nyall Dawson
2c85182c3f [layouts] Link new scalebars to selected map item, if there is one
Fixes #13851
2017-11-24 10:24:36 +10:00
Nyall Dawson
060270c0be [layouts] Simplify scalebar unit handling
Instead of auto setting the units to meters/feet, and then using
the label multiplier setting to obtain a scalebar in km/miles,
instead we always keep auto-set label multipliers at 1 and just
always keep the users explicitly set scale bar units.

This should help avoid the complexity of layout scale bars, while
still keeping flexibility if someone does need custom units.
2017-11-24 10:24:36 +10:00
Nyall Dawson
b7ef3d3cb9 Simplify some code, cleanup UI 2017-11-24 10:24:36 +10:00
Nyall Dawson
af59c535a9 [layouts] Add more unit choices to scalebars
Explicitly add options for kilometers, miles, etc as the current
UX for setting these is too confusing!

Fixes #16921
2017-11-24 10:24:36 +10:00
Nyall Dawson
3c4fae0015 Readd tests for scalebars 2017-11-24 10:24:36 +10:00
Nyall Dawson
5b1c6901a5 Port more scalebar functionality 2017-11-24 10:24:36 +10:00
Nyall Dawson
7e7770b6e2 Fix incorrect render context scaling for scale bar rendering 2017-11-24 10:24:36 +10:00
Nyall Dawson
8f5e0cb126 Begin porting scalebar item 2017-11-24 10:24:36 +10:00
Nyall Dawson
604e51d390 Restore some tests 2017-11-24 10:24:36 +10:00
Nyall Dawson
2a75ad8e96 More work on layout multiframe undo/redo 2017-11-24 10:24:36 +10:00
Nyall Dawson
12e69ab1f0 Modernize code 2017-11-24 10:24:36 +10:00
Nyall Dawson
30ce60bd90 Remove some processEvents usage 2017-11-24 10:24:36 +10:00
Nyall Dawson
e71d4d7c84 more attempts to fix multiframe undo 2017-11-24 10:24:36 +10:00
Nyall Dawson
f04d438572 Some undo/redo fixes for multiframe items 2017-11-24 10:24:36 +10:00
Nyall Dawson
c6eaf1f7fd Update test masks 2017-11-24 10:24:36 +10:00
Nyall Dawson
93403647c4 Update sip 2017-11-24 10:24:36 +10:00
Nyall Dawson
83ee6498fa Add ui for configuring html items 2017-11-24 10:24:35 +10:00
Nyall Dawson
584cbd0734 Fix test failure 2017-11-24 10:24:35 +10:00
Nyall Dawson
dddce25e13 More work on porting multiframe items 2017-11-24 10:24:35 +10:00
Nyall Dawson
2cf99116d7 Resurrect tests for html item 2017-11-24 10:24:35 +10:00
Nyall Dawson
aec03269b9 Sip is p****** me off, by refusing to build for unrelated reasons
Block a bunch of classes from Python bindings for now until sip
gets over itself
2017-11-24 10:24:35 +10:00
Nyall Dawson
f1d1e454d8 Begin port of HTML item 2017-11-24 10:24:35 +10:00
Nyall Dawson
0e71505fe8 Fix a number of multiframe methods 2017-11-24 10:24:35 +10:00
Nyall Dawson
ee45ec9772 Add page number selection to new item dialog 2017-11-24 10:24:35 +10:00
Nyall Dawson
c4c0c83ca5 Restore api for handling layout item page numbers 2017-11-24 10:24:35 +10:00
Nyall Dawson
714920ff25 Start of multiframe porting 2017-11-24 10:24:35 +10:00
Nyall Dawson
6278245949
Merge pull request #5713 from lejedi76/fix_remove_fromOldWkbType
[db_manager] remove fromOldWkbType (api_break) from vlayer
2017-11-24 11:03:20 +11:00
JD LOMENEDE
13cb8e4e0b remove fromOldWkbType (api_break) 2017-11-24 00:21:33 +01:00
Matthias Kuhn
cd0ba918ba Use layer context in RefactorFields algorithm
Fix #17533
2017-11-23 15:24:40 +01:00
Matthias Kuhn
851adb0a3d Allow adding sources to processing expression context 2017-11-23 15:24:40 +01:00
Alexander Bruy
3a576d80b2 [processing] restore Help button functionality in modeler (fix #17483) 2017-11-23 16:16:08 +02:00
Alexander Bruy
03e4756d26 [processing] don't throw error if GRASS not found on Mac (fix #17443) 2017-11-23 16:16:08 +02:00
Alexander Bruy
6063c83edf [processing] detect GRASS 7.4 on Mac 2017-11-23 16:16:08 +02:00
Martin Dobias
a2ff3631d5 Fix tessellation of polygons that are not horizontal
Discovered by Nyall while working on PR #5708

Tessellation would shift coordinates because when points got reprojected
to the new base, the Z coordinates were considered zero (which worked only
when all points were on the same plane).
2017-11-23 14:09:03 +01:00
Alessandro Pasotti
d1cf7e614f
Merge pull request #5707 from elpaso/bugfix-17262-lineedit-x-button
[ui][bugfix] lineedit add margin for X icon
2017-11-23 11:47:08 +01:00