52997 Commits

Author SHA1 Message Date
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
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
Nyall Dawson
da53f145f2 Auto update canvas, symbol preview, when project colors change
Symbols may be using project colors, so the layers and previews
need to be updated when project color changes occur
2019-01-12 18:11:44 +10:00
Nyall Dawson
b0de40d9ab Fix crash on exit when project signal is emitted during project destruction 2019-01-12 18:11:44 +10:00
Nyall Dawson
f7745c94d9 Add a signal to QgsProject for when project color scheme changes 2019-01-12 18:11:44 +10:00
Mathieu Pellerin
8a80eeb259 [themes] Fix a few more issues with Night Mapping
- provide a visual feedback for checked menu actions
- improve scrollbar styling
- fix broken vertical slider
2019-01-12 12:05:03 +07:00
Mathieu Pellerin
495b768726 [themes] Fix a few more issues with Blend of Gray
- provide a visual feedback for checked menu actions
- improve scrollbar styling
- fix broken vertical slider
2019-01-12 12:04:42 +07:00
Matthias Kuhn
b61d6f8f90
Merge pull request #8832 from troopa81/fix_20547
fixes #20547 : Fix error when using a spatialite layer with a non-int primary key an a spatial index
2019-01-11 23:07:10 +01:00
Nyall Dawson
7b664ea9a8 Fix see also link 2019-01-12 05:31:00 +10:00
Nyall Dawson
629de0c651 Fix some corner cases 2019-01-12 05:31:00 +10:00
Nyall Dawson
2a774d6dac [FEATURE][processing] New algorithm "Geodesic line split at antimeridian"
Ports the similar algorithm from the shape tools plugin to c++, and utilises
built in QgsDistanceArea ellipsoidal calculations to split the lines.

This algorithm splits a line into multiple geodesic segments, whenever the
line crosses the antimeridian (±180 degrees longitude)

Splitting at the antimeridian helps the visual display of the lines in some
projections. The returned geometry will always be a multi-part geometry.

Whenever line segments in the input geometry cross the antimeridian,
they will be split into two segments, with the latitude of the breakpoint
being determined using a geodesic line connecting the points either side
of this segment. The current project ellipsoid setting will be used when
calculating this breakpoint.

If the input geometry contains M or Z values, these will be linearly
interpolated for the new vertices created at the antimeridian.

Supports in-place edit mode also.
2019-01-12 05:31:00 +10:00
Nyall Dawson
021f5ea366 [needs-docs][api] Rename QgsDistanceArea methods to change "date line"
to "antimeridian"

Because the date line =/= +/-180 degree longitude, which is what
we were incorrectly using it to mean.
2019-01-12 05:31:00 +10:00