zhiyiYo / PyQt-Fluent-Widgets

A fluent design widgets library based on C++ Qt/PyQt/PySide. Make Qt Great Again.
https://qfluentwidgets.com
GNU General Public License v3.0
5.65k stars 544 forks source link

关于FluentWindow的QEvent事件问题 #566

Closed gcc2001 closed 1 year ago

gcc2001 commented 1 year ago

经过测试发现FramelessWindow有closeEvent()方法,但是FluentWindow却没有closeEvent()方法,有没有什么方法可以自己写一个closeEvent()方法,尝试看源码没有弄清楚该如何重写,谢谢!

zhiyiYo commented 1 year ago

继承 FluentWindow 之后重写 closeEvent