From 891061acd46cbe01c1fee5247e30237b484928fc Mon Sep 17 00:00:00 2001 From: kdxcxs Date: Tue, 18 Feb 2020 11:39:31 +0800 Subject: Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 完善注释 Co-Authored-By: lsvih --- zh-cn/pyqt-cn.html.markdown | 4 ++-- 1 file 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 +``` -- cgit v1.2.3