Changeset 946d1b1 in sasview for theoryview/perspectives


Ignore:
Timestamp:
Feb 4, 2011 4:26:23 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
68d48fa
Parents:
73b3ae2
Message:

make model panel inheriting from panelbase

Location:
theoryview/perspectives/theory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • theoryview/perspectives/theory/model_panel.py

    rf53444be r946d1b1  
    3535    def __init__(self, parent, page_info, model_list_box): 
    3636        BasicPage.__init__(self, parent, page_info, model_list_box) 
    37         PanelBase.__init__(self) 
     37        PanelBase.__init__(self, parent) 
    3838        """  
    3939        Initialization of the Panel 
  • theoryview/perspectives/theory/theory.py

    rf53444be r946d1b1  
    5555        self.calc_1D = None 
    5656    
     57    def use_data(self): 
     58        """ 
     59        return True if these plugin use data 
     60        """ 
     61        return False 
     62     
    5763    def get_panels(self, parent): 
    5864        """ 
Note: See TracChangeset for help on using the changeset viewer.