Changeset d84bc69 in sasview for src/sas/qtgui/Perspectives/Fitting
- Timestamp:
- Feb 16, 2017 9:40:53 AM (8 years ago)
- 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. - Location:
- src/sas/qtgui/Perspectives/Fitting
- Files:
-
- 3 added
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
r8bdb6f5 rd84bc69 5 5 from PyQt4 import QtCore 6 6 7 from UI. fitting import Ui_Dialog7 from UI.FittingUI import Ui_FittingUI 8 8 9 9 from sasmodels import generate … … 13 13 from sas.sasgui.guiframe.CategoryInstaller import CategoryInstaller 14 14 15 class prototype(QtGui.QDialog, Ui_Dialog): 16 def __init__(self): 17 super(prototype, self).__init__() 15 class 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__() 18 19 self._model_model = QtGui.QStandardItemModel() 19 20 self._poly_model = QtGui.QStandardItemModel() … … 175 176 if __name__ == "__main__": 176 177 app = QtGui.QApplication([]) 177 dlg = prototype()178 dlg = FittingWindow() 178 179 dlg.show() 179 180 sys.exit(app.exec_()) -
src/sas/qtgui/Perspectives/Fitting/UI/FittingUI.ui
rdba6e57 rd84bc69 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <ui version="4.0"> 3 <class> Dialog</class>4 <widget class="QDialog" name=" Dialog">3 <class>FittingUI</class> 4 <widget class="QDialog" name="FittingUI"> 5 5 <property name="geometry"> 6 6 <rect> … … 12 12 </property> 13 13 <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> 15 19 </property> 16 20 <layout class="QGridLayout" name="gridLayout_15"> … … 642 646 </layout> 643 647 </widget> 644 <resources/> 648 <resources> 649 <include location="../../../UI/main_resources.qrc"/> 650 </resources> 645 651 <connections/> 646 652 </ui>
Note: See TracChangeset
for help on using the changeset viewer.