| The Following User Says Thank You to Markkyboy For This Useful Post: | ||
|
|
2020-09-08
, 11:32
|
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#132
|
| The Following User Says Thank You to coderus For This Useful Post: | ||
|
|
2020-09-08
, 12:42
|
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, España
|
#133
|
found this https://github.com/RSATom/Qt/blob/ma...GaugeStyle.qml
i think its easy to copy and implement as standalone item
| The Following User Says Thank You to Markkyboy For This Useful Post: | ||
|
|
2020-09-08
, 14:29
|
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#134
|
| The Following User Says Thank You to coderus For This Useful Post: | ||
|
|
2020-09-08
, 16:33
|
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, España
|
#135
|
Grab minimal code, then go to styles if you really need it. For bare minimal code inside CircularGaugeStyle is enough to be copied to standalone item
| The Following User Says Thank You to Markkyboy For This Useful Post: | ||
|
|
2020-09-08
, 17:25
|
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#136
|
| The Following User Says Thank You to coderus For This Useful Post: | ||
|
|
2020-09-08
, 17:28
|
|
|
Posts: 1,704 |
Thanked: 4,752 times |
Joined on Apr 2018
@ Helsinki, Finland.
|
#137
|
| The Following User Says Thank You to Maemish For This Useful Post: | ||
|
|
2020-09-08
, 17:34
|
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#138
|
Is this anyway related even though there is no ready answer?
https://talk.maemo.org/showthread.php?t=96839
| The Following User Says Thank You to coderus For This Useful Post: | ||
|
|
2020-09-08
, 19:22
|
|
|
Posts: 1,704 |
Thanked: 4,752 times |
Joined on Apr 2018
@ Helsinki, Finland.
|
#139
|
| The Following User Says Thank You to Maemish For This Useful Post: | ||
|
|
2020-09-09
, 20:27
|
|
Posts: 301 |
Thanked: 531 times |
Joined on Aug 2010
@ The Netherlands
|
#140
|
| The Following User Says Thank You to rob_kouw For This Useful Post: | ||
I cannot use QML CircularGauge for my purpose because 'Controls.Styles' is not available in SFOS.
Currently, I am using this method for placing my text/numbers in a circular fashion;
Rectangle { color: "#00000000"; width: 520; height: 520; radius: 260; anchors.centerIn: parent Repeater { id: tickmarks model: { [ ' ', '*', '*', ' ', '*', '*', ' ', '*', '*', ' ', '*', '*', ' ', '*', '*', ' ', '*', '*', ' ', '*', '*', ' ', '*', '*', ' ', '*', '*', ' ', '*', '*', ' ', '*', '*', ' ', '*', '*' ] } delegate: Rectangle { height: 260 anchors.horizontalCenter: parent.horizontalCenter transformOrigin: Rectangle.Bottom rotation: 360 / tickmarks.model.length * index Text { text: modelData color: Theme.secondaryHighlightColor font { bold: Font.Bold pixelSize: 28 } anchors.horizontalCenter: parent.horizontalCenter } } } }thanks,
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..