1883 Commits

Author SHA1 Message Date
Denis Rouzaud
77bfec68c3 fix typo 2018-10-05 09:01:32 -04:00
Denis Rouzaud
046f915c24 more doc 2018-10-04 14:01:31 -04:00
Denis Rouzaud
ffdf617277 take screenshots in app for user documentation 2018-10-04 14:01:31 -04:00
Matthias Kuhn
fe5ed43f26
Make sip code style test happy 2018-09-30 11:50:54 +02:00
Matthias Kuhn
328760437c
Make QgsRubberBand fillColor a Q_PROPERTY 2018-09-30 09:46:24 +02:00
Matthias Kuhn
d4fd49129e Fix grammar 2018-09-30 08:29:10 +10:00
Matthias Kuhn
8fdf34be1d Doxygen for QgsRubberband 2018-09-30 08:29:10 +10:00
Matthias Kuhn
db65b9a8fc Add QgsRubberBand::setToGeometry with crs parameter 2018-09-30 08:28:05 +10:00
Martin Dobias
ea1716261a Make sure that also groups with "required" layers cannot be removed
Fixes an unreported bug where it was possible to select a layer tree group
and remove even when it contained required layers.

When removing layers/groups, the following checks will now also recursively
test layers and not just directly selected layers:
- test for layers with unsaved changes
- test for layers with active tasks running in background
2018-09-26 09:55:37 +02:00
Nyall Dawson
eb24bdb484 Dox 2018-09-22 05:26:29 +10:00
Nyall Dawson
6c35c8b308 Fix broken doxygen link 2018-09-22 05:26:29 +10:00
Nyall Dawson
4a0a48fe47 [processing] Also expose complete expression context inside
data defined buttons for model child algorithms

The context was not previously exposed, so users would not have
been aware that they can utilise all the variables and functions
available to parameters within child algorithms.
2018-09-22 05:26:29 +10:00
Nyall Dawson
8f9f975ed6 [processing] Show complete expression context in expression builder
for pre-calculated expressions

Correctly exposes ALL the variables and functions available for use
in pre-calculated expressions so that users actually know they can
use these in their models!
2018-09-22 05:26:29 +10:00
Nyall Dawson
7af13f62c0 Set widget context for widget wrappers 2018-09-22 05:26:29 +10:00
Nyall Dawson
55e22b9de9 Allow setting the context for widget wrappers
The context contains settings which reflect the context ini
which a Processing parameter widget is shown, e.g., the
parent model algorithm, a linked map canvas, and other relevant
information which allows the widget to fine-tune its behavior.
2018-09-22 05:26:29 +10:00
Nyall Dawson
11667683b4 Distance 2018-09-22 05:26:29 +10:00
Alessandro Pasotti
5378e37cf9 QgsFeatureListComboBox nullRepresentation instead of hardcoded "NULL"
Fixes #19901 - Relation Reference Widget: Representation for NULL values is not respected
2018-09-20 16:30:02 +02:00
Martin Dobias
1390198c37 Fix doxygen link 2018-09-19 13:20:31 +02:00
Martin Dobias
2da705864b Fix search tolerance when doing identification in 3D map view
Until now the identification from 3D map view used tolerance based
on the current view of the main 2D map canvas - that was giving often
unexpected results if the 2D map canvas had significantly different
zoom level from the 3D map view.
2018-09-19 13:20:31 +02:00
Alessandro Pasotti
d179635b92 [bugfix] Allow empty null representation in spinboxes
Fixes #18583 - Widget "Range": Representation for NULL value is NOT always displayed correctly
2018-09-18 12:54:17 +02:00
Martin Dobias
1192b635d2
Merge pull request #7892 from PeterPetrik/identify_by_feature
[feature] Identify/Select polygon from existing feature geometry (#19064)
2018-09-14 14:15:18 +02:00
Nyall Dawson
cb178a7bb8 New class QgsWindowManagerInterface
With implementation in app. This allows GUI library classes to
re-use standard dialogs which are created in app. The initial
use-case is to allow the GUI library symbol list widget to
focus/open an existing Style Manager dialog (created in app),
instead of opening a new modal style manager dialog.

Side benefit - moves some code out of the monolithic qgisapp.cpp
file.
2018-09-14 21:13:10 +10:00
Borys Jurgiel
4ac834d93a
Merge pull request #7879 from borysiasty/append_raster_to_geopackage
Append raster layer to an existing GeoPackage
2018-09-14 12:08:52 +02:00
Matthias Kuhn
b75f9f3b5b
Merge pull request #7801 from signedav/qml-widget
[FEATURE] QML chart and drawings widget
2018-09-14 11:35:26 +02:00
Nyall Dawson
a78a7e7908 [ux] Hide frame when collapsible group box is collapsed
Prevents an ugly cropped frame from showing in collapsed group
boxes
2018-09-14 18:51:52 +10:00
Alessandro Pasotti
84368131e2 Update dox 2018-09-14 18:23:03 +10:00
Alessandro Pasotti
c05aa149b0 Test supportInPlace for all polygon algorithms 2018-09-14 18:23:03 +10:00
Alessandro Pasotti
4549ee5fff In-place moved check logic into QgsAlgorithm
+ new tests
+ fixed fixer function
+ drop z/m
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
123905a17a Fix doc string 2018-09-14 18:23:03 +10:00
Nyall Dawson
681d44f11f Messy mockup of feature 2018-09-14 18:23:03 +10:00
Peter Petrik
dc774743e3 fix review issues 2018-09-14 09:33:30 +02:00
pierreloicq
6fb41785c9 delete .sip 2018-09-14 16:36:11 +10:00
pierreloicq
4aabb09f28 generation of sip files in auto_generated/ 2018-09-14 16:36:11 +10:00
pierreloicq
0053630f8e improved problem (b)
removed the .sip

corrected (f)

removed direct comparison of doubles to try to pass the tests

one step back to know if it cause the check failure

the step forward, improved, should pass the test

comments of m-kuhn taken into account

The last 7 commits to rebase easily on master
2018-09-14 16:36:11 +10:00
pierreloicq
fe049d372c classify symmetric squashed (17 commits) to rebase easily on master; 13 may 2018 2018-09-14 16:36:11 +10:00
Nyall Dawson
84d4853115 Use model for symbol list view in symbol panel
Fixes hi-dpi issues
2018-09-14 09:19:32 +10:00
Martin Dobias
2085dfa6ae [FEATURE] 3D identify tool working on 3D entities
Until now the tool only considered terrain. This commit adds support
for 3D renderers created from vector layers, so it is possible to
correctly identify polygons and linestrings in 3D.
2018-09-13 13:36:24 +02:00
Borys Jurgiel
b08ad825f1 Follow up 60fa8eae07389 - implement Nyall's suggestions 2018-09-13 11:52:35 +02:00
Borys Jurgiel
60fa8eae07 [FEATURE] Append raster layer to an existing Geopackage in the 'Save Raster Layer As' dialog. Fixes #17926 2018-09-12 22:53:31 +02:00
Nyall Dawson
6935027ead [processing] Fix API break in widget wrapper
Fixes #19820
2018-09-13 05:40:39 +10:00
signedav
533ab61543 last fixes and sip_include 2018-09-11 18:36:44 +02:00
signedav
b3e4755e2e Enum Mode in QgsAttributeEditorContext
instead of QgsAttributeForm - because it's used on places not including QgsAttributeForm
now it's able to use @form_mode in expressions of containers and QML widgets
2018-09-11 12:14:20 +02:00
signedav
4da6e6975a implementation for containers
and changed to string of formMode in the attributeformcontext
2018-09-11 07:04:25 +02:00
signedav
d80ad3d34f form_mode for qmlwidgetwrapper expression 2018-09-10 18:08:26 +02:00
Denis Rouzaud
4b7da692d6 run sipify all 2018-09-10 11:41:57 -04:00
Matthias Kuhn
41184bf961
Merge pull request #7835 from m-kuhn/expressionCodeCompletion
Code completion for expression builder [FEATURE]
2018-09-10 13:42:41 +02:00
signedav
a5fc39100a no case default and removed unused doc 2018-09-10 08:16:06 +02:00
Nyall Dawson
f979c8e80a Make some protected members private 2018-09-08 20:57:28 +10:00
Matthias Kuhn
203660a3c8 Update some bits 2018-09-08 12:29:23 +02:00
Matthias Kuhn
cebaa81996 Code completion for expression builder [FEATURE] 2018-09-08 11:50:03 +02:00