Browse Source

完成12章翻译

完成12章翻译
cwc1987 10 years ago
parent
commit
e85a6e8591
4 changed files with 12 additions and 11 deletions
  1. 7 3
      README.md
  2. 1 0
      SUMMARY.md
  3. 1 8
      storage/local_storage_-_sql.md
  4. 3 0
      storage/other_storage_apis.md

+ 7 - 3
README.md

@@ -1,6 +1,6 @@
 # 《QmlBook》in Chinese
 
-中文版《QmlBook》,原作地址[QML Book](http://qmlbook.github.io/index.html)。
+中文版《QmlBook》,原作地址[QmlBook](http://qmlbook.github.io/index.html)。
 
 QML的中文资料一直比较少,希望大家能喜欢。
 
@@ -14,7 +14,7 @@ QML的中文资料一直比较少,希望大家能喜欢。
 
 # 当前阶段
 
-[QML Book](http://qmlbook.github.io/index.html)上发布的课程已完成了1-12章节,剩下的章节正在翻译中,敬请期待。
+[QmlBook](http://qmlbook.github.io/index.html)上发布的课程已完成了1-12章节,剩下的章节正在翻译中,敬请期待。
 
 本人渣英语,很多术语可能翻译不准确,如果有什么错误希望广大Qt爱好者谅解。
 
@@ -102,7 +102,7 @@ QML的中文资料一直比较少,希望大家能喜欢。
  * 捕捉图像(Capturing Images)
  * 高级用法(Advanced Techniques)
  * 总结(Summary)
-* 网络(etworking)
+* 网络(Networking)
  * 通过HTTP服务UI(Serving UI via HTTP)
  * 模板(Templating)
  * HTTP请求(HTTP Requests)
@@ -111,6 +111,10 @@ QML的中文资料一直比较少,希望大家能喜欢。
  * 云服务(Engine IO)
  * Web Sockets
  * 总结(Summary)
+* 存储(Stgorage)
+ * 配置(Settings)
+ * 本地存储-SQL(Local Storage - SQL)
+ * 其它存储接口(Other Storage APIs)
 * 其它(Other)
  * 协作校正
 

+ 1 - 0
SUMMARY.md

@@ -86,6 +86,7 @@
 * [存储(Storage)](storage/README.md)
    * [配置(Settings)](storage/settings.md)
    * [本地存储 - SQL(Local Storage - SQL)](storage/local_storage_-_sql.md)
+   * [其它存储接口(Other Storage APIs)](storage/other_storage_apis.md)
 * [其它(Other)](other/README.md)
    * [协作校正](other/collaboration_correction.md)
 

+ 1 - 8
storage/local_storage_-_sql.md

@@ -162,11 +162,4 @@ function storeData() {
 
 替代选择所有记录的设置,我们也可以使用SQLITE计数函数:SELECT COUNT(*) from data where name = "crazy",将返回使用行选择查询的结果。否则这将是一个通用的SQL代码。所谓额外的特性,我们在查询中使用?绑定SQL值。
 
-
-Instead of selecting the whole record set we could also use the SQLITE count function like this: SELECT COUNT(*) from data where name = "crazy" which would return use one row with the amount of rows affected by the select query. Otherwise this is common SQL code. As an additional feature, we use the SQL value binding using the ? in the query.
-
-Now you can drag the rectangle and when you quit the application the database stores the x/y position and applies it on the next application run.
-
-
-
-
+现在你可与拖动这个矩形框当你退出应用程序时会将x/y坐标值存储到数据库,下次启动应用程序时矩形框将使用存储的x/y坐标值定位。

+ 3 - 0
storage/other_storage_apis.md

@@ -0,0 +1,3 @@
+# 其它存储接口(Other Storage APIs)
+
+直接从QML中存储信息,上面的这些方法是主要存储方法。事实上QtQuick最有效的存储方法是使用C++扩展接口调用本地存储系统或者类似Qt云存储使用网络编程接口调用远程存储系统。