实现获取版本号显示。
This commit is contained in:
@ -10,6 +10,16 @@ Item {
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
ConnectionItem {}
|
||||
Column {
|
||||
Text{
|
||||
width: 50
|
||||
text: "烧录版本: "+ (App.module!==null? App.module.verison:"")
|
||||
}
|
||||
Text{
|
||||
width: 50
|
||||
text: "OTA版本: "+(App.module!==null?App.module.otaVerison:"")
|
||||
}
|
||||
}
|
||||
|
||||
GroupBox {
|
||||
id: commandBox
|
||||
|
@ -5,7 +5,7 @@ import Analyser
|
||||
|
||||
Window {
|
||||
width: 1120
|
||||
height: 700
|
||||
height: 770
|
||||
visible: true
|
||||
title: qsTr(Qt.application.name + " " + Qt.application.version)
|
||||
|
||||
|
Reference in New Issue
Block a user