pyQt6窗口系统属性枚举方法

WindowType

例子:

self.setWindowFlags(Qt.WindowType.FramelessWindowHint) #产生一个无边框窗口。

WindowType
This enum type is used to specify various window-system properties for the widget. They are fairly unusual but necessary in a few cases. Some of these flags depend on whether the underlying window manager supports them.

https://www.riverbankcomputing.com/static/Docs/PyQt6/api/qtcore/qt.html