同步 去掉对外接口的ukui_

This commit is contained in:
tanjing 2023-11-03 09:46:49 +08:00
parent 3c843adefb
commit dfd7a0863f
1 changed files with 17 additions and 16 deletions

View File

@ -897,6 +897,7 @@ void UKUIConfigStyleParameters::initConfigPushButtonBevelParameters(bool isDark,
checkDisableBrush = option->palette.brush(QPalette::Disabled, QPalette::NoRole);
auto *w = const_cast<QWidget *>(widget);
if (w) {
w->setProperty("radius", radius);
w->setProperty("defaultBrush", defaultBrush);
@ -1332,7 +1333,7 @@ void UKUIConfigStyleParameters::initConfigToolButtonPanelParameters(bool isDark,
w->setProperty("disableBrush", disableBrush);
w->setProperty("checkBrush", checkBrush);
w->setProperty("checkHoverBrush", checkHoverBrush);
w->setProperty("_checkClickBrush", checkClickBrush);
w->setProperty("checkClickBrush", checkClickBrush);
w->setProperty("checkDisableBrush", checkDisableBrush);
w->setProperty("defaultPen", defaultPen);
w->setProperty("clickPen", clickPen);