Ignore:
Timestamp:
May 4, 2010 12:51:49 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:
85e665e
Parents:
90b23e1
Message:

working on data editor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/perspectives/calculator/detector_editor.py

    r91f151a rad6f597  
    33import sys 
    44from copy import deepcopy 
    5 from DataLoader.loader import Loader 
    65from DataLoader.data_info import Detector 
    76from sans.guiframe.utils import check_float 
     
    1514else: 
    1615    _STATICBOX_WIDTH = 480 
    17     PANEL_WIDTH = 530 
    18     PANEL_HEIGHT = 450 
     16    PANEL_WIDTH = 550 
     17    PANEL_HEIGHT = 480 
    1918    FONT_VARIANT = 1 
    2019     
     
    805804if __name__ == "__main__": 
    806805    app = wx.App() 
    807     # Instantiate a loader  
    808     loader = Loader() 
    809     # Load data  
    810     output = loader.load("MAR07232_rest.ASC") 
    811     dlg = DetectorDialog(detector=output.detector) 
     806    detector = Detector() 
     807    dlg = DetectorDialog(detector=[detector]) 
    812808    dlg.ShowModal() 
    813809    app.MainLoop() 
Note: See TracChangeset for help on using the changeset viewer.