Apply suggestions from code review

完善注释

Co-Authored-By: lsvih <lsvih@qq.com>
This commit is contained in:
kdxcxs 2020-02-18 11:39:31 +08:00 committed by GitHub
parent fb626bb078
commit 891061acd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
```
```