18 lines
567 B
C++
18 lines
567 B
C++
#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();
|
|
} |