Changeset f53444be in sasview for theoryview/perspectives/theory


Ignore:
Timestamp:
Jan 21, 2011 12:53:19 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:
b5181f6
Parents:
f444b20
Message:

remove reference of guicomm

Location:
theoryview/perspectives/theory
Files:
6 edited

Legend:

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

    r9299455 rf53444be  
    1111from sans.guiframe.utils import format_number 
    1212from sans.guiframe.utils import check_float 
    13 from sans.guicomm.events import StatusEvent 
     13from sans.guiframe.events import StatusEvent 
    1414import pagestate 
    1515from pagestate import PageState 
  • theoryview/perspectives/theory/model_panel.py

    rfc292d3 rf53444be  
    88from sans.models.dispersion_models import ArrayDispersion 
    99from sans.models.dispersion_models import GaussianDispersion 
    10 from sans.guicomm.events import StatusEvent    
     10from sans.guiframe.events import StatusEvent    
    1111from sans.guiframe.utils import format_number 
    1212import basepage 
  • theoryview/perspectives/theory/model_thread.py

    r74755ff rf53444be  
     1 
    12import time 
     3import sys 
     4import numpy 
     5import math 
    26from data_util.calcthread import CalcThread 
    3 import sys 
    4 import numpy,math 
    57 
    68class Calc2D(CalcThread): 
  • theoryview/perspectives/theory/models.py

    r1cc23fd rf53444be  
    55 
    66""" 
     7 
     8import imp 
     9import os 
     10import sys 
     11import math 
     12# Time is needed by the log method 
     13import time 
     14import os.path 
    715import wx 
    816import wx.lib.newevent 
    9 import imp 
    10 import os,sys,math 
    11 import os.path 
    12  
    13 (ModelEvent, EVT_MODEL) = wx.lib.newevent.NewEvent() 
    14 from sans.guicomm.events import StatusEvent   
    15 # Time is needed by the log method 
    16 import time 
    17  
     17from sans.guiframe.events import StatusEvent   
    1818# Explicitly import from the pluginmodel module so that py2exe 
    1919# places it in the distribution. The Model1DPlugin class is used 
    2020# as the base class of plug-in models. 
    2121from sans.models.pluginmodel import Model1DPlugin 
    22      
     22 
     23(ModelEvent, EVT_MODEL) = wx.lib.newevent.NewEvent() 
     24 
     25 
    2326def log(message): 
    2427    """ 
  • theoryview/perspectives/theory/profile_dialog.py

    rfb59ed9 rf53444be  
     1 
     2 
     3 
    14import wx 
    25import sys 
    3  
     6import pylab 
    47from copy import deepcopy 
    58from danse.common.plottools.PlotPanel import PlotPanel 
    69from danse.common.plottools.plottables import Graph 
    710from sans.guiframe.dataFitting import Theory1D 
    8 import pylab 
    911 
    10 DEFAULT_CMAP= pylab.cm.jet 
     12 
     13DEFAULT_CMAP = pylab.cm.jet 
    1114 
    1215_BOX_WIDTH = 76 
     
    1518 
    1619#SLD panel size  
    17 if sys.platform.count("win32")>0: 
     20if sys.platform.count("win32") > 0: 
    1821    _STATICBOX_WIDTH = 380 
    1922    PANEL_SIZE = 475 
  • theoryview/perspectives/theory/theory.py

    r2f60121 rf53444be  
    99import model_panel 
    1010from model_panel import ModelPanel 
    11 from sans.guicomm.events import NewPlotEvent 
    12 from sans.guicomm.events import StatusEvent  
     11from sans.guiframe.events import NewPlotEvent 
     12from sans.guiframe.events import StatusEvent  
    1313from sans.guiframe.dataFitting import Data2D 
    1414from sans.guiframe.dataFitting import Theory1D 
Note: See TracChangeset for help on using the changeset viewer.