Changeset 6a0cbcf4 in sasview


Ignore:
Timestamp:
Jan 10, 2011 2:09:08 PM (13 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:
340c2b3
Parents:
e696e0a
Message:

make panel inheriting from PanelBase?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • invariantview/perspectives/invariant/invariant_panel.py

    r4a2b054 r6a0cbcf4  
    1818from invariant_widgets import InvTextCtrl 
    1919from invariant_state import InvariantState as IState 
    20  
     20from sans.guiframe.panel_base import PanelBase 
    2121# The minimum q-value to be used when extrapolating 
    2222Q_MINIMUM  = 1e-5 
     
    5151 
    5252 
    53 class InvariantPanel(ScrolledPanel): 
     53class InvariantPanel(ScrolledPanel, PanelBase): 
    5454    """ 
    5555    Provides the Invariant GUI. 
     
    6565        kwds["style"] = wx.FULL_REPAINT_ON_RESIZE 
    6666        ScrolledPanel.__init__(self, parent=parent, *args, **kwds) 
     67        PanelBase.__init__(self) 
    6768        self.SetupScrolling() 
    6869        #Font size  
Note: See TracChangeset for help on using the changeset viewer.