2146 Commits

Author SHA1 Message Date
Nyall Dawson
b3c1719e98 Fix unnecessary layer reloads triggering after project load, which
also causes a leak
2019-08-12 16:41:31 +10:00
Nyall Dawson
f672124e39 Take the nuclear option 2019-08-08 11:19:55 +10:00
Nyall Dawson
013779824f Attempt to fix doxygen warning 2019-08-08 11:19:55 +10:00
lbartoletti
03f48bdbd8 Rewriting documentation 2019-08-07 07:30:19 +10:00
lbartoletti
2354065e90 use Enum for Result of addTopologicalPoints 2019-08-07 07:30:19 +10:00
lbartoletti
aaa6f65537 topologicalEditing: Fix Z for add feature 2019-08-07 07:30:19 +10:00
Nyall Dawson
ba55fb3e0a Use real symbol buttons in categorized and graduated renderer widgets,
instead of fake ones

Gives these buttons the full power of the usual QgsSymbolButton,
including copy/paste symbols, color/opacity changes, etc. Plus,
some nice additional interface consistency!
2019-08-01 16:03:47 +10:00
Nyall Dawson
193f520ad9 Deprecate existing QgsCustomDropHandler::handleMimeData method,
and add handleMimeDataV2 method which returns a bool

This allows custom drop handlers to indicate that they've fully
handled dropped mime data, and that no further processing should
be done on the mime data
2019-08-01 04:29:34 +10:00
Nyall Dawson
55efeaeb2f [FEATURE] Add copy/paste symbol action to right click menu in categorized/graduated/rule based renderers
Allows symbols to be easily copied and pasted between these nodes
2019-07-31 20:49:43 +10:00
Nyall Dawson
b9482dda6b Dox++, unit tests 2019-07-31 05:08:37 +10:00
Sandro Mani
62f5f5e8e3 Add QgsLayerTreeView::setLayerVisible 2019-07-31 05:08:37 +10:00
Nyall Dawson
5af2e52fff Allow custom drop handlers to indicate that they will accept a mime type
in advance

Allows non-standard mime types to be dropped onto the QGIS window,
which will be handled by custom drop handlers
2019-07-31 05:06:50 +10:00
nirvn
0ffd1174db Address review 2019-07-30 18:06:26 +07:00
nirvn
ec99bd6240 [FEATURE][callouts] Add anchor point position settings for polygon features 2019-07-30 18:06:26 +07:00
Matthias Kuhn
fa847d16ff Fix code style 2019-07-25 16:00:04 +02:00
Matthias Kuhn
66cbab0a93 Code style for providers 2019-07-25 11:22:23 +02:00
Matthias Kuhn
a6875a7c78 Reset selection when data source select dialog is reopened
When the data source select dialog is closed and reopened it's much more
likely that the user wants to add a different layer than last time he was using
the dialog. So instead of offering him to add the same layer again, the selection
is cleared and he is requested to make a new selection.
2019-07-25 11:17:42 +02:00
Nyall Dawson
a85d4d129b [FEATURE] Allow data defined settings in text formats
This allows text formats to store data defined settings,
allowing them to be used wherever the text renderer is (e.g. in
layout scalebar text).
2019-07-22 11:34:32 +10:00
Nyall Dawson
2aba793946 Fix some warnings 2019-07-19 09:22:48 +10:00
Nyall Dawson
33ee00f3f6 Ensure layer tree indicator icons are repainted on changes 2019-07-19 07:20:40 +10:00
Nyall Dawson
bd44f53236 Map canvas emits a signal when errors occur during rendering operations 2019-07-19 07:20:40 +10:00
Nyall Dawson
249a27b003 Fix dox warning 2019-07-18 13:00:15 +10:00
Nyall Dawson
10a1b1548b Remove broken seealso links 2019-07-18 13:00:15 +10:00
Nyall Dawson
a83953599a Allow pushing more contextual information to QgsFontButton/QgsTextFormatWidget
e.g. follow the same approach as symbology and allow pushing message
bars, map canvases, and expression contexts to the widgets
2019-07-18 13:00:15 +10:00
Nyall Dawson
a57d04fb7f When a style manager dialog is opened in read only mode, still allow
symbols to be double clicked to view their properties. Just disable
actually saving any edited symbols instead.
2019-07-18 11:13:35 +10:00
Sandro Mani
afb698b334 Add missing consts 2019-07-17 04:26:29 +10:00
Matthias Kuhn
7691f526be Cleanup rubberband code 2019-07-17 04:26:29 +10:00
Sandro Mani
7af22a8bf6 Add QgsRubberBand::IconType::ICON_SVG 2019-07-17 04:26:29 +10:00
luz.paz
604e66ba75 sipify_all 2019-07-16 11:29:42 +10:00
Nyall Dawson
22ae228a9d Dox 2019-07-11 13:03:12 +10:00
Nyall Dawson
b944dd4d23 Ensure messagebar is available for use by callout widgets in dock mode 2019-07-11 13:03:12 +10:00
Nyall Dawson
a105f294cd Use registry to create correct callout widget 2019-07-11 13:03:12 +10:00
Nyall Dawson
1d2dfda254 Add minimum length property for callouts, setup framework for data
defined properties of callouts
2019-07-11 13:03:12 +10:00
Nyall Dawson
b298a197e7 Start on registry 2019-07-11 13:03:12 +10:00
Nyall Dawson
7833162ca0 [processing] Fix occasional crash in Processing gui unit test cleanup 2019-07-11 10:36:59 +10:00
Nyall Dawson
fb359049ee Fix dox 2019-07-08 12:42:02 +10:00
Nyall Dawson
337f1d95f5 Move coordinate bounds map to its own reusable widget 2019-07-08 12:42:02 +10:00
Nyall Dawson
164f6aec6b Spelling 2019-07-01 17:01:34 +10:00
Nyall Dawson
074c584c54 Don't allow name-less parameters 2019-07-01 17:01:34 +10:00
Nyall Dawson
10d6a8a122 [processing][API] Add API to QgsProcessingGuiRegistry and QgsProcessingParameterWidgetFactoryInterface
to handle creation of parameter definition widgets

Previously, these configuration widgets were all hardcoded into the Python modeler
dialog. This prevented 3rd party, plugin provided, parameters from ever being full
first class citizens in QGIS, as there was no way to allow their use as inputs to
user created models to be customised.

Now, the registry is responsible for creating the configuration widget, allowing
for 3rd party parameter types to provide their own customised configuration
widgets.

Refs #26493
2019-07-01 17:01:34 +10:00
Harrissou Sant-anna
62e8a9b726 Add a bunch of automatic geometry restoration
and remove some dedicated methods
2019-07-01 08:51:51 +10:00
Nyall Dawson
27f9bf66d6 Spelling 2019-06-28 09:45:48 +10:00
Nyall Dawson
6aeedfe20b [FEATURE][layouts] Expose choice of arrangement of legends (i.e.
symbols to the left OR symbols to the right of legend text), and
alignment for group/subgroup/item text

Allows creation of right-to-left locale friendly legends. Additionally,
we default to this right-to-left style alignment when creating new
legends under a RTL based locale.
2019-06-28 09:45:48 +10:00
Nyall Dawson
640283f700 Add new reusable combo box widget for alignment choices
QgsAlignmentComboBox presents users with a (filterable) selection
of horizontal alignment choices, e.g. left/right/center
2019-06-28 09:45:48 +10:00
Nyall Dawson
da79b6f0e6 [FEATURE][labels] New text "background" setting for marker symbol backgrounds
Allows for rendering a marker symbol in the background of labels
(complementing the existing shapes/SVG choices). This allows use
of QGIS marker symbology as a background symbol behind labels (e.g.
for highway shield labels)
2019-06-28 08:28:55 +10:00
Martin Dobias
0e782645e2 Revert the leftovers that were added in QgsDataItemProvider cpp/h 2019-06-27 12:55:07 +02:00
Martin Dobias
78a638f769 Use lambdas to pass data items as captured variables 2019-06-27 12:55:07 +02:00
Martin Dobias
f4b1b83af2 [wms] Move GUI parts of data items to QgsDataItemGuiProvider subclasses 2019-06-27 12:55:07 +02:00
Larry Shaffer
f4348259c9
[needs-docs] Merge pull request #30227 from boundlessgeo/master_legend-horiz-scroll 2019-06-26 11:42:53 -06:00
Martin Dobias
8e56f51c23 Merge remote-tracking branch 'origin/master' into providers 2019-06-25 22:11:51 +02:00