MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / main

Function main

ASAP/worklist_interface/ASAP_browser.cpp:9–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7using namespace ASAP;
8
9int main(int argc, char *argv[])
10{
11 QApplication a(argc, argv);
12
13 // Creates the composite window, that'll hold all other required tabs
14 CompositeWindow main_window;
15 main_window.show();
16
17 // Creates the worklist and viewer tabs
18 WorklistWindow worklist;
19 ASAP_Window workstation;
20
21 // Adds the tabs to the composite window and then connects the viewer to the worklist
22 main_window.addTab(&worklist, "Worklist");
23 int viewer_tab = main_window.addTab(&workstation, "Viewer");
24 worklist.attachWorkstation(workstation, viewer_tab);
25
26 return a.exec();
27}

Callers

nothing calls this directly

Calls 2

addTabMethod · 0.80
attachWorkstationMethod · 0.80

Tested by

no test coverage detected