Harrissou Sant-anna
571bf54d2a
[needs-docs] Refactor the New Shapefile dialog to mimic the GeoPackage sequence ( #5803 )
2017-12-07 09:39:12 +07:00
Nyall Dawson
89420fccd6
Sipify
2017-12-07 08:51:52 +10:00
Nyall Dawson
17656f23c6
Pasting items from layout context menu pastes them at menu origin
...
instead of final cursor position
2017-12-07 08:50:01 +10:00
Nyall Dawson
ac6c131212
Fix crash when reopening existing layouts
2017-12-07 08:50:01 +10:00
Nyall Dawson
e5e37fcafa
[needs-docs] Use a QgsFileWidget for template file selector
...
Rename "Add" button to "Create"
2017-12-07 08:50:01 +10:00
Nyall Dawson
a30dd8a153
Port composer manager dialog to layouts
...
Not exposed via GUI yet, but can be shown by entering
iface.showLayoutManager()
in the Python console
2017-12-07 08:50:01 +10:00
Nyall Dawson
66b4b45177
Try to fix issues with sip casting collisions between layout and
...
compositions
2017-12-07 08:50:01 +10:00
Nyall Dawson
a9896eac05
Port a bunch of QgsLayoutManager methods to use QgsLayouts
2017-12-07 08:50:01 +10:00
Nyall Dawson
3a0b751698
Port duplicate layout functionality
2017-12-07 08:49:54 +10:00
Nyall Dawson
a64a675830
[FEATURE][layouts] Support drag and drop of QPT templates onto layout windows
...
To add contents of template onto layout
2017-12-07 08:49:54 +10:00
Nyall Dawson
eea36c0212
Add custom drop handlers for layout windows
2017-12-07 08:49:54 +10:00
Nyall Dawson
a4dea9935f
Restore ability to save layouts to templates and add items from template
2017-12-07 08:49:41 +10:00
Nyall Dawson
59b6bf62ab
Add a method to clear an existing layout
2017-12-07 08:49:41 +10:00
Nyall Dawson
8feac30f07
Add method to clear page collections for layouts
2017-12-07 08:49:41 +10:00
Nyall Dawson
ef9e013a5a
Fix crashes when rapidly deleting/undeleting objects
...
Also fix some leaks
2017-12-07 08:49:41 +10:00
Nyall Dawson
d2fcf11336
[layouts] Add context menu entries for "copy" and "delete" item to
...
items list panel right click menu
Refs #11581
2017-12-07 08:49:33 +10:00
Nyall Dawson
feec186fbf
[layout] Add context menu entries for cutting/copying, and pasting items
...
Fixes #1830
2017-12-07 08:49:33 +10:00
Nyall Dawson
b03ce047db
Start restoring copy/paste functionality
2017-12-07 08:49:33 +10:00
Nyall Dawson
f60da58256
Add some unit tests
2017-12-07 08:49:33 +10:00
Nyall Dawson
b74a0efa34
Work on layout and layout item serialization and restoration
2017-12-07 08:49:33 +10:00
Nyall Dawson
ca75e8c0a5
Remove obsolete python alg, add unit tests
2017-12-07 06:28:54 +11:00
Denis Rouzaud
906259b2f7
[doxygen] remove useless @brief
2017-12-06 08:31:12 -04:00
Denis Rouzaud
f29306d4af
[doxygen] replace @param by \param
2017-12-06 08:31:12 -04:00
Denis Rouzaud
b72c569cf3
[doxygen] replace @see by \see
2017-12-06 08:31:12 -04:00
Blottiere Paul
14e6df450a
Merge pull request #5780 from pblottiere/bugfix_reshape2
...
[bugfix] Do not add binding line in both side in reshape map tool
2017-12-06 12:08:32 +00:00
Denis Rouzaud
ed5076201a
[doxygen] \see must be placed after params
2017-12-06 07:19:50 -04:00
Denis Rouzaud
e48cf98edb
run sipify
2017-12-06 07:19:50 -04:00
Blottiere Paul
c9038f48ad
Update sip binding
2017-12-06 07:25:12 +00:00
Mathieu Pellerin
ad54073b1e
[processing] list native QGIS algorithms first in modeler dialog
2017-12-05 11:52:06 +07:00
Nyall Dawson
b0a36e9bb1
Merge pull request #5789 from nyalldawson/render_jobs
...
[Rendering] Only render in preview jobs layers that are fast enough
2017-12-05 11:17:44 +11:00
Nyall Dawson
b26c14ef04
Merge pull request #5799 from nyalldawson/mingw
...
Mingw build fixes and windows build warning fixes
2017-12-05 10:51:21 +11:00
Nyall Dawson
38cca6ca7e
Tweak API
2017-12-05 09:02:40 +10:00
Nyall Dawson
5ee9cdd222
Rename layerRenderingTime()->perLayerRenderingTime()
2017-12-05 09:02:40 +10:00
Nyall Dawson
01e8ed85e3
More flexible API for preview job determination
2017-12-05 09:02:40 +10:00
Nyall Dawson
16a1bd7948
Store previous layer rendering time in canvas, not map layer
2017-12-05 09:02:40 +10:00
Even Rouault
997619c9ed
[Rendering] Only render in preview jobs layers that are fast enough
...
This implements the improvements discussed in the mailing list thread
https://lists.osgeo.org/pipermail/qgis-developer/2017-November/050524.html
to avoid rendering layers in preview jobs that take too much time to render.
2017-12-05 09:02:40 +10:00
Nyall Dawson
32ba5bf23f
Merge pull request #5791 from nyalldawson/geom_snapper_vertices
...
Fix geometry snapper sometimes creates unwanted overlapping segments when snapping line layers
2017-12-05 09:47:27 +11:00
Nyall Dawson
4689537842
Fix build warning
2017-12-05 08:30:52 +11:00
Nathan Woodrow
57dc9deb06
Add API to ease saving and restoring widget geometry. ( #5615 )
...
Usage:
- QgsGui::instance()->enableAutoGeometryRestore( this ); just
after setupUi in your widgets to enable.
- Remove any calls to saveGeometry() and restoreGeometry() in your
widgets.
2017-12-04 13:41:42 +10:00
Nyall Dawson
21fe98d5f0
Sipify
2017-12-04 13:10:28 +10:00
Nyall Dawson
5a818707c7
Update tests
2017-12-03 17:06:20 +10:00
Nyall Dawson
5b5560aaf9
Set default method for check validity alg
2017-12-03 15:16:17 +10:00
Nyall Dawson
5b05699fc9
Add some tags to check validity algorithm
2017-12-03 14:58:21 +10:00
Nyall Dawson
e12621ce2a
Add API method to remove duplicate nodes from geometries
...
Removes duplicate nodes from the geometry, wherever removing the
nodes does not result in a degenerate geometry.
By default, z values are not considered when detecting duplicate
nodes. E.g. two nodes with the same x and y coordinate but
different z values will still be considered duplicate and one
will be removed. If useZValues is true, then the z values are
also tested and nodes with the same x and y but different z
will be maintained.
Note that duplicate nodes are not tested between different
parts of a multipart geometry. E.g. a multipoint geometry
with overlapping points will not be changed by this method.
The function will return true if nodes were removed, or false
if no duplicate nodes were found.
Includes unit tests and a processing algorithm which exposes
this functionality.
2017-12-03 14:58:21 +10:00
Nyall Dawson
0b452cabbb
Spelling
2017-12-03 08:03:30 +10:00
Nyall Dawson
928afdd8c5
Fix geometry snapper sometimes creates unwanted overlapping segments
...
when snapping line layers
Because the default behavior of the snapper is to insert extra
vertices into the snapped geometry in order to make it 'follow'
the reference geometries exactly, this can result in unwanted
results for line layers where the resultant snapped layer
has overlapping line segments.
Since we can't always know what the desired result is that the
user wants (maybe they do want overlapping lines), instead
give them control over the result by exposing extra enum
options which never insert extra vertices.
2017-12-03 07:10:42 +10:00
Martin Dobias
f8788b9185
[3d] Fix style copy/paste for 3D renderer ( fixes #17540 )
2017-12-02 09:32:23 +01:00
Nyall Dawson
389435e1a0
Merge pull request #5729 from nyalldawson/proc_dyanmic
...
[processing] Expose dynamic ("data defined") numeric parameters to gui
2017-12-02 14:32:45 +11:00
Nyall Dawson
1625d1fa2c
Disable direct parameter value input when data defined override is set
2017-12-02 11:17:19 +10:00
Nyall Dawson
8c9147eabd
[processing] Make set m value accept dynamic m values
2017-12-02 11:17:19 +10:00