#include #include #include #include #include #include #include "Console.h" #include "Interpreter.h" Console* console; void SetupWindow( int argc, char *argv[] ) { QMainWindow* window = new QMainWindow; window->resize( 800, 600 ); QWidget* centralWidget = new QWidget(window); QGridLayout* layout = new QGridLayout(centralWidget); console = new Console; layout->addWidget(console, 0, 0, 1, 1); window->setCentralWidget(centralWidget); window->show( ); } int main( int argc, char *argv[] ) { QApplication app( argc, argv ); Interpreter::Initialize( ); SetupWindow( argc, argv ); bool res = app.exec( ); delete console; Interpreter::Finalize( ); return res; } e='hidden' name='id' value='36b5b63ef90d7311c483e6adcbf22adf3e31174c'/> [no description]
aboutsummaryrefslogtreecommitdiffstats
blob: 4418e90dc9361d36a3f681d04c97cbb3f83726e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13