You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
855 B
28 lines
855 B
#define NOMINMAX
|
|
#include <QFile>
|
|
#include <QTextStream>
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include "darkstyle/DarkStyle.h"
|
|
#include "darkstyle/framelesswindow/framelesswindow.h"
|
|
#include "qvm_handlers.h"
|
|
#include "qvm_inspector.h"
|
|
#include "qvm_virtual_instructions.h"
|
|
#include "qvm_virtual_routines.h"
|
|
|
|
int WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd )
|
|
{
|
|
QApplication app( __argc, __argv );
|
|
QApplication::setStyle( new DarkStyle );
|
|
FramelessWindow FW;
|
|
|
|
auto g_main_window = new qvm_inspector;
|
|
qvm_virtual_instructions virt_instrs_panel( g_main_window );
|
|
qvm_handlers virt_handler_panel( g_main_window );
|
|
qvm_virtual_routines virt_routine_panel( g_main_window );
|
|
|
|
FW.setContent( g_main_window );
|
|
FW.setWindowIcon( QIcon( "icon.ico" ) );
|
|
FW.show();
|
|
return app.exec();
|
|
} |