This commit is contained in:
pimin 2026-03-21 17:11:51 +08:00
parent 81cf0e828b
commit f7c0d0a844
3 changed files with 4 additions and 4 deletions

View File

@ -77,8 +77,8 @@ void RecourceHelper::ChangeSkin(const QString& skin) {
if (file.open(QFile::ReadOnly | QFile::Text)) { if (file.open(QFile::ReadOnly | QFile::Text)) {
QTextStream stream(&file); QTextStream stream(&file);
QString qss = stream.readAll(); QString qss = stream.readAll();
qss += "\nDialogTitleBar{border-top-left-radius:10px;border-top-right-radius:10px;}\n"; //qss += "\nDialogTitleBar{border-top-left-radius:10px;border-top-right-radius:10px;}\n";
qss += "QWidget#DialogContainer{border-radius:10px;background: palette(window);}\n"; //qss += "QWidget#DialogContainer{border-radius:10px;background: palette(window);}\n";
qApp->setStyleSheet(qss); qApp->setStyleSheet(qss);
file.close(); file.close();
} }

View File

@ -9,7 +9,7 @@
#include "entities/Entity.h" #include "entities/Entity.h"
#include "common/SpdLogger.h" #include "common/SpdLogger.h"
#include "scutcheon/osgScutcheon.h" //#include "scutcheon/osgScutcheon.h"
LabelComponent::LabelComponent(SceneComponent* parent) LabelComponent::LabelComponent(SceneComponent* parent)
: SceneComponent(parent) : SceneComponent(parent)

View File

@ -23,7 +23,7 @@
#include "scene/OEScene.h" #include "scene/OEScene.h"
#include "workspace/WorkSpaceManager.h" #include "workspace/WorkSpaceManager.h"
#include "workspace/WorkSpace.h" #include "workspace/WorkSpace.h"
#include "scutcheon/osgScutcheon.h" //#include "scutcheon/osgScutcheon.h"
#include "workspace/PresetModelConfigParser.h" #include "workspace/PresetModelConfigParser.h"
#include "entities/EntitiesManager.h" #include "entities/EntitiesManager.h"