更新代码

master
feiyangqingyun 2021-10-21 15:45:34 +08:00
parent 7e6fcf3274
commit 0b01d18c0c
1 changed files with 2 additions and 0 deletions

View File

@ -50,7 +50,9 @@ public:
QSize minimumSizeHint() const; QSize minimumSizeHint() const;
public Q_SLOTS: public Q_SLOTS:
//设置是否选中
void setChecked(bool isChecked); void setChecked(bool isChecked);
//设置按钮样式
void setButtonStyle(const ImageSwitch::ButtonStyle &buttonStyle); void setButtonStyle(const ImageSwitch::ButtonStyle &buttonStyle);
}; };