diff options
author | kdxcxs <cx@kdxcxs.com> | 2020-02-18 11:39:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-18 11:39:31 +0800 |
commit | 891061acd46cbe01c1fee5247e30237b484928fc (patch) | |
tree | 045dd9a9fa28c07b78eb9e96d28134e6cc918e45 | |
parent | fb626bb078c8b42871af61f2bd7c8189d95847dd (diff) |
Apply suggestions from code review
完善注释
Co-Authored-By: lsvih <lsvih@qq.com>
-rw-r--r-- | zh-cn/pyqt-cn.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zh-cn/pyqt-cn.html.markdown b/zh-cn/pyqt-cn.html.markdown index 234c7a29..c05d43d8 100644 --- a/zh-cn/pyqt-cn.html.markdown +++ b/zh-cn/pyqt-cn.html.markdown @@ -27,7 +27,7 @@ def window(): b = QtGui.QLabel(w) # 设置 labe l的文字 b.setText("Hello World!") - # 设置尺寸和位置 + # 设置 widget 的尺寸和位置 w.setGeometry(100, 100, 200, 50) b.move(50, 20) # 设置窗口的标题 @@ -75,4 +75,4 @@ def showdialog(): d.exec_() if __name__ == '__main__': window() -```
\ No newline at end of file +``` |