Ignore:
Timestamp:
Feb 27, 2017 3:56:13 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
f46f6dc
Parents:
6ee82dd
Message:

Fitting perspective refactoring for multitab support SASVIEW-345

Location:
src/sas/qtgui/Perspectives/Invariant
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Invariant/InvariantDetails.py

    • Property mode changed from 100755 to 100644
    rf721030 r60af928  
    55 
    66# local 
    7 from UI.InvariantDetailsUI import Dialog 
     7from UI.InvariantDetailsUI import Ui_Dialog 
    88from InvariantUtils import WIDGETS 
    99 
    10 class DetailsDialog(Dialog): 
     10class DetailsDialog(QtGui.QDialog, Ui_Dialog): 
    1111    """ 
    1212    """ 
    1313    def __init__(self, parent): 
    14         Dialog.__init__(self, parent) 
     14        super(DetailsDialog, self).__init__(parent) 
     15 
     16        self.setupUi(self) 
    1517 
    1618        self.progressBar.setMinimum(0) 
  • src/sas/qtgui/Perspectives/Invariant/UI/InvariantDetailsUI.py

    r488c49d r60af928  
    144144        self.lblWarning.setText(_translate("Dialog", "<html><head/><body><p>No Details on calculations available...</p></body></html>", None)) 
    145145 
    146  
    147 class Dialog(QtGui.QDialog, Ui_Dialog): 
    148     def __init__(self, parent=None, f=QtCore.Qt.WindowFlags()): 
    149         QtGui.QDialog.__init__(self, parent, f) 
    150  
    151         self.setupUi(self) 
    152  
Note: See TracChangeset for help on using the changeset viewer.