实现识别图片上传。

This commit is contained in:
luocai
2024-07-31 16:08:38 +08:00
parent 5c2440c32c
commit 5009528f3a
5 changed files with 132 additions and 50 deletions

View File

@ -87,6 +87,12 @@ ColumnLayout {
checked: App.persistenceMode
onToggled: App.persistenceMode = !App.persistenceMode
}
Text {
text: qsTr("保存图片")
}
Switch {
id: extendedVerifyMode
}
Text {
text: qsTr("识别间隔(s)")
}
@ -104,7 +110,8 @@ ColumnLayout {
} else {
App.persistenceVerifyInterval = parseInt(
verifyIntetval.text)
App.verify(parseInt(verifyTimeout.text))
App.verify(extendedVerifyMode.checked,
parseInt(verifyTimeout.text))
}
}
}
@ -153,6 +160,15 @@ ColumnLayout {
text: "ID查询"
onClicked: App.module.requestUniqueId()
}
Row {
Text {
text: qsTr("日志")
}
Switch {
id: debugMode
onToggled: App.module.setDebugEnabled(debugMode.checked)
}
}
}
}
}