| 7 | using namespace ASAP; |
| 8 | |
| 9 | int 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 | } |
nothing calls this directly
no test coverage detected