53057 Commits

Author SHA1 Message Date
Nyall Dawson
ed797c98f4 Nicer strings 2019-01-16 12:04:34 +11:00
Nyall Dawson
6246dd7d5c Considerably simplify code, remove duplication 2019-01-16 12:04:34 +11:00
Nyall Dawson
a7c18904e6 Rename action for clarity 2019-01-16 12:04:34 +11:00
Nyall Dawson
5ce54fdc9c Release busy cursor before showing message box 2019-01-16 12:04:34 +11:00
Nyall Dawson
a1b44c939d [FEATURE] When browsing a style from the browser panel, allow copying
symbols to the default style from the right click menu and share button

Allows users to easily transfer symbols and ramps from a style xml
file directly to their local style database.
2019-01-16 12:04:34 +11:00
Nyall Dawson
dd00777b43 Refactor 2019-01-16 12:04:34 +11:00
Nyall Dawson
701a29fd6e [FEATURE] Double clicking a style .xml in the browser now opens
the manager dialog, allowing browsing and non-edit actions for the
style.
2019-01-16 12:04:34 +11:00
Nyall Dawson
2c22beafa9 Fix initial selected tab in style manager dialog 2019-01-16 12:04:34 +11:00
Nyall Dawson
42a7804323 Add method to hide favorites and smart groups from style manager dialog 2019-01-16 12:04:34 +11:00
Nyall Dawson
ec8b299b9b Add a read only mode to QgsStyleManagerDialog
Allows the dialog to browse an existing style, but prevents users
from making any edits to the style.
2019-01-16 12:04:34 +11:00
Denis Rouzaud
97fef536ea
Merge pull request #8864 from 3nids/qproperty
add Q_PROPERTY for QgsCoordinateReferenceSytem::isGeographic and QgsGeometry::isNull
2019-01-15 18:15:03 -05:00
Denis Rouzaud
4e31597f5c add Q_PROPERTY for QgsCoordinateReferenceSytem::isGeographic 2019-01-15 14:32:22 -05:00
Denis Rouzaud
683dbff8ad use Q_PROPERTY instead of Q_INVOKABLE for QgsGeometry::isNull 2019-01-15 14:31:49 -05:00
lbartoletti
c885cd7267 add toString and repr for qgsvector 2019-01-16 01:10:33 +11:00
Mathieu Pellerin
63a3445521
[themes] Allow styling of SQL/python/expression/HTML code editors (#8860) 2019-01-15 20:04:52 +07:00
Peter Petrik
9aacf4bac6 fix #20316 not possible to assign mesh crs 2019-01-15 12:41:39 +01:00
Mathieu Pellerin
6957009f8b [themes] Fix the processing modeler's rendering on dark backgrounds 2019-01-15 12:24:50 +07:00
RucioTozzy
2e36fd603e Update TRANSLATORS
Most of the zh-Hant users are Taiwanese, so the flag of zh-Hant should change to flag of Taiwan, not flag of China :)
2019-01-15 10:53:32 +07:00
Mathieu Pellerin
807958878f Be theme friendly, don't hard-coded white background for locale sample label 2019-01-15 09:48:21 +07:00
Mathieu Pellerin
61252f8cce [themes] Additional fixes for Blend of Gray
- better welcome page (et cie) disabled text
- improve tree view item hover color to avoid masking
  drop indicator when drag 'n dropping
2019-01-15 09:48:07 +07:00
Alex
004d6bae5f Add QgsRenderContext to QgsLayerTreeModelLegendNode::ItemContext 2019-01-15 13:37:36 +11:00
Nyall Dawson
773ee5535a Fix a bunch of tiny icon sizes on hidpi displays 2019-01-15 13:36:43 +11:00
Nyall Dawson
6f23d30f25 Mesh (and raster) calculator dialog HIG fixes and standardization
And fix typo and warnings
2019-01-15 09:30:18 +10:00
lbartoletti
edadcb773f Refactoring of rectangle maptools
Adds a new geometry class QgsQuadrilateral, for 4 sided geometries.
2019-01-15 10:24:16 +11:00
Alex
046bec48bc Use render context when drawing layout legends 2019-01-15 10:20:51 +11:00
Hugo Mercier
a1970104d0 Fix vertextool's geometry cache invalidation
This a forward port from d79c212e7ba1e5 in PR #8724

Another fix is added here (which will be backported to 3.4): layer'
signal connections must be destroyed when the cache for this layer is
cleared (otherwise I got an "assertion failed" in onCacheGeometryXXXX)
2019-01-14 15:04:38 +01:00
Hugo Mercier
648672d7db Fix libpq access from different threads
This is a forward port from 05f949b58, following PR #8700.

In addition, two other fixes are added (that will be backported to
3.4):
- PQexecNR, openCursor and closeCursor are protected
- uniqueCursorName is also protected (I stumbled accross a bug where
the cursor name was reused by two different threads)
2019-01-14 14:52:55 +01:00
Peter Petrik
a149e83277 use SVG icon for show mesh calculator 2019-01-14 12:32:36 +01:00
Peter Petrik
cd9a84e11c [feature] [mesh] Mesh Calculator
Similarly to raster calculator, mesh calculator can take dataset groups from current mesh layer and
combine them with various aritmentic/logical operators to new dataset group.
2019-01-14 12:32:36 +01:00
Peter Petrik
e163caf754 update to MDAL 0.1.3 (mesh calculator API) 2019-01-14 12:32:36 +01:00
Juergen E. Fischer
3cb7e31fd7 fix build 2019-01-14 10:54:56 +01:00
Nyall Dawson
f8af098fc2 Correctly handle selection of mixed item types 2019-01-14 18:10:54 +10:00
Nyall Dawson
4b154a4a88 Fix potential crash when removing entities from a style 2019-01-14 18:10:54 +10:00
Nyall Dawson
d5cedfe9f5 Dox++, deprecate method 2019-01-14 18:10:54 +10:00
Nyall Dawson
46c13e1b23 Add missing endcond 2019-01-14 18:10:54 +10:00
Nyall Dawson
180bb6a43e [FEATURE] Add "All" tab to style manager
This allows you to see ALL the symbols/ramps matching the current
group/tag/filter. It makes it easier to manage groups which consist
of both markers/lines and fills.
2019-01-14 18:10:54 +10:00
Nyall Dawson
cd96ecd88c [FEATURE] Add list view mode to style manager dialog
This was added to the symbol list widget in 3.4, and now it's
available in the style manager dialog too.
2019-01-14 18:10:54 +10:00
Nyall Dawson
b72e01f0c7 Use QgsStyleModel in Style Manager dialog
Fixes MANY symbol filtering issues in the dialog, and brings many
improvements (e.g. hidpi fixes, nicer tooltips, etc)
2019-01-14 18:10:54 +10:00
Nyall Dawson
ef250c4563 Fix main panel ownership in QgsPanelWidgetStack bindings 2019-01-14 16:41:08 +10:00
Nyall Dawson
3bc06e2bb9 Fix crash in metadata widget when remove is clicked and no items exist
Fixes #20943
2019-01-14 13:14:30 +10:00
Nyall Dawson
9b75a82aeb Fix warnings 2019-01-14 12:56:27 +10:00
Nyall Dawson
1572abf151 Hidpi fixes for color picker widget 2019-01-14 12:56:27 +10:00
Luis Ressel
627b032155 Only enable qgisCrash() on FreeBSD and Linux systems with glibc
Currently, qgisCrash() is enabled on all Linux platforms except Android,
but that's invalid: While glibc provides the backtrace() function, other
libcs for Linux, such as musl, don't.
2019-01-14 09:07:42 +10:00
Raymond Nijssen
0ba9a326ec Add API to calculate innerTangents for 2 circles 2019-01-14 05:27:19 +10:00
Mathieu Pellerin
aafd84812e [themes] Last round of theme fix (hopefully)
- improve progress bar size and look
- remove hard coded border color for progress bar
- fix plugin manager checkbox for blend of gray
2019-01-12 16:56:53 +07:00
Mathieu Pellerin
add1f96fcc [themes] Add pressed state for tool/push buttons in Night Mapping 2019-01-12 16:10:47 +07:00
Mathieu Pellerin
ee110345f6 [themes] Add pressed state for tool/push buttons in Blend of Gray 2019-01-12 16:10:35 +07:00
Nyall Dawson
3aae40a224 Refresh layout maps when project colors change 2019-01-12 18:11:44 +10:00
Nyall Dawson
0f42c8e30c Ensure that project colors show correctly in legend and symbol previews 2019-01-12 18:11:44 +10:00
Nyall Dawson
ac10769809 Move method for detecting project colors to QgsProperty 2019-01-12 18:11:44 +10:00