mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
remove a translated sentence
This commit is contained in:
parent
890aedaa5d
commit
a64868904b
@ -69,7 +69,6 @@ def showdialog():
|
|||||||
b1.move(50, 50)
|
b1.move(50, 50)
|
||||||
d.setWindowTitle("Dialog")
|
d.setWindowTitle("Dialog")
|
||||||
# 这里的模态实现了在对话框弹出时阻塞程序同时屏蔽父窗口
|
# 这里的模态实现了在对话框弹出时阻塞程序同时屏蔽父窗口
|
||||||
# This modality tells the popup to block the parent whilst it's active
|
|
||||||
d.setWindowModality(Qt.ApplicationModal)
|
d.setWindowModality(Qt.ApplicationModal)
|
||||||
# 当按钮被点击时整个进程将会结束
|
# 当按钮被点击时整个进程将会结束
|
||||||
b1.clicked.connect(sys.exit)
|
b1.clicked.connect(sys.exit)
|
||||||
|
Loading…
Reference in New Issue
Block a user