40299 Commits

Author SHA1 Message Date
Alexander Bruy
30be72210c Merge pull request #4916 from NaturalGIS/master_fix_saga_cluster_analysis
[processing] fix SAGA cluster analysis for rasters
2017-07-25 08:21:57 +03:00
Juergen E. Fischer
fc0bd62ece typo fix 2017-07-25 07:06:00 +02:00
Nyall Dawson
f121286e38 Fix size of some color widgets on hidpi displays 2017-07-25 12:53:04 +10:00
Nyall Dawson
aacc316eed Fix size of color swatch grid in color buttons on hidpi displays 2017-07-25 12:53:04 +10:00
Nyall Dawson
ca4c34d219 Fix menu header appearance on hidpi displays 2017-07-25 12:28:46 +10:00
Nyall Dawson
53c6308d05 Use QgsMenuHeaderWidgetAction instead of QMenu::addSection
Because addSection adds really ugly separators and throws out
the menu alignment
2017-07-25 12:07:30 +10:00
Mathieu Pellerin
778e84ba7b [FEATURE] Add copy to clipboard function to save as image (#4914)
Sponsored by Andreas Neumann.
2017-07-25 08:50:03 +07:00
Juergen E. Fischer
cb088a2a0c vector layer save as: adjust our to OGR's defaults
* GPX_USE_EXTENSIONS default is false not true (fixes #16811)
* CSV GEOMETRY is none not AS_XY (fixes #16819)

(followup 9a6235db)
2017-07-24 22:53:28 +02:00
Giovanni Manghi
ecd2c650ca master: fix SAGA cluster analysis for rasters 2017-07-24 14:56:41 +01:00
Denis Rouzaud
dcec6bbf3f Qt 5.5 has no default value for parent in QAction constructor
see http://code.qt.io/cgit/qt/qtbase.git/commit/src/widgets/kernel/qaction.h?id=536da5eb6ab1b4b07c13ad9f4c0f69dba5ca1624
2017-07-24 14:58:37 +02:00
Alessandro Pasotti
1dca9a1289 Merge pull request #4755 from SrNetoChan/fix_datasource_manager_ui
Removes frames from data manager dialog
2017-07-24 14:08:54 +02:00
Denis Rouzaud
33071f4720 fix doxymentation 2017-07-24 13:44:25 +02:00
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
Alexandre Neto
90e68771ec Fix code style 2017-07-23 17:43:44 +01:00
Alexandre Neto
e9cb34836e Enforce margins in cpp file 2017-07-23 17:43:44 +01:00
Alexandre Neto
eb94207e6d Removes frames from data manager dialog
Removes extra margin from mOptionsFrame
2017-07-23 17:43:44 +01: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