Alessandro Pasotti
a117b6b9ea
[layout][server] Update tests and mask images
2018-01-10 21:25:24 +01:00
Alessandro Pasotti
c3cac49521
[layout][server] Get layout size in mm
2018-01-10 21:24:29 +01:00
Alessandro Pasotti
902dfb859c
Disable diff image encoded output
2018-01-10 20:11:56 +01:00
Alessandro Pasotti
0c93eabdc8
[layout][server] Re-enable WMS server tests
2018-01-10 18:05:10 +01:00
Alessandro Pasotti
eedb7c795f
[layout][server] composer -> layout in getprint
2018-01-10 18:03:08 +01:00
Alessandro Pasotti
3df284fb64
[layout][server] composer -> layout in getcapabilities
2018-01-10 18:03:08 +01:00
Alessandro Pasotti
6f7b60ba17
[layout] Fix setKeepLayerSet in map composer import
2018-01-10 18:03:08 +01:00
Alessandro Pasotti
f868bcc691
[layout] Add printLayouts to return all print layouts contained in the manager
2018-01-10 18:03:08 +01:00
Denis Rouzaud
880d853e9f
detect SIP version to add DefaultDocstringSignature directive ( #6030 )
...
* detect SIP version to add DefaultDocstringSignature directive
SIP doesn't handle any kind of preprocessing, so there's no better solution than configuring the SIP files from CMake.
SIP 4.19.7+ supports %DefaultDocstringSignature to prepend auto-generated Python signature to existing Docstrings
2018-01-10 10:32:21 -04:00
Mathieu Pellerin
d6b2749e3b
[layouts] fix layout designer restore window state / geometry
2018-01-10 17:17:37 +07:00
Nyall Dawson
55a3edaf53
Fix mouse cursor size on lo-dpi Windows builds
2018-01-10 19:01:25 +10:00
Nyall Dawson
1402f76e85
Show item size in status bar when creating a new item
2018-01-10 18:16:08 +10:00
Nyall Dawson
b95363c5b6
Drop composer from app
2018-01-10 14:46:57 +10:00
Denis Rouzaud
d87c60512c
[sipify] fix bad handling of \see within sentences
...
and other docstrings improvements
2018-01-09 21:40:10 -04:00
Nyall Dawson
0a3f9f60ff
Merge pull request #5807 from nyalldawson/alg_background
...
[processing] Add flag to indicate whether an algorithm is safe
2018-01-10 11:37:35 +10:00
Denis Rouzaud
6894c8e1cd
get me out of Europe
2018-01-09 21:18:56 -04:00
Nathan Woodrow
11030dd4f1
Merge pull request #5522 from gacarrillor/developersmap
...
Developers Map: show more descriptive info
2018-01-10 11:10:08 +10:00
Mathieu Pellerin
df3f663c14
[authentification manager] fix auth exec error ( #6020 )
2018-01-10 07:50:48 +07:00
Nyall Dawson
744f5acdac
Fix build warning on windows
2018-01-10 09:32:56 +10:00
Nyall Dawson
240c52a4c0
[processing] Show a modal progress dialog when running algorithms
...
which cannot run in background tasks
This is not fantastic UX, but we have lots of constraints here:
- The algorithm dialog itself cannot be made modal. There's child
widgets (such as the point and extent parameter widgets) which
interact with the main QGIS window.
- There is no reliable way in Qt to make a dialog modal after
it's shown (e.g. make it modal only when the algorithm is
running). Trust me - I've tried everything, and all approaches
break with some corner case.
- For non-background algorithms, we must have processEvents calls
in order to show the algorithm feedback and progress to users,
and detect cancel button clicks. Yet these processEvents calls
means that users can interact with other parts of QGIS, e.g.
removing layers from a project, and other operations which
could cause the algorithm to crash. So we MUST have some modal
dialog in order to block interactions outside of allowing
the cancel button clicks/progress repainting.
I've tried many approaches, but this is the only one which
works reliably...
2018-01-10 08:33:36 +10:00
Nyall Dawson
2eb68de614
When an algorithm can run in the background, show this in the alg dialog
2018-01-10 07:43:19 +10:00
Nyall Dawson
82057b830c
Fix task manager UI sizes on hidpi displays
2018-01-10 07:35:45 +10:00
Alessandro Pasotti
03400ddbe2
Merge pull request #5913 from elpaso/layouts-import-from-2
...
[layouts] import from 2.x
2018-01-09 22:35:26 +01:00
Alessandro Pasotti
6332fc6454
[layout] Temporarily disable WMS server tests
...
Until the composition -> layout transition is done
2018-01-09 22:04:22 +01:00
Nyall Dawson
c14e6ca772
Most c++ algorithms can run safely in background threads
2018-01-10 05:33:02 +10:00
Nyall Dawson
70785f80a3
Fix a possible crash in network analyser
2018-01-10 05:33:02 +10:00
Nyall Dawson
67a8902f0b
[processing] When running non-background enabled algorithms, use
...
processEvents to allow progress updates and cancelation clicks
2018-01-10 05:33:02 +10:00
Nyall Dawson
40e47e0fe7
[processing] Add flag to indicate whether an algorithm is safe
...
to run in a background thread
2018-01-10 05:33:02 +10:00
Denis Rouzaud
5babec5e07
run sipify
2018-01-09 11:40:39 -04:00
Denis Rouzaud
9deef832c1
[sipify] fix SIP new restrictions on Docstrings
...
class members, operators cannot be documented anymore
2018-01-09 11:40:39 -04:00
Alessandro Pasotti
34c80f9f55
[layout] Address PR comments and add test for layoutObjects template
2018-01-09 13:34:25 +01:00
Alessandro Pasotti
353b88a857
[layout] Update reference images
2018-01-09 13:34:18 +01:00
Alessandro Pasotti
2a82fdc5d5
[layout] Remove legacy import
2018-01-09 13:25:07 +01:00
Alessandro Pasotti
3f081b8588
[layout] Added template method to retrieve QgsLayoutObjects
2018-01-09 13:24:22 +01:00
Matthias Kuhn
b355886edc
Merge pull request #5979 from m-kuhn/lrelease-silent
...
[server] Fix unused variable
2018-01-09 12:09:34 +01:00
Matthias Kuhn
90fc756bf1
Merge pull request #6019 from DelazJ/dxf-map-theme
...
Rename command line dxf-preset option to dxf-map-theme
2018-01-09 12:08:25 +01:00
Harrissou Sant-anna
c3f4fcb1b4
Rename command line dxf-preset option into dxf-map-theme
2018-01-09 10:25:34 +01:00
Alessandro Pasotti
8f3692aa85
Fix test after composition bindings removal
2018-01-09 09:25:39 +01:00
Alessandro Pasotti
b7d7bbe36d
Add print template to spell ignore
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
f297e86201
[layout] Import attribute table from composition
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
2b2dae828f
[layout] Import HTML and atlas from 2.x composition
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
b40a5986f6
[layout] Fix title from name when converting a composition
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
858a71f863
[layout] Add map rendering to tests
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
7062f90b9f
[layout] Check for pointer as bool instead of compare
...
Travis does not like the second.
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
57a40050ad
[layout] Added tests for uuid linked maps
...
Also updated the control images
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
3cfe8d0ab3
[layout] Use uuids for map references in items
...
Implemented:
- picture
- legend
- overview
- scalebar
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
0229df55c3
[layout] Fixed relative paths for test resources
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
0cb12edbbf
[layouts] test masks for rendering tests
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
e93f776dbe
[test] Do not check the unique_ptr but get
...
Because std::unique_ptr is not implicitly convertible to bool
(why it works locally remains a mistery to me)
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
a5fc57078c
[layouts] Removed diff images and adapted tests
...
to use QGIS font
Also addressed comments in the PR
2018-01-09 08:08:26 +01:00