HX_CoalFlowDetect/main.cpp

20 lines
396 B
C++
Raw Normal View History

2024-10-31 17:47:16 +08:00
#include "mainwindow.h"
#include <QApplication>
2024-11-01 17:40:37 +08:00
#include <QFile>
2024-10-31 17:47:16 +08:00
int main(int argc, char* argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.showMaximized();
2024-11-01 17:40:37 +08:00
QFile file(":/component/ZDateEdit/qss/zDateTimeEdit.qss");
if (file.open(QFile::ReadOnly)) {
QString qss = file.readAll();
a.setStyleSheet(qss);
file.close();
}
2024-10-31 17:47:16 +08:00
return a.exec();
}