00001 #include "Iguana/Studio/interface/IgQtAppExtensions.h" 00002 #include "Iguana/Studio/interface/IgQtAppWindowService.h" 00003 #include "Iguana/Studio/interface/IgQtAppLoopService.h" 00004 #include "Iguana/Studio/interface/IgQtAppMenuService.h" 00005 #include "Iguana/Studio/interface/IgQtAppToolBarService.h" 00006 #include "Iguana/Studio/interface/IgQtAppStatusBarService.h" 00007 #include "Iguana/Studio/interface/IgQtAppContextService.h" 00008 #include "Iguana/Studio/interface/IgQtAppDebugService.h" 00009 #include "Iguana/Studio/interface/IgQtAppHelpService.h" 00010 #include "Iguana/Studio/interface/IgQtAppCrashAlertService.h" 00011 00012 // Install common Qt main window services: 00013 // - main loop service 00014 // - main menu service 00015 // - tool bar service 00016 // - status bar service 00017 // - current user attention context 00018 // - debugging menu (debugging builds only) 00019 // - help menu 00020 // - crash alert service (<-- Rob's great name invention!) 00021 00022 void 00023 IgQtAppExtensions::install (IgState *state, QWidget *mainWindow) 00024 { 00025 new IgQtAppWindowService (state, mainWindow); 00026 new IgQtAppLoopService (state); 00027 new IgQtAppMenuService (state, mainWindow); 00028 new IgQtAppToolBarService (state, mainWindow); 00029 new IgQtAppStatusBarService (state, mainWindow); 00030 new IgQtAppContextService (state, mainWindow); 00031 new IgQtAppDebugService (state, mainWindow); 00032 new IgQtAppHelpService (state, mainWindow); 00033 new IgQtAppCrashAlertService (state, mainWindow); 00034 }