Changeset 363fbfa in sasview


Ignore:
Timestamp:
Dec 1, 2016 8:49:00 AM (8 years ago)
Author:
trnielsen
Branches:
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
Children:
040529d
Parents:
ded2ce3
Message:

Add new Kiessing Calculator

Location:
src/sas/qtgui
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/GuiManager.py

    r31c5b58 r363fbfa  
    2525from sas.qtgui.SldPanel import SldPanel 
    2626from sas.qtgui.DensityPanel import DensityPanel 
     27from sas.qtgui.KiessigPanel import KiessigPanel 
    2728 
    2829# Perspectives 
     
    137138        self.SLDCalculator = SldPanel(self) 
    138139        self.DVCalculator = DensityPanel(self) 
    139  
     140        #self.KIESSIGCalculator = DensityPanel(self)#KiessigPanel(self) 
     141        self.KIESSIGCalculator =  KiessigPanel(self) 
    140142    def statusBarSetup(self): 
    141143        """ 
     
    353355        self._workspace.actionSLD_Calculator.triggered.connect(self.actionSLD_Calculator) 
    354356        self._workspace.actionDensity_Volume_Calculator.triggered.connect(self.actionDensity_Volume_Calculator) 
     357        self._workspace.actionKeissig_Calculator.triggered.connect(self.actionKiessig_Calculator) 
     358        #self._workspace.actionKIESSING_Calculator.triggered.connect(self.actionKIESSING_Calculator) 
    355359        self._workspace.actionSlit_Size_Calculator.triggered.connect(self.actionSlit_Size_Calculator) 
    356360        self._workspace.actionSAS_Resolution_Estimator.triggered.connect(self.actionSAS_Resolution_Estimator) 
     
    526530        self.DVCalculator.show() 
    527531 
     532    def actionKiessig_Calculator(self): 
     533        """ 
     534        """ 
     535        #self.DVCalculator.show() 
     536        self.KIESSIGCalculator.show() 
     537 
    528538    def actionSlit_Size_Calculator(self): 
    529539        """ 
  • src/sas/qtgui/UI/MainWindowUI.ui

    r0cd8612 r363fbfa  
    2525     <y>0</y> 
    2626     <width>915</width> 
    27      <height>21</height> 
     27     <height>25</height> 
    2828    </rect> 
    2929   </property> 
     
    8282    </property> 
    8383    <addaction name="actionData_Operation"/> 
     84    <addaction name="separator"/> 
    8485    <addaction name="actionSLD_Calculator"/> 
    8586    <addaction name="actionDensity_Volume_Calculator"/> 
    8687    <addaction name="actionSlit_Size_Calculator"/> 
     88    <addaction name="actionKeissig_Calculator"/> 
    8789    <addaction name="actionSAS_Resolution_Estimator"/> 
    8890    <addaction name="actionGeneric_Scattering_Calculator"/> 
     
    489491   </property> 
    490492  </action> 
     493  <action name="actionKeissig_Calculator"> 
     494   <property name="text"> 
     495    <string>Kiessig Thickness Calculator</string> 
     496   </property> 
     497  </action> 
    491498 </widget> 
    492499 <resources> 
  • src/sas/qtgui/run_tests.bat

    rf51ed67 r363fbfa  
    1111python -m UnitTesting.SasviewLoggerTest 
    1212python -m UnitTesting.PlotHelperTest 
     13python -m UnitTesting.KiessigCalculatorTest 
  • src/sas/qtgui/run_tests.sh

    r9968d6a r363fbfa  
    1010python -m UnitTesting.SasviewLoggerTest 
    1111python -m UnitTesting.DensityCalculatorTest 
     12python -m UnitTesting.KiessigCalculatorTest 
Note: See TracChangeset for help on using the changeset viewer.