Ignore:
Timestamp:
Feb 16, 2017 6:06:17 AM (8 years ago)
Author:
Piotr Rozyczko <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:
2bb20a5, fca1f50
Parents:
4c7dd9f
Message:

Perspectives are now switchable and can be added "dynamically"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py

    rb789967 r83d6249  
    3939    # The controller which is responsible for managing signal slots connections 
    4040    # for the gui and providing an interface to the data model. 
     41    name = "Invariant" # For displaying in the combo box 
    4142    def __init__(self, manager=None, parent=None): 
    4243        super(InvariantWindow, self).__init__(parent) 
     
    102103        self.setupMapper() 
    103104 
    104     def closeEvent(self, event): 
    105         """ 
    106         Overwrite the default close method of QWidget 
    107         """ 
    108         # No close on perspectives - one must always be active. 
    109         event.ignore() 
     105    #def closeEvent(self, event): 
     106    #    """ 
     107    #    Overwrite the default close method of QWidget 
     108    #    """ 
     109    #    # No close on perspectives - one must always be active. 
     110    #    event.ignore() 
    110111 
    111112    def communicator(self): 
Note: See TracChangeset for help on using the changeset viewer.