Unsolved Is there a way to create a round meter with data received via serial communication ?
-
@jsulm
I want to make what is on the link above.. -
Perhaps QWidget based gauge is what he wants.
-
@segtteee Did you check QDial? http://doc.qt.io/qt-5.9/qdial.html
-
@jsulm
How can I see this in ui? Just add it to the code? -
@segtteee Depends on how you create your UI: either via code or in the Qt Designer. How are you doing your UI?
-
@jsulm
I made project in qt creator, using design tab . I made it with the items there.
not using qt designer. -
@segtteee What do you mean by "design tab"? The Qt Designer is integrated in QtCreator - so I guess you're using it. Then see under "Input Widgets".
-
@jsulm
I made this on my ui. But what if i want to change the value? (From the device) like if device value change → dial value change -
@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 -
@6thC He is explicitly asking for non QML/QtQuick solution...