From d2fdd086043222e7ee2871be94fd317f101baf10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Wed, 24 Apr 2024 17:24:31 +0800 Subject: [PATCH] update --- example/example_en_US.ts | 24 ++++++++++++------------ example/example_zh_CN.ts | 24 ++++++++++++------------ example/qml/page/T_TableView.qml | 5 +++-- 3 files changed, 27 insertions(+), 26 deletions(-) diff --git a/example/example_en_US.ts b/example/example_en_US.ts index 23ed22bf..1bdac57a 100644 --- a/example/example_en_US.ts +++ b/example/example_en_US.ts @@ -1968,7 +1968,7 @@ Some contents... - + Name @@ -1988,57 +1988,57 @@ Some contents... - + Age - + Clear All - + Avatar - + Address - + Nickname - + Long String - + Options - + <Previous - + Next> - + Delete Selection - + Add a row of Data diff --git a/example/example_zh_CN.ts b/example/example_zh_CN.ts index 6117c99f..4ba2c182 100644 --- a/example/example_zh_CN.ts +++ b/example/example_zh_CN.ts @@ -2110,7 +2110,7 @@ Some contents... - + Name 名称 @@ -2130,57 +2130,57 @@ Some contents... 全选 - + Age 年龄 - + Clear All 清除所有 - + Avatar 头像 - + Address 地址 - + Nickname 昵称 - + Long String 长字符串 - + Options 操作 - + <Previous <上一页 - + Next> 下一页> - + Delete Selection 删除选中 - + Add a row of Data 添加一行数据 diff --git a/example/qml/page/T_TableView.qml b/example/qml/page/T_TableView.qml index fca26434..27059281 100644 --- a/example/qml/page/T_TableView.qml +++ b/example/qml/page/T_TableView.qml @@ -283,6 +283,7 @@ FluContentPage{ Component{ id:com_auto_suggestbox FluAutoSuggestBox { + id: textbox anchors.fill: parent focus: true Component.onCompleted: { @@ -291,10 +292,10 @@ FluContentPage{ return {title: item}; }); items = result - text= String(display) + textbox.text= String(display) } onCommit: { - editTextChaged(text) + editTextChaged(textbox.text) tableView.closeEditor() } }