fur*_*ous 5 python pyqt6
在尝试将 pyqt5 代码迁移到 pyqt6 时,我遇到了 setWindowFlags: self.setWindowFlags(Qt.WindowStaysOnTopHint)returns an error: AttributeError: type object 'Qt' has no attribute 'WindowStaysOnTopHint' 的问题。那么 PyQt6 中有哪些相似之处呢?
self.setWindowFlags(Qt.WindowStaysOnTopHint)
小智 10
QtCore.Qt.WindowType.WindowStaysOnTopHint
归档时间:
4 年,1 月 前
查看次数:
2743 次
最近记录: