Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

What is analog of setWindowFlags in PyQt6?

While trying to migrate pyqt5 code to pyqt6, i have occured a problem with setWindowFlags:
self.setWindowFlags(Qt.WindowStaysOnTopHint) returns an error:
AttributeError: type object ‘Qt’ has no attribute ‘WindowStaysOnTopHint’. So wat is the similar in PyQt6?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

QtCore.Qt.WindowType.WindowStaysOnTopHint

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading