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?
Asked
Active
Viewed 1,941 times
3

fur1ous
- 59
- 6
-
1Does this answer your question? [How to check MouseButtonPress event in PyQt6?](https://stackoverflow.com/questions/66235661/how-to-check-mousebuttonpress-event-in-pyqt6) – musicamante Nov 20 '21 at 11:43