24 lines
680 B
C++
24 lines
680 B
C++
#include <QApplication>
|
|
|
|
#include "core/his_core.h"
|
|
#include "mainwindow.h"
|
|
#include "template/style_manager.h"
|
|
|
|
int main(int argc, char* argv[]) {
|
|
QApplication app(argc, argv);
|
|
|
|
// 应用精致医疗主题样式 (推荐)
|
|
HisStyleManager::applyTheme(HisStyleManager::ThemeType::PremiumDark);
|
|
// 其他可用主题:
|
|
//HisStyleManager::applyTheme(HisStyleManager::ThemeType::MedicalBlue);
|
|
// HisStyleManager::applyTheme(HisStyleManager::ThemeType::PremiumDark);
|
|
// HisStyleManager::applyThemeFromFile("premium_theme.qss"); // 从QSS文件加载
|
|
|
|
core::HisCore core;
|
|
|
|
MainWindow mainWindow(core);
|
|
mainWindow.show();
|
|
|
|
return app.exec();
|
|
}
|