- 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
- Files:
-
- 3 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 -
guiframe/panel_base.py
rb5ca223 r691643c 18 18 """ 19 19 ## Internal nickname for the window, used by the AUI manager 20 window_name = "default"20 #window_name = "default" 21 21 ## Name to appear on the window title bar 22 window_caption = "Welcome panel"22 #window_caption = "Welcome panel" 23 23 ## Flag to tell the AUI manager to put this panel in the center pane 24 CENTER_PANE = True24 #CENTER_PANE = True 25 25 26 26 def __init__(self):
Note: See TracChangeset
for help on using the changeset viewer.