- Timestamp:
- Aug 18, 2017 11:08:55 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:
- 464cd07
- Parents:
- 0e4d87c
- Location:
- src/sas/qtgui
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/GenericScatteringCalculator.py
rb0c5e8c r457d961 106 106 # TODO the option Ellipsoid has not been implemented 107 107 self.cbShape.currentIndexChanged.connect(self.selectedshapechange) 108 109 # New font to display angstrom symbol 110 new_font = 'font-family: -apple-system, "Helvetica Neue", "Ubuntu";' 111 self.lblUnitSolventSLD.setStyleSheet(new_font) 112 self.lblUnitVolume.setStyleSheet(new_font) 113 self.lbl5.setStyleSheet(new_font) 114 self.lblUnitMx.setStyleSheet(new_font) 115 self.lblUnitMy.setStyleSheet(new_font) 116 self.lblUnitMz.setStyleSheet(new_font) 117 self.lblUnitNucl.setStyleSheet(new_font) 118 self.lblUnitx.setStyleSheet(new_font) 119 self.lblUnity.setStyleSheet(new_font) 120 self.lblUnitz.setStyleSheet(new_font) 108 121 109 122 def selectedshapechange(self): -
src/sas/qtgui/Calculators/UI/DensityPanel.ui
rcd2cc745 r457d961 7 7 <x>0</x> 8 8 <y>0</y> 9 <width> 295</width>10 <height>2 04</height>9 <width>345</width> 10 <height>236</height> 11 11 </rect> 12 12 </property> … … 35 35 </item> 36 36 <item row="0" column="1"> 37 <widget class="QLineEdit" name="editMolecularFormula"/> 37 <widget class="QLineEdit" name="editMolecularFormula"> 38 <property name="minimumSize"> 39 <size> 40 <width>61</width> 41 <height>21</height> 42 </size> 43 </property> 44 <property name="baseSize"> 45 <size> 46 <width>61</width> 47 <height>21</height> 48 </size> 49 </property> 50 </widget> 38 51 </item> 39 52 <item row="0" column="2"> … … 53 66 <item row="1" column="1"> 54 67 <widget class="QLineEdit" name="editMolarMass"> 68 <property name="minimumSize"> 69 <size> 70 <width>61</width> 71 <height>21</height> 72 </size> 73 </property> 74 <property name="baseSize"> 75 <size> 76 <width>61</width> 77 <height>21</height> 78 </size> 79 </property> 55 80 <property name="styleSheet"> 56 81 <string notr="true"/> … … 98 123 </item> 99 124 <item row="3" column="1"> 100 <widget class="QLineEdit" name="editMolarVolume"/> 125 <widget class="QLineEdit" name="editMolarVolume"> 126 <property name="minimumSize"> 127 <size> 128 <width>61</width> 129 <height>21</height> 130 </size> 131 </property> 132 <property name="baseSize"> 133 <size> 134 <width>61</width> 135 <height>21</height> 136 </size> 137 </property> 138 </widget> 101 139 </item> 102 140 <item row="3" column="2"> … … 115 153 </item> 116 154 <item row="4" column="1"> 117 <widget class="QLineEdit" name="editMassDensity"/> 155 <widget class="QLineEdit" name="editMassDensity"> 156 <property name="minimumSize"> 157 <size> 158 <width>61</width> 159 <height>21</height> 160 </size> 161 </property> 162 <property name="baseSize"> 163 <size> 164 <width>61</width> 165 <height>21</height> 166 </size> 167 </property> 168 </widget> 118 169 </item> 119 170 <item row="4" column="2"> -
src/sas/qtgui/Calculators/UI/GenericScatteringCalculator.ui
r28a09b0 r457d961 7 7 <x>0</x> 8 8 <y>0</y> 9 <width>71 5</width>10 <height> 550</height>9 <width>716</width> 10 <height>625</height> 11 11 </rect> 12 12 </property> 13 13 <property name="sizePolicy"> 14 <sizepolicy hsizetype=" Fixed" vsizetype="Fixed">14 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 15 15 <horstretch>0</horstretch> 16 16 <verstretch>0</verstretch> … … 19 19 <property name="minimumSize"> 20 20 <size> 21 <width>6 30</width>21 <width>660</width> 22 22 <height>550</height> 23 </size> 24 </property> 25 <property name="maximumSize"> 26 <size> 27 <width>800</width> 28 <height>700</height> 23 29 </size> 24 30 </property> … … 300 306 <size> 301 307 <width>70</width> 302 <height> 0</height>308 <height>18</height> 303 309 </size> 304 310 </property> … … 318 324 </item> 319 325 <item row="0" column="2"> 320 <widget class="QLabel" name="lbl unitMx">326 <widget class="QLabel" name="lblUnitMx"> 321 327 <property name="font"> 322 328 <font> … … 352 358 <size> 353 359 <width>70</width> 354 <height> 0</height>360 <height>18</height> 355 361 </size> 356 362 </property> … … 404 410 <size> 405 411 <width>70</width> 406 <height> 0</height>412 <height>18</height> 407 413 </size> 408 414 </property> … … 456 462 <size> 457 463 <width>70</width> 458 <height> 0</height>464 <height>18</height> 459 465 </size> 460 466 </property> … … 521 527 <size> 522 528 <width>56</width> 523 <height> 0</height>529 <height>18</height> 524 530 </size> 525 531 </property> … … 553 559 <size> 554 560 <width>56</width> 555 <height> 0</height>561 <height>18</height> 556 562 </size> 557 563 </property> … … 585 591 <size> 586 592 <width>56</width> 587 <height> 0</height>593 <height>18</height> 588 594 </size> 589 595 </property> … … 636 642 <size> 637 643 <width>50</width> 638 <height> 0</height>644 <height>18</height> 639 645 </size> 640 646 </property> … … 682 688 <size> 683 689 <width>50</width> 684 <height> 0</height>690 <height>18</height> 685 691 </size> 686 692 </property> … … 728 734 <size> 729 735 <width>50</width> 730 <height> 0</height>736 <height>18</height> 731 737 </size> 732 738 </property> … … 954 960 <item row="1" column="1"> 955 961 <widget class="QLineEdit" name="txtUpFracIn"> 962 <property name="minimumSize"> 963 <size> 964 <width>0</width> 965 <height>18</height> 966 </size> 967 </property> 956 968 <property name="font"> 957 969 <font> … … 986 998 <item row="2" column="1"> 987 999 <widget class="QLineEdit" name="txtUpFracOut"> 1000 <property name="minimumSize"> 1001 <size> 1002 <width>0</width> 1003 <height>18</height> 1004 </size> 1005 </property> 988 1006 <property name="font"> 989 1007 <font> … … 1018 1036 <item row="3" column="1"> 1019 1037 <widget class="QLineEdit" name="txtUpTheta"> 1038 <property name="minimumSize"> 1039 <size> 1040 <width>0</width> 1041 <height>18</height> 1042 </size> 1043 </property> 1020 1044 <property name="font"> 1021 1045 <font> … … 1047 1071 <item row="4" column="1"> 1048 1072 <widget class="QLineEdit" name="txtBackground"> 1073 <property name="minimumSize"> 1074 <size> 1075 <width>0</width> 1076 <height>18</height> 1077 </size> 1078 </property> 1049 1079 <property name="font"> 1050 1080 <font> … … 1086 1116 <item row="5" column="1"> 1087 1117 <widget class="QLineEdit" name="txtScale"> 1118 <property name="minimumSize"> 1119 <size> 1120 <width>0</width> 1121 <height>18</height> 1122 </size> 1123 </property> 1088 1124 <property name="font"> 1089 1125 <font> … … 1112 1148 <item row="6" column="1"> 1113 1149 <widget class="QLineEdit" name="txtSolventSLD"> 1150 <property name="minimumSize"> 1151 <size> 1152 <width>0</width> 1153 <height>18</height> 1154 </size> 1155 </property> 1114 1156 <property name="font"> 1115 1157 <font> … … 1141 1183 <item row="7" column="1"> 1142 1184 <widget class="QLineEdit" name="txtTotalVolume"> 1185 <property name="minimumSize"> 1186 <size> 1187 <width>0</width> 1188 <height>18</height> 1189 </size> 1190 </property> 1143 1191 <property name="font"> 1144 1192 <font> … … 1261 1309 <item row="0" column="1"> 1262 1310 <widget class="QLineEdit" name="txtNoQBins"> 1311 <property name="minimumSize"> 1312 <size> 1313 <width>0</width> 1314 <height>18</height> 1315 </size> 1316 </property> 1263 1317 <property name="font"> 1264 1318 <font> … … 1290 1344 <item row="1" column="1"> 1291 1345 <widget class="QLineEdit" name="txtQxMax"> 1346 <property name="minimumSize"> 1347 <size> 1348 <width>0</width> 1349 <height>18</height> 1350 </size> 1351 </property> 1292 1352 <property name="font"> 1293 1353 <font> -
src/sas/qtgui/Calculators/UI/KiessigPanel.ui
rcd2cc745 r457d961 7 7 <x>0</x> 8 8 <y>0</y> 9 <width>3 54</width>9 <width>365</width> 10 10 <height>193</height> 11 11 </rect> … … 33 33 <widget class="QLabel" name="label"> 34 34 <property name="text"> 35 <string>Kiessi ng Fringe Width (Delta Q)</string>35 <string>Kiessig Fringe Width (Delta Q)</string> 36 36 </property> 37 37 </widget> 38 38 </item> 39 39 <item> 40 <widget class="QLineEdit" name="deltaq_in"/> 40 <widget class="QLineEdit" name="deltaq_in"> 41 <property name="minimumSize"> 42 <size> 43 <width>77</width> 44 <height>21</height> 45 </size> 46 </property> 47 <property name="baseSize"> 48 <size> 49 <width>77</width> 50 <height>21</height> 51 </size> 52 </property> 53 </widget> 41 54 </item> 42 55 <item> … … 70 83 <item> 71 84 <widget class="QLineEdit" name="lengthscale_out"> 85 <property name="minimumSize"> 86 <size> 87 <width>77</width> 88 <height>21</height> 89 </size> 90 </property> 91 <property name="baseSize"> 92 <size> 93 <width>77</width> 94 <height>21</height> 95 </size> 96 </property> 72 97 <property name="readOnly"> 73 98 <bool>true</bool> -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r377ade1 r457d961 98 98 # Display HTML content 99 99 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) 100 105 101 106 self._index = None … … 246 251 self.lstParams.setAlternatingRowColors(True) 247 252 stylesheet = """ 253 254 QTreeView { 255 paint-alternating-row-colors-for-empty-area:0; 256 } 257 248 258 QTreeView::item:hover { 249 259 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1); … … 266 276 self.lstParams.setContextMenuPolicy(QtCore.Qt.CustomContextMenu) 267 277 self.lstParams.customContextMenuRequested.connect(self.showModelDescription) 278 self.lstParams.setAttribute(QtCore.Qt.WA_MacShowFocusRect, False) 268 279 269 280 # Poly model displayed in poly list -
src/sas/qtgui/Perspectives/Fitting/OptionsWidget.py
rc1e380e r457d961 86 86 self.txtNptsFit.setText(str(NPTS_DEFAULT)) 87 87 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) 88 92 89 93 def initModel(self): -
src/sas/qtgui/Perspectives/Invariant/InvariantDetails.py
r83eb5208 r457d961 59 59 self.progressBar.setValue(progress_low_qstar) 60 60 self.progressBar_2.setValue(progress_qstar) 61 self.progressBar_3.setValue(progress_high_qstar) 61 self.progressBar_3.setValue(progress_high_qstar) 62 63 new_font = 'font-family: -apple-system, "Helvetica Neue", "Ubuntu";' 64 self.label_3.setStyleSheet(new_font) 65 self.label_4.setStyleSheet(new_font) 66 self.label_.setStyleSheet(new_font) 62 67 63 68 self.show() -
src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py
ree18d33 r457d961 106 106 # Set up the mapper 107 107 self.setupMapper() 108 109 new_font = 'font-family: -apple-system, "Helvetica Neue", "Ubuntu";' 110 self.label_2.setStyleSheet(new_font) 111 self.label_24.setStyleSheet(new_font) 112 self.label_27.setStyleSheet(new_font) 108 113 109 114 def setClosable(self, value=True): -
src/sas/qtgui/Perspectives/Invariant/UI/InvariantDetailsUI.ui
rf721030 r457d961 95 95 <widget class="QLabel" name="label_3"> 96 96 <property name="text"> 97 <string><html><head/><body><p>[1/(cm*A<span style=" vertical-align:super;">3</span>)]</p></body></html></string> 97 <string><html><head/><body><p>[1/(cm*Ã 98 <span style=" vertical-align:super;">3</span>)]</p></body></html></string> 98 99 </property> 99 100 </widget> … … 122 123 <widget class="QLabel" name="label_4"> 123 124 <property name="text"> 124 <string><html><head/><body><p>[1/(cm*A<span style=" vertical-align:super;">3</span>)]</p></body></html></string> 125 <string><html><head/><body><p>[1/(cm*Ã 126 <span style=" vertical-align:super;">3</span>)]</p></body></html></string> 125 127 </property> 126 128 </widget> … … 149 151 <widget class="QLabel" name="label_7"> 150 152 <property name="text"> 151 <string><html><head/><body><p>[1/(cm*A<span style=" vertical-align:super;">3</span>)]</p></body></html></string> 153 <string><html><head/><body><p>[1/(cm*Ã 154 <span style=" vertical-align:super;">3</span>)]</p></body></html></string> 152 155 </property> 153 156 </widget>
Note: See TracChangeset
for help on using the changeset viewer.