MCPcopy Create free account
hub / github.com/Gecode/gecode / main

Function main

gecode/gist/standalone-example/mygist.cpp:60–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58};
59
60int main(int argc, char** argv) {
61 QApplication app(argc,argv);
62 Gist::Print<TestSpace> p("My Gist");
63 Gist::Options o;
64 o.inspect.click(&p);
65
66 Gist::GistMainWindow gist_mw(new TestSpace(), false, o);
67 gist_mw.show();
68
69 QMainWindow mw;
70 Gist::Gist gist_widget(new TestSpace(), false, &mw, o);
71 mw.setCentralWidget(&gist_widget);
72 mw.resize(500,300);
73 mw.show();
74
75 return app.exec();
76}

Callers

nothing calls this directly

Calls 3

execMethod · 0.80
clickMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected