Ignore:
Timestamp:
Jul 7, 2016 4:54:18 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:
0cd8612
Parents:
f0f309d
Message:

Status bar, progress bar, initial treeview context menu + minor cleanup

File:
1 edited

Legend:

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

    r1042dba re540cd2  
    4343        super(InvariantWindow, self).__init__(parent) 
    4444        self.setWindowTitle("Invariant Perspective") 
     45 
    4546        # initial input params 
    4647        self._background = 0.0 
     
    9596        self.setupMapper() 
    9697 
     98    def closeEvent(self, event): 
     99        """ 
     100        Overwrite the default close method of QWidget 
     101        """ 
     102        # No close on perspectives - one must always be active. 
     103        event.ignore() 
     104 
    97105    def communicator(self): 
    98         """ 
    99         """ 
     106        """ Getter for the communicator """ 
    100107        return self.communicate 
    101108 
Note: See TracChangeset for help on using the changeset viewer.