Update 更新文档
This commit is contained in:
18
cleaned_source_code/QMainwindow/main.cpp
Normal file
18
cleaned_source_code/QMainwindow/main.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "QMainwindow.h"
|
||||
#include <QtWidgets/QApplication>
|
||||
#include "BZStruct.h"
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
a.setWindowIcon(QIcon(":/QMainwindow/main.ico"));
|
||||
QFile styleFile("D:\\Projects\\Trade\\QTradeProgram\\QMainwindow\\styles\\dark_theme.qss");
|
||||
if (styleFile.open(QIODevice::ReadOnly | QIODevice::Text))
|
||||
{
|
||||
}
|
||||
qRegisterMetaType<BigOrderInfo>("BigOrderInfo");
|
||||
qRegisterMetaType<BigOrderInfo>("BigOrderInfo&");
|
||||
QMainwindow w;
|
||||
w.setWindowIcon(QIcon(":/QMainwindow/main.ico"));
|
||||
w.show();
|
||||
return a.exec();
|
||||
}
|
||||
Reference in New Issue
Block a user