Skip to content Skip to sidebar Skip to footer

Make A Window Appear On Top Of Another, Block Access To Other Windows Until Button Clicked

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. This window should always be on top of the parent window until

Solution 1:

You want a modal dialog. For example:

dialog = QInputDialog()
dialog.exec_()

You can either implement your own dialog widget (by subclassing QDialog) or use one of the several available.

Post a Comment for "Make A Window Appear On Top Of Another, Block Access To Other Windows Until Button Clicked"