Changeset 457d961 in sasview for src/sas/qtgui/Perspectives/Fitting


Ignore:
Timestamp:
Aug 18, 2017 9:08:55 AM (7 years ago)
Author:
Celine Durniak <celine.durniak@…>
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:
464cd07
Parents:
0e4d87c
Message:

Corrected bugs in display of new GUI (angstrom, size of line edit)

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

Legend:

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

    r377ade1 r457d961  
    9898        # Display HTML content 
    9999        self.helpView = QtWebKit.QWebView() 
     100 
     101        # New font to display angstrom symbol 
     102        new_font = 'font-family: -apple-system, "Helvetica Neue", "Ubuntu";' 
     103        self.label_17.setStyleSheet(new_font) 
     104        self.label_19.setStyleSheet(new_font) 
    100105 
    101106        self._index = None 
     
    246251        self.lstParams.setAlternatingRowColors(True) 
    247252        stylesheet = """ 
     253 
     254            QTreeView { 
     255                paint-alternating-row-colors-for-empty-area:0; 
     256            } 
     257 
    248258            QTreeView::item:hover { 
    249259                background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1); 
     
    266276        self.lstParams.setContextMenuPolicy(QtCore.Qt.CustomContextMenu) 
    267277        self.lstParams.customContextMenuRequested.connect(self.showModelDescription) 
     278        self.lstParams.setAttribute(QtCore.Qt.WA_MacShowFocusRect, False) 
    268279 
    269280        # Poly model displayed in poly list 
  • src/sas/qtgui/Perspectives/Fitting/OptionsWidget.py

    rc1e380e r457d961  
    8686        self.txtNptsFit.setText(str(NPTS_DEFAULT)) 
    8787        self.model.blockSignals(False) 
     88 
     89        new_font = 'font-family: -apple-system, "Helvetica Neue", "Ubuntu";' 
     90        self.label_13.setStyleSheet(new_font) 
     91        self.label_15.setStyleSheet(new_font) 
    8892 
    8993    def initModel(self): 
Note: See TracChangeset for help on using the changeset viewer.