1713 Commits

Author SHA1 Message Date
Denis Rouzaud
fca72fa7d1 put back module sip files 2018-05-14 11:02:28 -04:00
Denis Rouzaud
847f0e1829 adapt sipify scripts and test to place auto generated sip files in dedicated folder 2018-05-14 10:44:11 -04:00
Denis Rouzaud
9ed1548494 move auto generated sip file in dedicated folder (gui) 2018-05-14 10:31:17 -04:00
Nyall Dawson
8d5e5c944d Add a newNameChanged signal to QgsNewNameDialog
Handy for subclasses.
2018-05-14 17:22:42 +10:00
Alessandro Pasotti
d06043f723
Merge pull request #6952 from elpaso/DelazJ-symbolselectorHelpShow
Delaz j symbolselector help show
2018-05-09 08:04:02 +02:00
Alessandro Pasotti
85d60f2bac Merge branch 'symbolselectorHelpShow' of https://github.com/DelazJ/QGIS into DelazJ-symbolselectorHelpShow 2018-05-08 18:15:51 +02:00
Nyall Dawson
99d0b3c337 More spell checks 2018-05-08 09:33:07 +10:00
MieWinstrup
b9b85f923d New action 'Move Out of Group' that moves layer(s) out of group(s). Deprecating the action 'Move to top level' 2018-05-04 11:02:17 +10:00
Nyall Dawson
5c9366605a Add missing SIP_DEPRECATED 2018-05-03 16:34:46 +10:00
Martin Dobias
3b36cdd170
Merge pull request #6750 from lbartoletti/visibleSnapPerf
[BUGFIX][FEATURE][NEEDS-DOCS] Disable snapping on invisible features. Second version
2018-05-01 09:46:59 +02:00
Harrissou Sant-anna
1c34339b3c Use modal dialog when in properties dialog, allowing to cancel
the process and add help button (fix #17903).
Also fix crash that occurs when pressing ESC button.

and fix doc
2018-04-30 14:23:30 +02:00
Harrissou Sant-anna
ee417aae67 Fix typo and spelling 2018-04-30 14:11:16 +02:00
Hugo Mercier
3984e906ea
Merge pull request #6513 from pblottiere/executesql_params
[FEATURE][needs-docs] Add parameters to 'Execute SQL' algorithm
2018-04-27 09:12:34 +02:00
Martin Dobias
e811c54bd2
Merge pull request #6835 from wonder-sk/identify-selection-modes
[FEATURE] Identify: more selection modes (simple / polygon / freehand / radius)
2018-04-26 23:03:00 +02:00
Blottiere Paul
b13ba37279 New method to add a scope to the current context 2018-04-26 09:47:40 +01:00
Loïc Bartoletti
66b0e59fb9 Fix snapping on invisible geometry 2018-04-23 16:00:43 +02:00
Martin Dobias
8c7b632570 Moved selection handler from gui lib to app 2018-04-23 13:53:42 +02:00
Nathan Woodrow
53a384cba7
[FEATURE][needs-docs] Show data defined expected format in expression builder (#6839) 2018-04-23 13:32:51 +10:00
Martin Dobias
6c2325c66b Fix sip/doxygen/todo 2018-04-21 01:00:27 +02:00
Martin Dobias
bac3080754 [FEATURE] Identify: more selection modes (simple / polygon / freehand / radius)
This extends identify tool with the ability to switch to different selection modes
(the ones offered also by the selection map tool)
2018-04-20 22:52:31 +02:00
Nyall Dawson
4a594d3f32 [FEATURE][processing] Add buttons to save/clear/copy log
In the algorithm execution dialog, this adds buttons to allow
users to save the current log (to text or HTML files), copy the
log contents to the clipboard, and clear the log.
2018-04-20 20:08:28 +10:00
Martin Dobias
2d7addc9f7
Merge pull request #6817 from wonder-sk/legend-text-on-symbols
Legend: optional text on top of symbols for vector layers
2018-04-19 15:32:37 +02:00
Denis Rouzaud
9627f733cf remove reference to removed setColorDialogOptions method 2018-04-19 06:51:33 +10:00
Martin Dobias
49b02bf562 [FEATURE] Legend: optional text on top of symbols for vector layers
In some cases it is useful to add extra information to the symbols in the legend.
This work allows definition of additional labels in vector layer properties > Legend tab.
2018-04-18 21:52:56 +02:00
Matthias Kuhn
ffb2817afb Protect the const-ituional correctness 2018-04-10 23:10:35 +02:00
Matthias Kuhn
02da420ea4 Add a remaining docstring 2018-04-09 22:24:12 +02:00
Matthias Kuhn
f06f65285d Fix api doc and sip issues 2018-04-09 13:10:48 +02:00
Matthias Kuhn
3d9b8bbd69 Add missing docstring 2018-04-09 13:10:48 +02:00
Matthias Kuhn
2378a37dc1 API doc and typo fixes 2018-04-09 13:10:48 +02:00
Matthias Kuhn
eb39d2379c Move processing algorithm configuration code to gui lib 2018-04-09 13:10:47 +02:00
Matthias Kuhn
3be4324d60 Move processing algorithm configuration widget to gui library
This way we can also use all the fancy widgets like a QgsExpressionLineEdit.
2018-04-09 13:10:47 +02:00
Martin Dobias
f378a23ed8
[FEATURE] Projects in PostgreSQL
Merge of pull request #6752
2018-04-09 09:53:16 +02:00
Nyall Dawson
45c400c25c QgsSvgCache fetches remote SVG files in a background task
Previously QgsSvgCache would often try to fetch remote images
using a network request on the main thread, by calling
processEvents repeatedly until the request was complete.

This caused lots of bugs, since the main thread processEvents
would proceed with all kinds of stuff assuming that the
svg fetch operation was complete, leading to frequent crashes
and deadlocks and making remote svg use impossible (it's
likely that the SVG cache remote fetching code was written
in the pre-multi-threaded rendering era).

There's no way to fix this with async svg fetching - we
HAVE to remove the processEvents call, and a QEventLoop
won't help either (since the method may be called on the
main thread). Accordingly the only solution is to
fetch the requested svg in the background, and return
a temporary "downloading" svg for use in the meantime.
We use a QgsNetworkContentFetcherTask to do this, so it's
nicely integrated with task manager.

A request task is fired up when a remote svg is requested
for the first time, with the temporary downloading svg
returned for use by the caller asynchronously. QgsSvgCache
then emits the remoteSvgFetched signal when a previously
requested remote SVG has been successfully fetched,
triggering a map canvas redraw with the correct SVG
graphic.

Fixes #18504
2018-04-09 12:43:05 +10:00
Martin Dobias
2e847e2e96 Support for project items in browser for PostgreSQL
Switched from using URLs in mime data to URI list for drag-n-drop of projects
so that they are handled in the same way as the other browser items.
2018-04-07 12:58:02 +02:00
Salvatore Larosa
747955ae47
Merge pull request #6721 from slarosa/zoom_selected_cm
[needs-docs] add zoom to selection action to contextual menu of the layer
2018-04-06 12:01:33 +02:00
MieWinstrup
98621d7cd0 Added documentationstrings to new methods 2018-04-05 11:49:11 +10:00
MieWinstrup
924e2ec854 [FEATURE][Needs-docs] Move layer or group to top of layer panel
A feature that moves the layer(s) or group(s) to the top of the layer panel.
2018-04-05 11:49:11 +10:00
Nyall Dawson
846ca49755 Fix Escape key press should close current stacked panel
Code was present but not correctly hooked up before
2018-04-04 16:37:34 +10:00
Nyall Dawson
1bf1058210 Followup fcacb0d, fix doxygen tests
Also:
- move doxygen comments to header files so that they get included
in Python docstrings
- remove duplicate doxygen implemented in both header and footer
- remove some redundant doxygen for overridden methods
- add some missing docs
2018-04-03 09:49:00 +10:00
Juergen E. Fischer
fcacb0db7c doxygen fixes 2018-04-02 22:48:40 +02:00
Juergen E. Fischer
7d48179223 [FEATURE] add zoom to related feature in forms 2018-04-02 17:07:39 +02:00
Salvatore Larosa
85602c60f4 fix doc: followup bf41a90af80f2284f087780cf4ef6931b2a76bcf 2018-03-30 23:47:36 +02:00
Salvatore Larosa
bf41a90af8 [needs-docs] add zoom to selection action to contextual menu of the layer 2018-03-30 23:06:06 +02:00
Denis Rouzaud
721095e89d add virtual destructor
fix warning: delete called on 'QgsEditorWidgetAutoConfPlugin' that is abstract but has non-virtual destructor
2018-03-28 11:49:41 +02:00
Nyall Dawson
681cd41185 Synchronize project title field and project metadata title
field in project properties dialog

Since these two are equivalent, we automatically keep them
in sync.
2018-03-22 16:13:30 +11:00
Nyall Dawson
016f2288c6 Fix accidental class rename 2018-03-22 16:13:30 +11:00
Nyall Dawson
f4ed93e1ca Add project metadata mode to QgsMetadataWidget 2018-03-22 16:13:30 +11:00
Nyall Dawson
d293c5d0a0 Code shuffle to avoid duplicate code 2018-03-22 16:13:30 +11:00
Salvatore Larosa
9a25d6764e
Merge pull request #6592 from slarosa/save_load_xyz
[FEATURE][needs-docs] Save/Load connections for XYZ Tiles
2018-03-20 09:31:24 +01:00
Nyall Dawson
26bdd920f4 [processing] Fix newlines are stripped from Python traces in log 2018-03-19 12:00:30 +11:00