[英]Make a window appear on top of another, block access to other windows until button clicked
Python 2.7, PyQt4.8.5 Python 2.7,PyQt4.8.5
I want to have a main app window and then a second pop up window to display com port settings. 我想要一个主应用程序窗口,然后是第二个弹出窗口来显示com端口设置。 This window should always be on top of the parent window until either the ok or the cancel button is clicked;
此窗口应始终位于父窗口的顶部,直到单击确定或取消按钮为止; closing the child window.
关闭子窗口。 (sort of like a required answer ie cant process until you choose the settings from the child window)
(有点像必需的答案,即在您从子窗口中选择设置之前无法处理)
Is there a Python Qt command to do this? 有Python Qt命令可以执行此操作吗?
Apologies if this has been asked/answered before, my search returned nothing useful. 如果之前有人问过/回答道歉,我的搜索没有任何用处。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.