新建一个TirePressureIndicator.qml来显示胎压的数值
显示效果如下:
qmlscene 2023-08-22 15-45-54
具体代码如下:
import QtQuick 2.15
import QtQuick3D 1.15
import Quick3DAssets.TirePressurePole 1.0
import Quick3DAssets.TirePressureLabel 1.0
Node{
id:rootNode
property real labelAngle:0
Model{
id:pre