1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-01-17 21:49:22 +01:00

Apply suggestions from code review

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

View File

@ -25,7 +25,7 @@ def window():
w = QtGui.QWidget()
# 在 widget 中添加一个 label 子控件
b = QtGui.QLabel(w)
# 设置 labe l的文字
# 设置 label 的文字
b.setText("Hello World!")
# 设置 widget 的尺寸和位置
w.setGeometry(100, 100, 200, 50)