From 13a538ca259625a1ab67c89c726a4a08dc0b127a Mon Sep 17 00:00:00 2001 From: Danfro Date: Fri, 17 Feb 2023 22:34:46 +0100 Subject: [PATCH 1/2] add sport type nordic walking --- images/NordicWalking-symbolic.svg | 78 ++++++++++++++++++++++++++++ images/NordicWalking.svg | 85 +++++++++++++++++++++++++++++++ qml/components/Sports.qml | 3 +- 3 files changed, 165 insertions(+), 1 deletion(-) create mode 100644 images/NordicWalking-symbolic.svg create mode 100644 images/NordicWalking.svg diff --git a/images/NordicWalking-symbolic.svg b/images/NordicWalking-symbolic.svg new file mode 100644 index 0000000..62d8e45 --- /dev/null +++ b/images/NordicWalking-symbolic.svg @@ -0,0 +1,78 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/images/NordicWalking.svg b/images/NordicWalking.svg new file mode 100644 index 0000000..96e6e29 --- /dev/null +++ b/images/NordicWalking.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + diff --git a/qml/components/Sports.qml b/qml/components/Sports.qml index 8df1821..87ec02f 100644 --- a/qml/components/Sports.qml +++ b/qml/components/Sports.qml @@ -9,10 +9,11 @@ Item { i18n.tr("Walk"), i18n.tr("Drive"), i18n.tr("Hike"), + i18n.tr("Nordic walking"), i18n.tr("Unicycle") ] //List of available sports not translatable to be used as property value for each track - readonly property var name: ["Run","BikeRide","Walk","Drive","Hike","Unicycle"] + readonly property var name: ["Run","BikeRide","Walk","Drive","Hike","NordicWalking","Unicycle"] // index of the selected sport when editing/importing/saving a track property int selected: -1 // index of the sport selected in the first dialog popped up while tracking a new activity From 6bbb1ccaf7cf562a9adc0089d31a0cba0be7f218 Mon Sep 17 00:00:00 2001 From: Danfro Date: Wed, 22 Feb 2023 22:21:34 +0100 Subject: [PATCH 2/2] make the poles the same color as the other white parts --- images/NordicWalking.svg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/images/NordicWalking.svg b/images/NordicWalking.svg index 96e6e29..5312cd6 100644 --- a/images/NordicWalking.svg +++ b/images/NordicWalking.svg @@ -23,7 +23,7 @@ inkscape:pagecheckerboard="0" showgrid="false" inkscape:zoom="1.7050781" - inkscape:cx="236.64605" + inkscape:cx="231.66094" inkscape:cy="255.70676" inkscape:window-width="1854" inkscape:window-height="1043" @@ -73,12 +73,12 @@