27745 Commits

Author SHA1 Message Date
David
c2f68d6f7b background color on constraint fields reset on toggle edit
if editable, the backgroundcolor should be set according the constraint result
if not editable, the backgroundcolor should be empty anyway
so it has to be reseted when synchronizeEditableState...
2017-11-13 10:49:44 +01:00
David
53d642cecc Constraint Result Indicator invisible when not in editable mode
The icon for the constraint result indicator cross/tipp disappears when not in editable mode
this is made by the new method setconstraintresult.
2017-11-13 10:49:26 +01:00
Mathieu Pellerin
0ccf6fa171
Fix Z and M support for add point feature (fixes #17427) 2017-11-09 12:36:22 +07:00
Nyall Dawson
ba62ffce2c Make constructors for QgsVectorLayer and QgsRasterLayer more flexible
...by moving extra arguments to new LayerOptions structs. This allows
us to more easily add new layer constructor options without making
the API cumbersome to use.
2017-11-09 14:28:51 +11:00
Matthias Kuhn
61b2f74aae Do not assume edit widget value changes on every signal
Widgets may on initialisation send out a notification that the value changed (from invalid to something sensible).

The attribute form should however only tell the rest of the world, that a value changed if the new value doesn't
correspond to the one in the cached QgsFeature.

Fix #17425
2017-11-09 02:18:11 +01:00
Matthias Kuhn
dca0dc1dd5 Fix crash when removing layers from running transactions
qobject_cast no longer works when the QObject::destryed signal is being emitted
2017-11-09 02:17:39 +01:00
Matthias Kuhn
b18c891dfc [postgres] Fix default value check if evaluated server side 2017-11-09 01:19:35 +01:00
Matthias Kuhn
e1ffb2826b QgsHighlight improvements
* Doxygen improvements
* Fix unrequired casting
* Remove unrequired contructor
2017-11-08 21:17:00 +01:00
Matthias Kuhn
d79ac26fda
Fix build warning 2017-11-08 17:50:59 +01:00
Matthias Kuhn
140b9568b9
Merge pull request #5467 from signedav/propertieslayout
Propertieslayout Fields And Forms Redesign
2017-11-08 17:46:11 +01:00
David
0ba8f97979 no +/- buttons when not needed and some graphical finetuning
scroll area for attribute type config, but no scroll area for whole tab
set attribute type config to invisible when a container box is selected
2017-11-08 16:53:04 +01:00
Nathan Woodrow
7b427c6be5 Don't quote symbol path in crash 2017-11-09 00:57:04 +10:00
Matthias Kuhn
be5a0c9a01
Merge pull request #5556 from m-kuhn/crashOnHighlight
No need to crash when a user wants a highlight
2017-11-08 15:25:23 +01:00
Mathieu Pellerin
17c7e2fbca
[3D] Fix missing Z support for point layers (#5560) 2017-11-08 21:04:58 +07:00
Matthias Kuhn
dc7ec1e1ca
No need to crash when a user wants a highlight
Fix #17413
2017-11-08 14:37:16 +01:00
David
ccd142fef6 Correct order of column headers in relationmanager
The column headers of "Referenced Field" and "Referenced Layer" were switched with respect to their content. Changed to the correct order in GUI now.

Fix #17409
2017-11-08 13:42:53 +01:00
Alessandro Pasotti
6b9b513ea5 [bugfix] Fixes QgsFileDownloader abort on error
Abort reply on error.

Fixes #171410

Requires backport
2017-11-08 13:33:27 +01:00
Alessandro Pasotti
e781ad2e3e
Merge pull request #5558 from elpaso/project_use_rw_context
[bugfix] Project use rw context
2017-11-08 12:26:45 +01:00
Alessandro Pasotti
d11ea073c7 Removed Q_UNUSED 2017-11-08 12:25:59 +01:00
Borys Jurgiel
845310091d Fix histogram refreshig 2017-11-08 10:28:16 +01:00
David
de33017b17 Fix #17412 Sorting fixed, no troubles when editing after sorting
Issue was, that the cellchange is triggered at re-sorting - so we need to check the names
Following issue was, that when removing or renaming something in re-sorted table - so there was a bug that referenced to the row instead of the index
Thought about to remove mIndexedWidgets completely, but when renumbering after delete in unsorted table, we cannot reference to the row order.
2017-11-08 10:18:51 +01:00
Alessandro Pasotti
1fdfecfc26 Removed unused code 2017-11-08 08:08:52 +01:00
Borys Jurgiel
61a155cf78
Merge pull request #5547 from borysiasty/stickytabs2
Make some QgsOptionsDialogBase's slots virtual
2017-11-07 22:21:04 +01:00
Juergen E. Fischer
a1024905bf fix windows warnings 2017-11-07 21:44:54 +01:00
Juergen E. Fischer
27dbb48679 fix override warning 2017-11-07 21:44:54 +01:00
Tom Elwertowski
96a81a95a1 macOS needs to include spatialindex before geos.
If both are on separate paths and geos is first, case-insensitive macOS will include (geos) spatialIndex.h instead of SpatialIndex.h
2017-11-07 19:15:41 +01:00
Alessandro Pasotti
7aa24f6906 [bugfix] Pass QgsReadWriteContext into project XML r/w
Or we miss the path resolver and we do not read/write
relative paths correctly

Fixes #17116
2017-11-07 18:17:48 +01:00
David
ba243e559d References #17412 Fixes problem when changeing sort but not when renaming
When sort and then toggle edditing, the problem was that it wanted to rename all the fields
Whis is avoided now by checking the indexes
But still problems open when one wants to rename fields in unsorted layout
2017-11-07 17:15:25 +01:00
Matthias Kuhn
80ea446d0e
Make text translatable 2017-11-07 15:47:43 +01:00
Matthias Kuhn
5595f40fc6
Fix single parameter version of represent_value
Fix #17407
2017-11-07 15:47:42 +01:00
David
44d8db9cdf editable and lable on top + fixes
in attribute form properties: editable and lable on top config to general
fix: in case that somebody deletes a field on sourcedata and then wants to change config on it in attribute - it's now disabled (but not updated)
fix: if adding new attribute after adding a virtual one, the display of the list was wrong (value of virtual in non-virtual row) - now it reloads the table correctly
2017-11-07 15:28:46 +01:00
Matthias Kuhn
07cef67ead
Fix freeze when joining with table open
Fix #16495
2017-11-07 15:03:12 +01:00
Matthias Kuhn
e5187b2946
Respect default values in N:M relations 2017-11-07 14:53:51 +01:00
Matthias Kuhn
2eddb03a83
Merge pull request #5476 from tudorbarascu/move_feature
Move Feature tooltip that guides the user towards Node Tool if s(h)e wants snapping
2017-11-07 13:29:37 +01:00
Tudor Bărăscu
98f7508781 better wording 2017-11-07 13:46:51 +02:00
Alessandro Pasotti
2523d7351c [bugfix] Prevent a bad crash when provider is wrong
Fixes #17155
2017-11-07 09:26:01 +01:00
Alessandro Pasotti
7c9cd491bd
Merge pull request #5546 from elpaso/auth_migrate
[auth][bugfix] Auth DB migrate
2017-11-07 08:25:58 +01:00
Nyall Dawson
c000cb86ca
Merge pull request #5434 from nyalldawson/layout_next2
[layouts] Port item type from composer
2017-11-07 13:22:16 +10:00
Nyall Dawson
e9e7740db9
Merge pull request #5544 from nyalldawson/proc_api
[processing] Improve api handling for provider format support
2017-11-07 12:55:19 +10:00
Nyall Dawson
bf75747f18 [processing] Use user-set default file formats if supported by
provider, otherwise fall back to a format which IS supported
by that provider
2017-11-07 12:25:55 +10:00
Nyall Dawson
36b58a8cdd Fix duplicated return 2017-11-07 11:53:34 +10:00
Nyall Dawson
90d6a2d089 Update for changes in API 2017-11-07 11:51:36 +10:00
Nyall Dawson
476b1deced Fix doxygen warning 2017-11-07 11:32:39 +10:00
Nyall Dawson
ce0ac40a30 Add missing docs 2017-11-07 11:32:39 +10:00
Nyall Dawson
49c41d39c2 Add missing override 2017-11-07 11:32:39 +10:00
Nyall Dawson
057a20cbc1 Allow adding multiple layers to legend at once 2017-11-07 11:32:39 +10:00
Nyall Dawson
27c3eb92c2 More command compression for legend items 2017-11-07 11:32:39 +10:00
Nyall Dawson
bc23664b0d Serialization for legend items 2017-11-07 11:32:39 +10:00
Nyall Dawson
d3430e4d42 Port legend item 2017-11-07 11:32:39 +10:00
Nyall Dawson
585a8b70ba Restore ui for configuring labels 2017-11-07 11:32:39 +10:00