Solved Make Moving Numbers (Like old gas counters)
-
Hi there,
How to Make Moving Numbers (Like old gas counters)?
Actually, I mean sliding numbers!
A thing like attached image.
Thanks in advance.
-
Hi @Jamshid
and welcome,you may want to check out the tumbler component of QuickControls(2)
https://doc-snapshots.qt.io/qt5-5.12/qml-qtquick-controls2-tumbler.htmlhowever, if you want to represent partial whole numbers via the slide in state, you'll probably have to do it by hand
-
Hi @Jamshid
and welcome,you may want to check out the tumbler component of QuickControls(2)
https://doc-snapshots.qt.io/qt5-5.12/qml-qtquick-controls2-tumbler.htmlhowever, if you want to represent partial whole numbers via the slide in state, you'll probably have to do it by hand
-
Thanks @J-Hilk
It's almost what I want, can I get the implementation idea behind of it and customize it for my app?
sorry, I'm new to Qt and in learning process. -
@Jamshid
sure,
the documentation has a section about customizing QML components and the tumbler is one of them:https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-tumbler
sorry, I'm new to Qt and in learning process
nothing to be sorry about. Everyone starts at the same place 😉
-
@J-Hilk
Thanks for your kind help, I will try to do it and hope get succeeded.