diff options
Diffstat (limited to 'zh-cn/pyqt-cn.html.markdown')
-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 +``` |