- Fix selector popup clipping

- Fix rare issue with backgound of boulder result rect
This commit is contained in:
Dorian Zedler 2021-08-06 21:39:29 +02:00
parent 1ce24be35b
commit 9af65bd746
Signed by: dorian
GPG key ID: 989DE36109AFA354
8 changed files with 20 additions and 18 deletions

View file

@ -214,7 +214,7 @@ ColoredItemDelegate {
context.arc(radius + offsetX, radius + offsetY, radius, Math.PI, 1.5 * Math.PI); context.arc(radius + offsetX, radius + offsetY, radius, Math.PI, 1.5 * Math.PI);
// fill // fill
if(resultData[0] !== -1) { if(resultData[0] !== -1 || resultData[2] !== -1) {
// if there is a result available -> draw background // if there is a result available -> draw background
context.fillStyle = "#b7b7b7"; context.fillStyle = "#b7b7b7";
} }

View file

@ -171,7 +171,7 @@ Page {
id: aboutBluerockDisclaimerDialog id: aboutBluerockDisclaimerDialog
Material.theme: root.Material.theme Material.theme: root.Material.theme
title: "blueROCK v" + APP_VERSION + "<br>By <a href=\"https://itsblue.de\">Itsblue Development</a>" title: "blueROCK v" + APP_VERSION + "<br>By <a href=\"https://itsblue.de\">Itsblue Development</a>"
//% "This app was built using the <a href='https://qt.io'>Qt Framework</a> licensed under the <a href='https://www.gnu.org/licenses/lgpl-3.0.en.html'>GNU lgplV3 license</a>.<br><br>This app is open source and licensed under the <a href='https://www.gnu.org/licenses/agpl-3.0.en.html'>GNU agplV3 license</a>, the source code can be found <a href='https://itsblue.dev/dorian/blueROCK/'>here</a>.<br><br>Resultservice and rankings provided by <a href='http://www.digitalROCK.de'>digital ROCK</a>." //% "This app was built using the <a href='https://qt.io'>Qt Framework</a> licensed under the <a href='https://www.gnu.org/licenses/lgpl-3.0.en.html'>GNU lgplV3 license</a>.<br><br>This app is open source and licensed under the <a href='https://www.gnu.org/licenses/agpl-3.0.en.html'>GNU agplV3 license</a>, the source code can be found <a href='https://itsblue.dev/blueROCK/app'>here</a>.<br><br>Resultservice and rankings provided by <a href='http://www.digitalROCK.de'>digital ROCK</a>."
content: qsTrId("#aboutBluerockDisclaimer") content: qsTrId("#aboutBluerockDisclaimer")
} }
} }

View file

@ -282,6 +282,7 @@ Page {
property int delegateHeight: 50 property int delegateHeight: 50
spacing: 10 spacing: 10
clip: true
implicitHeight: model === 0 ? 0:(delegateHeight + spacing) * model implicitHeight: model === 0 ? 0:(delegateHeight + spacing) * model

View file

@ -435,7 +435,6 @@ DataListView {
property int delegateHeight: 50 property int delegateHeight: 50
spacing: 10 spacing: 10
clip: true clip: true
implicitHeight: model === 0 ? 0:(delegateHeight + spacing) * model implicitHeight: model === 0 ? 0:(delegateHeight + spacing) * model

Binary file not shown.

View file

@ -129,8 +129,9 @@
</message> </message>
<message id="#aboutBluerockDisclaimer"> <message id="#aboutBluerockDisclaimer">
<location filename="../qml/Pages/StartPage.qml" line="175"/> <location filename="../qml/Pages/StartPage.qml" line="175"/>
<source>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/dorian/blueROCK/&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</source> <source>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/blueROCK/app&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</source>
<translation>Diese App wurde unter Verwendung des &lt;a href=&apos;https://qt.io&apos;&gt;Qt Frameworks&lt;/a&gt; unter der &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 Lizenz&lt;/a&gt; erstellt.&lt;br&gt;&lt;br&gt;Diese App ist Open-source und lizensiert unter der &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 Lizenz&lt;/a&gt;. Der Sourcecode findet sich &lt;a href=&apos;https://itsblue.dev/dorian/blueROCK/&apos;&gt;hier&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Die Ergebnisse und Ranglisten werden von &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt; zur Verfügung gestellt.</translation> <oldsource>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/dorian/blueROCK/&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</oldsource>
<translation>Diese App wurde unter Verwendung des &lt;a href=&apos;https://qt.io&apos;&gt;Qt Frameworks&lt;/a&gt; unter der &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 Lizenz&lt;/a&gt; erstellt.&lt;br&gt;&lt;br&gt;Diese App ist Open-source und lizensiert unter der &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 Lizenz&lt;/a&gt;. Der Sourcecode findet sich &lt;a href=&apos;https://itsblue.dev/blueROCK/app&apos;&gt;hier&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Die Ergebnisse und Ranglisten werden von &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt; zur Verfügung gestellt.</translation>
</message> </message>
<message id="#calendar"> <message id="#calendar">
<location filename="../qml/Widgets/CalendarWidget.qml" line="32"/> <location filename="../qml/Widgets/CalendarWidget.qml" line="32"/>
@ -174,9 +175,9 @@
</message> </message>
<message id="#selectCategory"> <message id="#selectCategory">
<location filename="../qml/Widgets/CalendarWidget.qml" line="278"/> <location filename="../qml/Widgets/CalendarWidget.qml" line="278"/>
<location filename="../qml/Widgets/RegistrationWidget.qml" line="127"/> <location filename="../qml/Widgets/RegistrationWidget.qml" line="124"/>
<location filename="../qml/Widgets/ResultWidget.qml" line="169"/> <location filename="../qml/Widgets/ResultWidget.qml" line="159"/>
<location filename="../qml/Widgets/StartlistWidget.qml" line="98"/> <location filename="../qml/Widgets/StartlistWidget.qml" line="94"/>
<source>Select category</source> <source>Select category</source>
<translation>Kategorie auswählen</translation> <translation>Kategorie auswählen</translation>
</message> </message>
@ -216,17 +217,17 @@
<translation>(Registrierung)</translation> <translation>(Registrierung)</translation>
</message> </message>
<message id="#showResults"> <message id="#showResults">
<location filename="../qml/Widgets/RegistrationWidget.qml" line="129"/> <location filename="../qml/Widgets/RegistrationWidget.qml" line="126"/>
<source>Show results</source> <source>Show results</source>
<translation>Ergebnisse anzeigen</translation> <translation>Ergebnisse anzeigen</translation>
</message> </message>
<message id="#resultsHeadline"> <message id="#resultsHeadline">
<location filename="../qml/Widgets/ResultWidget.qml" line="136"/> <location filename="../qml/Widgets/ResultWidget.qml" line="130"/>
<source>(Results)</source> <source>(Results)</source>
<translation>(Ergebnisse)</translation> <translation>(Ergebnisse)</translation>
</message> </message>
<message id="#startlistHeadline"> <message id="#startlistHeadline">
<location filename="../qml/Widgets/StartlistWidget.qml" line="72"/> <location filename="../qml/Widgets/StartlistWidget.qml" line="65"/>
<source>(Startlist)</source> <source>(Startlist)</source>
<translation>(Startliste)</translation> <translation>(Startliste)</translation>
</message> </message>

Binary file not shown.

View file

@ -125,7 +125,8 @@
</message> </message>
<message id="#aboutBluerockDisclaimer"> <message id="#aboutBluerockDisclaimer">
<location filename="../qml/Pages/StartPage.qml" line="175"/> <location filename="../qml/Pages/StartPage.qml" line="175"/>
<source>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/dorian/blueROCK/&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</source> <source>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/blueROCK/app&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</source>
<oldsource>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/dorian/blueROCK/&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</oldsource>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#calendar"> <message id="#calendar">
@ -170,9 +171,9 @@
</message> </message>
<message id="#selectCategory"> <message id="#selectCategory">
<location filename="../qml/Widgets/CalendarWidget.qml" line="278"/> <location filename="../qml/Widgets/CalendarWidget.qml" line="278"/>
<location filename="../qml/Widgets/RegistrationWidget.qml" line="127"/> <location filename="../qml/Widgets/RegistrationWidget.qml" line="124"/>
<location filename="../qml/Widgets/ResultWidget.qml" line="169"/> <location filename="../qml/Widgets/ResultWidget.qml" line="159"/>
<location filename="../qml/Widgets/StartlistWidget.qml" line="98"/> <location filename="../qml/Widgets/StartlistWidget.qml" line="94"/>
<source>Select category</source> <source>Select category</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -212,17 +213,17 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#showResults"> <message id="#showResults">
<location filename="../qml/Widgets/RegistrationWidget.qml" line="129"/> <location filename="../qml/Widgets/RegistrationWidget.qml" line="126"/>
<source>Show results</source> <source>Show results</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#resultsHeadline"> <message id="#resultsHeadline">
<location filename="../qml/Widgets/ResultWidget.qml" line="136"/> <location filename="../qml/Widgets/ResultWidget.qml" line="130"/>
<source>(Results)</source> <source>(Results)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#startlistHeadline"> <message id="#startlistHeadline">
<location filename="../qml/Widgets/StartlistWidget.qml" line="72"/> <location filename="../qml/Widgets/StartlistWidget.qml" line="65"/>
<source>(Startlist)</source> <source>(Startlist)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>