G:\Git\PyQt-Fluent-Widgets>cd examples\gallery
G:\Git\PyQt-Fluent-Widgets\examples\gallery>dir
驱动器 G 中的卷是 办公
卷的序列号是 1435-8A86
G:\Git\PyQt-Fluent-Widgets\examples\gallery 的目录
2023/11/04 13:12 <DIR> .
2023/11/04 13:12 <DIR> ..
2023/11/04 13:12 <DIR> app
2023/11/04 13:12 1,150 demo.py
2023/11/04 13:12 752 gallery.pro
2 个文件 1,902 字节
3 个目录 12,774,277,120 可用字节
G:\Git\PyQt-Fluent-Widgets\examples\gallery>python
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> ^Z
G:\Git\PyQt-Fluent-Widgets\examples\gallery>python demo.py
Traceback (most recent call last):
File "G:\Git\PyQt-Fluent-Widgets\examples\gallery\app\view\main_window.py", line 130, in resizeEvent
self.splashScreen.resize(self.size())
AttributeError: 'MainWindow' object has no attribute 'splashScreen'
一步到位
报错:属性错误:“MainWindow”对象没有属性“splashScreen” (AttributeError: 'MainWindow' object has no attribute 'splashScreen')
Traceback (most recent call last):
File "G:\Git\PyQt-Fluent-Widgets\examples\gallery\app\view\main_window.py", line 130, in resizeEvent
self.splashScreen.resize(self.size())
AttributeError: 'MainWindow' object has no attribute 'splashScreen'
报错信息
Ver
Python: 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32 PyQt-Fluent-Widgets: 1.3.5 PyQt5: 5.15.10
执行:
1.更新
结果:
2.Clone
结果:
3.验证
4.Fluent,启动!
一步到位
报错:
属性错误:“MainWindow”对象没有属性“splashScreen” (AttributeError: 'MainWindow' object has no attribute 'splashScreen')
About
主要是代码只能看懂自己写的,否则也不用问了 :(