Changeset 9e426c1 in sasview for src/sas/qtgui/MainWindow.py


Ignore:
Timestamp:
Jun 21, 2016 8:07:33 AM (8 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
f82ab8c
Parents:
1042dba
Message:

More main window items, system close, update checker, doc viewer etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow.py

    rf721030 r9e426c1  
    2121        # Create the gui manager 
    2222        from GuiManager import GuiManager 
    23         guiManager = GuiManager(self, reactor, self) 
     23        self.guiManager = GuiManager(self, reactor, self) 
    2424 
     25    def closeEvent(self, event): 
     26        from twisted.internet import reactor 
     27        reactor.stop 
     28        event.accept() 
     29        sys.exit() 
    2530         
    2631def SplashScreen(): 
     
    6065    reactor.run() 
    6166 
    62     # TODO : in the VS debugger, the Qt loop doesn't seem to end - investigate 
Note: See TracChangeset for help on using the changeset viewer.