We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我照着micaEffect的设置卡写了一个类似的,配置边栏的亚克力效果的设置。 在打开边栏的情况下,更改可见性会报错。 但似乎是第一次会这样
Windows11 23H2
3.12.4
PySide6
1.7.0
在setting_interface.py下
setting_interface.py
self.navigation_acrylic_card = SwitchSettingCard( FIF.TRANSPARENT, self.tr("Navigation acrylic effect"), self.tr("Apply acrylic to the side navigation bar"), cfg.navAcrylicEnabled, self.personal_group ) self.personal_group.addSettingCard(self.navigation_acrylic_card) self.navigation_acrylic_card.checkedChanged.connect( signal_bus.navAcrylicEnableChanged)
在main_window.py下
main_window.py
signal_bus.navAcrylicEnableChanged.connect( self.navigationInterface.setAcrylicEnabled)
在config.py下
config.py
navAcrylicEnabled = ConfigItem("Personalization", "NavAcrylicEnabled", True, BoolValidator())
在signal_bus.py下
signal_bus.py
class SignalBus(QObject): """ Signal bus """ micaEnableChanged = Signal(bool) navAcrylicEnableChanged = Signal(bool)
其它的和gallery一样
步骤:
navigation_acrylic_card
QPixmap::scaled: Pixmap is a null pixmap
见上
The text was updated successfully, but these errors were encountered:
上面这个bug我手动加了一些判断,让侧边栏先关闭,再重新设置,已修复
Sorry, something went wrong.
但我发现了新bug,在打开侧边栏的情况下,点击设置卡的按钮是不会让侧边栏缩回的,所以可以在侧边栏打开的情况下修改主题,这个时候,虽然侧边栏颜色有变化,但明显颜色不对(打开了acrylic effect时),估计是和后面颜色混合的数据没有被更新?我猜的
同样地,也可以在打开状态下修改主题色,不过主题色修改似乎可以正常工作,边栏的主题色也会被修改
No branches or pull requests
What happened?
我照着micaEffect的设置卡写了一个类似的,配置边栏的亚克力效果的设置。
在打开边栏的情况下,更改可见性会报错。
但似乎是第一次会这样
Operation System
Windows11 23H2
Python Version
3.12.4
PyQt/PySide Version
PySide6
PyQt/PySide-Fluent-Widgets Version
1.7.0
How to Reproduce?
在
setting_interface.py
下在
main_window.py
下在
config.py
下在
signal_bus.py
下其它的和gallery一样
步骤:
navigation_acrylic_card
的按钮切换状态,*从关闭到打开QPixmap::scaled: Pixmap is a null pixmap
,亚克力效果变成透明效果Minimum code
见上
The text was updated successfully, but these errors were encountered: