Changeset d84bc69 in sasview for src/sas/qtgui/Perspectives/Fitting


Ignore:
Timestamp:
Feb 16, 2017 9:40:53 AM (8 years ago)
Author:
wojciech
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:
6a9559d
Parents:
dba6e57 (diff), 83d6249 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Conflict resolved

Location:
src/sas/qtgui/Perspectives/Fitting
Files:
3 added
2 moved

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py

    r8bdb6f5 rd84bc69  
    55from PyQt4 import QtCore 
    66 
    7 from UI.fitting import Ui_Dialog 
     7from UI.FittingUI import Ui_FittingUI 
    88 
    99from sasmodels import generate 
     
    1313from sas.sasgui.guiframe.CategoryInstaller import CategoryInstaller 
    1414 
    15 class prototype(QtGui.QDialog, Ui_Dialog): 
    16     def __init__(self): 
    17         super(prototype, self).__init__() 
     15class FittingWindow(QtGui.QDialog, Ui_FittingUI): 
     16    name = "Fitting" # For displaying in the combo box 
     17    def __init__(self, manager=None, parent=None): 
     18        super(FittingWindow, self).__init__() 
    1819        self._model_model = QtGui.QStandardItemModel() 
    1920        self._poly_model = QtGui.QStandardItemModel() 
     
    175176if __name__ == "__main__": 
    176177    app = QtGui.QApplication([]) 
    177     dlg = prototype() 
     178    dlg = FittingWindow() 
    178179    dlg.show() 
    179180    sys.exit(app.exec_()) 
  • src/sas/qtgui/Perspectives/Fitting/UI/FittingUI.ui

    rdba6e57 rd84bc69  
    11<?xml version="1.0" encoding="UTF-8"?> 
    22<ui version="4.0"> 
    3  <class>Dialog</class> 
    4  <widget class="QDialog" name="Dialog"> 
     3 <class>FittingUI</class> 
     4 <widget class="QDialog" name="FittingUI"> 
    55  <property name="geometry"> 
    66   <rect> 
     
    1212  </property> 
    1313  <property name="windowTitle"> 
    14    <string>Dialog</string> 
     14   <string>Fitting Perspective</string> 
     15  </property> 
     16  <property name="windowIcon"> 
     17   <iconset resource="../../../UI/main_resources.qrc"> 
     18    <normaloff>:/res/ball.ico</normaloff>:/res/ball.ico</iconset> 
    1519  </property> 
    1620  <layout class="QGridLayout" name="gridLayout_15"> 
     
    642646  </layout> 
    643647 </widget> 
    644  <resources/> 
     648 <resources> 
     649  <include location="../../../UI/main_resources.qrc"/> 
     650 </resources> 
    645651 <connections/> 
    646652</ui> 
Note: See TracChangeset for help on using the changeset viewer.