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?
QtCore.Qt.WindowType.WindowStaysOnTopHint
What is analog of setWindowFlags in PyQt6?