mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-15 10:02:21 +08:00
删除SpkWindow::SetWindowStyle
This commit is contained in:
parent
6ddf44516a
commit
5b946bb91a
@ -244,19 +244,6 @@ void SpkWindow::SetCornerRadius(int radius)
|
||||
mCornerRadius = radius;
|
||||
}
|
||||
|
||||
void SpkWindow::SetWindowTheme(SpkWindow::SpkWindowStyle style)
|
||||
{
|
||||
switch(style)
|
||||
{
|
||||
case Light:
|
||||
SpkUi::SetGlobalStyle(SpkUi::SpkUiStyle::Light);
|
||||
break;
|
||||
case Dark:
|
||||
SpkUi::SetGlobalStyle(SpkUi::SpkUiStyle::Dark);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void SpkWindow::PopulateUi()
|
||||
{
|
||||
mCentralWidget = new QWidget(this);
|
||||
|
@ -41,7 +41,6 @@ class SpkWindow : public QMainWindow
|
||||
|
||||
public slots:
|
||||
void SetCornerRadius(int);
|
||||
void SetWindowTheme(SpkWindowStyle);
|
||||
void SetUseTitleBar(bool);
|
||||
void SetResizable(bool a) { mResizable = a; }
|
||||
void SetCentralMargin(int, int, int, int);
|
||||
|
Loading…
x
Reference in New Issue
Block a user