From 77e50036470d5aa485bb8e282521103484a77867 Mon Sep 17 00:00:00 2001 From: Till Frankenbach <81414045+Merydian@users.noreply.github.com> Date: Mon, 15 Jan 2024 10:08:46 +0100 Subject: [PATCH] fix: make style render correctly in QGIS 3.16 (#219) --- CHANGELOG.md | 1 + ORStools/gui/linestyle.qml | 630 +++++++++++++------------------------ 2 files changed, 211 insertions(+), 420 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc519d76..4458871a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,7 @@ RELEASING: ### Fixed - TypeError if no SVGPaths are set ([#212](https://github.com/GIScience/orstools-qgis-plugin/issues/212)) - replace removesuffix() function with replace() function in base processing algorithm ([#215](https://github.com/GIScience/orstools-qgis-plugin/pull/215)) +- Replace line style with style from QGIS v3.16 to enable correct rendering in older versions ([#218](https://github.com/GIScience/orstools-qgis-plugin/issues/218)) ## [1.7.0] - 2023-12-22 diff --git a/ORStools/gui/linestyle.qml b/ORStools/gui/linestyle.qml index 34454262..84336893 100644 --- a/ORStools/gui/linestyle.qml +++ b/ORStools/gui/linestyle.qml @@ -1,360 +1,178 @@ - + 1 1 1 - 0 - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + @@ -366,63 +184,46 @@ - + + + 0 0 1 - - - - + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -430,12 +231,12 @@ - + @@ -443,52 +244,52 @@ - + - + - + - + - + - + - + - + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - + - @@ -596,17 +397,6 @@ def my_form_open(dialog, layer, feature): - - - - - - - - - - - "new_field_name"