Changeset 691643c in sasview for guiframe/local_perspectives
- Timestamp:
- Jan 10, 2011 1:58:01 PM (14 years ago)
- 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:
- e696e0a
- Parents:
- 7f84e22
- Location:
- guiframe/local_perspectives/plotting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter1D.py
r32c0841 r691643c 32 32 from sans.guiframe.dataFitting import Data1D 33 33 from sans.guiframe.dataFitting import Theory1D 34 from sans.guiframe.panel_base import PanelBase 34 35 from binder import BindArtist 35 36 … … 40 41 41 42 42 class ModelPanel1D(PlotPanel ):43 class ModelPanel1D(PlotPanel, PanelBase): 43 44 """ 44 45 Plot panel for use with the GUI manager … … 57 58 def __init__(self, parent, id=-1, color = None, 58 59 dpi=None, style=wx.NO_FULL_REPAINT_ON_RESIZE, **kwargs): 59 """60 Initialize the panel61 """62 60 PlotPanel.__init__(self, parent, id=id, style=style, **kwargs) 61 PanelBase.__init__(self) 63 62 ## Reference to the parent window 64 63 self.parent = parent -
guiframe/local_perspectives/plotting/slicerpanel.py
r32c0841 r691643c 9 9 from sans.guicomm.events import EVT_SLICER 10 10 11 from sans.guiframe.panel_base import PanelBase 11 12 12 class SlicerPanel(wx.Panel ):13 class SlicerPanel(wx.Panel, PanelBase): 13 14 """ 14 15 Panel class to show the slicer parameters … … 25 26 params=None, *args, **kwargs): 26 27 wx.Panel.__init__(self, parent, id, *args, **kwargs) 28 PanelBase.__init__(self) 27 29 ## Initialization of the class 28 30 self.base = base
Note: See TracChangeset
for help on using the changeset viewer.