Changeset 83d6249 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
- Timestamp:
- Feb 16, 2017 6:06:17 AM (7 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:
- 2bb20a5, fca1f50
- Parents:
- 4c7dd9f
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
r4c7dd9f r83d6249 3 3 from PyQt4 import QtCore 4 4 5 from UI. fitting import Ui_Dialog5 from UI.FittingUI import Ui_FittingUI 6 6 7 class prototype(QtGui.QDialog, Ui_Dialog): 8 def __init__(self): 9 super(prototype, self).__init__() 7 class FittingWindow(QtGui.QDialog, Ui_FittingUI): 8 name = "Fitting" # For displaying in the combo box 9 def __init__(self, manager=None, parent=None): 10 super(FittingWindow, self).__init__() 10 11 self._model_model = QtGui.QStandardItemModel() 11 12 self._poly_model = QtGui.QStandardItemModel() … … 146 147 if __name__ == "__main__": 147 148 app = QtGui.QApplication([]) 148 dlg = prototype()149 dlg = FittingWindow() 149 150 dlg.show() 150 151 sys.exit(app.exec_())
Note: See TracChangeset
for help on using the changeset viewer.