40284 Commits

Author SHA1 Message Date
Denis Rouzaud
fcc0d7dde3 enhanced output for code_layout build on Travis 2017-07-24 13:40:49 +02:00
Nathan Woodrow
b9e545a465 Remove corner widget for profiles. Make it normal menu
Hopefully for now until I work out better UX
2017-07-24 21:15:53 +10:00
Nathan Woodrow
601dd41213 Nicer level string in message log window 2017-07-24 21:15:53 +10:00
Nyall Dawson
d055def2d1 Merge pull request #4907 from nyalldawson/symbol_button
New QgsSymbolButton widget
2017-07-24 20:29:14 +10:00
Nyall Dawson
6202f06e98 Fix more tests 2017-07-24 20:06:36 +10:00
Nyall Dawson
7e749a5afb Fix failing tests 2017-07-24 19:46:26 +10:00
Denis Rouzaud
db745df4a4 fix indentation 2017-07-24 11:36:38 +02:00
Denis Rouzaud
500175b8e8 remove QgsScrollAreaWidgetPlugin from custom widgets
it had to be removed form the widget list in uic plugin. It might be better to provide the real list of implemented widgets rather than the full gui list.

fixes #16428
2017-07-24 10:45:42 +02:00
Alexander Bruy
b842043c96 Merge pull request #4901 from alexbruy/processing-random
[processing] restore "random" algorithms
2017-07-24 11:27:16 +03:00
Nyall Dawson
78b05c1a7f Allow copying and pasting symbols between QgsSymbolButtons 2017-07-24 16:57:30 +10:00
Alexander Bruy
c440ade2d8 [processing] remove Z/M addition from "random" algorithms 2017-07-24 09:20:47 +03:00
Alexander Bruy
c7645a3884 [processing] port Random points along lines 2017-07-24 09:20:47 +03:00
Alexander Bruy
f8b0c06942 [processing] port Random points in polygons 2017-07-24 09:20:47 +03:00
Alexander Bruy
ae2e32b36e [processing] restore Random points in layer bounds 2017-07-24 09:20:47 +03:00
Alexander Bruy
eb9f45cbb0 [processing] port Random points within extent 2017-07-24 09:20:47 +03:00
Denis Rouzaud
2723f4f199 remove duplicate method
followup 391712d2d42a761acb4bacce81cbe9ed8da52f6b
2017-07-24 07:30:48 +02:00
Nathan Woodrow
391712d2d4 Always log message bar messages to message log
Mainly so they don't just disappear on the user
2017-07-24 15:19:07 +10:00
Nathan Woodrow
12c634cef3 Load default profile name from global
Also adds overrideLocalProfile to ignore local profiles.ini file
2017-07-24 14:52:10 +10:00
Nathan Woodrow
e37f682cca Also load profiles-path from global settings 2017-07-24 14:20:09 +10:00
Nathan Woodrow
7b92f1f1e4 [FEATURE] Add user profiles.
All user settings/plugins, etc are now loaded from APPDATA for each
platform and no longer .qgis3 and are isolated from each other.
 This allows for different profiles depending on what the user of QGIS
needs, e.g test, prod, demo, etc

Profile menu allows for switching between profiles, or creating new
ones.
2017-07-24 13:20:01 +10:00
Nyall Dawson
15f3bbf9c8 Add some missing /Factory/ annotations 2017-07-24 13:02:20 +10:00
nirvn
1961795891 [welcome page] improve rounded rect background color 2017-07-24 10:02:02 +07:00
Nyall Dawson
73214343df Merge pull request #4909 from nyalldawson/label_units
Use standard QgsUnitTypes::RenderUnit throughout labeling
2017-07-24 11:45:05 +10:00
Nyall Dawson
e304662a4f Use standard QgsUnitTypes::RenderUnit throughout labeling
Instead of duplicate labeling specific unit enum, reuse
the QgsUnitTypes::RenderUnit enum in labeling.

This brings several improvements, including:
- label offset/distance/repeat units now works correctly
in all available unit types (inc pixels, map unit meters,
points, inches, etc)
- less duplicate code
- labeling can use the robust QgsRenderContext methods for
converting between different units and painter coordinates

Also change comments for members to doxygen comments, so
that these get included in the API docs.
2017-07-24 11:18:30 +10:00
Nyall Dawson
43d094eab3 Custom widget plugin for QgsSymbolButton 2017-07-24 11:07:55 +10:00
Nyall Dawson
f7ada8138f Port conditional formatting symbol button to QgsSymbolButton 2017-07-24 11:07:55 +10:00
Nyall Dawson
67b272406e Port decoration buttons to QgsSymbolButton 2017-07-24 11:07:55 +10:00
Nyall Dawson
6398b74426 Add opacity slider to symbol button menu 2017-07-24 11:07:55 +10:00
Nyall Dawson
0414794787 Use symbol button in annotation config widgets 2017-07-24 11:07:55 +10:00
Nyall Dawson
46f6f83fb9 Port some symbol buttons across to QgsSymbolButton
- composer shape style button (no other composer ones for now- they're
all getting removed with layouts anyway)
- point cluster/displacement renderer buttons
2017-07-24 11:07:55 +10:00
Nyall Dawson
22c4740f63 [FEATURE] New standard widget for symbol buttons
Button widgets for configuring symbol properties were reimplemented
multiple times throughout the codebase. This commit creates a new
standard QgsSymbolButton widget which should be used whenever
a button for configuring symbol properties is required.

Features include:
- automatic use of inline panels whenever possible
- dropdown menu with shortcuts to color settings, copy/pasting colors
- accepts drag and dropped colors to set symbol color
2017-07-24 11:07:55 +10:00
Nyall Dawson
9a12249b02 Improve string wording, capitalization and plural consistency 2017-07-24 11:04:08 +10:00
Nyall Dawson
faa4a09ed0 Merge pull request #4877 from nyalldawson/layout_next
Layouts, chapter II
2017-07-24 08:42:51 +10:00
Nyall Dawson
d570b430f3 Merge pull request #4908 from nyalldawson/fix_displace_crash
Fix crash in displacement/distance renderers
2017-07-23 18:06:55 +10:00
Nyall Dawson
99bf32bafb Fix crash in displacement/distance renderers
Individual symbol instances were being rendered multiple times
concurrently
2017-07-23 17:21:52 +10:00
Juergen E. Fischer
b95d432a8c huh? of course SubLayerItem is private 2017-07-22 21:41:21 +02:00
Juergen E. Fischer
90fa6c2e91 sub layer dialog: sort by layer id and feature count numerically (fixes #16917) 2017-07-22 13:41:20 +02:00
Alexander Bruy
22162b96a9 Merge pull request #4903 from NaturalGIS/master
[processing] fix SAGA LTR mosaiking tool
2017-07-22 08:18:48 +03:00
Alessandro Pasotti
89ffecbf05 Merge pull request #4881 from boundlessgeo/xyz-auth-gui
[feature][needs-docs] XYZ authentication and referer added to GUI
2017-07-21 21:17:14 +02:00
Giovanni Manghi
dfc9285121 master: fix SAGA LTR mosaiking tool 2017-07-21 14:42:14 +01:00
nirvn
0cba29cc09 improve extent and scale/dpi relation in save as image/PDF 2017-07-21 13:32:20 +07:00
nirvn
78ee9f7e7d fix locked ratio width adjustment in save as image/PDF 2017-07-21 13:04:01 +07:00
nirvn
00ac9f51ed fix expanding ratio lock button under kbuntu qt theme 2017-07-21 12:24:11 +07:00
Nyall Dawson
db74133759 Merge pull request #4899 from nyalldawson/ratio_lock
Allow setting width/height spin boxes to link to QgsRatioLockButton
2017-07-21 15:13:02 +10:00
Nyall Dawson
38c8268400 Allow setting width/height spin boxes to link to QgsRatioLockButton
When set, these spin boxes will automatically be updated when their
accompanying spin box changes value so that the ratio is maintained.
2017-07-21 14:20:45 +10:00
Nyall Dawson
eb5ac44b27 Update test 2017-07-21 11:28:43 +10:00
Nyall Dawson
2f0c9d955b Followup 5241c74, fix calculation of heatmaps 2017-07-21 11:09:49 +10:00
Nyall Dawson
9ab4184af2 Fix memory leak in canvas preview images 2017-07-21 08:55:17 +10:00
Juergen E. Fischer
74407dc697 crash report: fix report on 64bit 2017-07-21 00:02:37 +02:00
Juergen E. Fischer
e7744bdcd4 [FEATURE] fill ring tool: by pressing shift an existing ring is filled 2017-07-20 19:11:35 +02:00