Changeset 200bd7e in sasview for src/sas/qtgui/Perspectives


Ignore:
Timestamp:
Dec 1, 2017 2:51:32 AM (7 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:
50bfab0
Parents:
19fce84 (diff), 6cb305a (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:

Merge branch 'ESS_GUI_SasView795' into ESS_GUI

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

Legend:

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

    rd1955d67 r6cb305a  
    6363        self._model_item = QtGui.QStandardItem() 
    6464 
    65         #self._helpView = QtWebKit.QWebView() 
     65        self._helpView = QtWebKit.QWebView() 
    6666        self.detailsDialog = DetailsDialog(self) 
    6767        self.detailsDialog.cmdOK.clicked.connect(self.enabling) 
     
    8282        # no reason to have this widget resizable 
    8383        self.resize(self.minimumSizeHint()) 
    84         #self.setFixedSize(self.sizeHint()) 
    8584 
    8685        self.communicate = self._manager.communicator() 
     
    232231        # Send the modified model item to DE for keeping in the model 
    233232        # Currently -unused 
    234         #self.communicate.updateModelFromPerspectiveSignal.emit(self._model_item) 
     233        # self.communicate.updateModelFromPerspectiveSignal.emit(self._model_item) 
    235234 
    236235        plot_data = GuiUtils.plotsFromCheckedItems(self._manager.filesWidget.model) 
     
    365364            if self._high_extrapolate: 
    366365                # for presentation in InvariantDetails 
    367                 qmax_plot = Q_MAXIMUM_PLOT * max(temp_data.x) # self._data.x) 
     366                qmax_plot = Q_MAXIMUM_PLOT * max(temp_data.x) 
    368367 
    369368                if qmax_plot > Q_MAXIMUM: 
  • src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py

    r8f83719f r19fce84  
    575575        self.regConstantSuggestionButton.setText("{:.3g}".format(alpha)) 
    576576        self.regConstantSuggestionButton.setEnabled(True) 
    577         self.model.setItem(WIDGETS.W_COMP_TIME, QtGui.QStandardItem(str(elapsed))) 
     577        self.model.setItem(WIDGETS.W_COMP_TIME, QtGui.QStandardItem("{:.2g}".format(elapsed))) 
    578578        if message: 
    579579            logging.info(message) 
Note: See TracChangeset for help on using the changeset viewer.