Is there a way to create a round meter with data received via serial communication ?
-
i make a project that serial-communicating qt with arm board using qt creator.
if i adjusting the gauge of the device , i can see change the value of project in ui.
but i want change of value in round- meter .
I looked for something like this.
https://doc.qt.io/qt-5/qml-qtquick-extras-circulargauge.html
But this requires qml or qmake.
Is there any way to create it using qt creator without installing it separately -
@segtteee said in Is there a way to create a round meter with data received via serial communication ?:
Is there any way to create a qt creator without installing it separately?
What does this mean?
-
Well, you can recreate "CircularGauge QML Type" yourself, sure.
If you want to use the actual "CircularGauge QML Type" it says right there:
import QtQuick.Extras 1.4
This uses QtQuick.Extras.
Controls v2 https://doc.qt.io/qt-5/qtquickcontrols2-differences.html does not seem to have an counterpart or alternative. -
@segtteee Did you check QDial? http://doc.qt.io/qt-5.9/qdial.html
-
@segtteee Well, now you need to start to read documentation: http://doc.qt.io/qt-5.9/qdial-members.html
This one is what you need: http://doc.qt.io/qt-5.9/qabstractslider.html#value-prop -
And, for non widgets...
https://doc.qt.io/qt-5/qml-qtquick-controls2-dial.html
Or for older style QtQuick.Extras
https://doc.qt.io/qt-5/qml-qtquick-extras-dial.html