Closed linyang-cq closed 1 year ago
from qfluentwidgets import (NavigationInterface, NavigationItemPostion, NavigationWidget, MessageBox, isDarkTheme, setTheme, Theme, setThemeColor) 上面NavigationItemPostion类的导入时,应该为NavigationItemPosition
你有 git pull 更新 examples 的代码吗?
或者说你安装的包版本太低了,试一下最新 v0.7.0
是example中的navigtion示例demo中的还没改过来
目前已修复此问题
from qfluentwidgets import (NavigationInterface, NavigationItemPostion, NavigationWidget, MessageBox, isDarkTheme, setTheme, Theme, setThemeColor) 上面NavigationItemPostion类的导入时,应该为NavigationItemPosition