Changeset e540cd2 in sasview for src/sas/qtgui/Perspectives/Invariant
- Timestamp:
- Jul 7, 2016 4:54:18 AM (8 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:
- 0cd8612
- Parents:
- f0f309d
- Location:
- src/sas/qtgui/Perspectives/Invariant
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py
r1042dba re540cd2 43 43 super(InvariantWindow, self).__init__(parent) 44 44 self.setWindowTitle("Invariant Perspective") 45 45 46 # initial input params 46 47 self._background = 0.0 … … 95 96 self.setupMapper() 96 97 98 def closeEvent(self, event): 99 """ 100 Overwrite the default close method of QWidget 101 """ 102 # No close on perspectives - one must always be active. 103 event.ignore() 104 97 105 def communicator(self): 98 """ 99 """ 106 """ Getter for the communicator """ 100 107 return self.communicate 101 108 -
src/sas/qtgui/Perspectives/Invariant/UI/TabbedInvariantUI.py
r488c49d re540cd2 26 26 def setupUi(self, tabbedInvariantUI): 27 27 tabbedInvariantUI.setObjectName(_fromUtf8("tabbedInvariantUI")) 28 tabbedInvariantUI.resize(46 5, 408)28 tabbedInvariantUI.resize(466, 408) 29 29 self.gridLayout_11 = QtGui.QGridLayout(tabbedInvariantUI) 30 30 self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11")) … … 45 45 self.horizontalLayout_4.addWidget(self.label) 46 46 self.lineEdit = QtGui.QLineEdit(self.groupBox) 47 self.lineEdit.setEnabled(False) 47 self.lineEdit.setEnabled(True) 48 self.lineEdit.setFrame(False) 48 49 self.lineEdit.setReadOnly(False) 49 50 self.lineEdit.setObjectName(_fromUtf8("lineEdit")) … … 85 86 self.lineEdit_14 = QtGui.QLineEdit(self.groupBox_7) 86 87 self.lineEdit_14.setEnabled(True) 88 self.lineEdit_14.setAutoFillBackground(True) 89 self.lineEdit_14.setStyleSheet(_fromUtf8("")) 90 self.lineEdit_14.setFrame(True) 91 self.lineEdit_14.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) 87 92 self.lineEdit_14.setReadOnly(True) 88 93 self.lineEdit_14.setObjectName(_fromUtf8("lineEdit_14")) … … 93 98 self.lineEdit_15 = QtGui.QLineEdit(self.groupBox_7) 94 99 self.lineEdit_15.setEnabled(True) 100 self.lineEdit_15.setFrame(True) 101 self.lineEdit_15.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) 95 102 self.lineEdit_15.setReadOnly(True) 96 103 self.lineEdit_15.setObjectName(_fromUtf8("lineEdit_15")) … … 101 108 self.lineEdit_17 = QtGui.QLineEdit(self.groupBox_7) 102 109 self.lineEdit_17.setEnabled(True) 110 self.lineEdit_17.setFrame(True) 111 self.lineEdit_17.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) 103 112 self.lineEdit_17.setReadOnly(True) 104 113 self.lineEdit_17.setObjectName(_fromUtf8("lineEdit_17")) … … 109 118 self.lineEdit_16 = QtGui.QLineEdit(self.groupBox_7) 110 119 self.lineEdit_16.setEnabled(True) 120 self.lineEdit_16.setFrame(True) 121 self.lineEdit_16.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) 111 122 self.lineEdit_16.setReadOnly(True) 112 123 self.lineEdit_16.setObjectName(_fromUtf8("lineEdit_16")) … … 125 136 self.lineEdit_19 = QtGui.QLineEdit(self.groupBox_7) 126 137 self.lineEdit_19.setEnabled(True) 127 self.lineEdit_19.setStyleSheet(_fromUtf8("background-color: rgb(253, 253, 126);")) 138 self.lineEdit_19.setStyleSheet(_fromUtf8("background-color: rgb(253, 253, 126);\n" 139 "font: bold 8pt \"MS Shell Dlg 2\";")) 140 self.lineEdit_19.setFrame(True) 141 self.lineEdit_19.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) 128 142 self.lineEdit_19.setReadOnly(True) 129 143 self.lineEdit_19.setObjectName(_fromUtf8("lineEdit_19")) … … 134 148 self.lineEdit_18 = QtGui.QLineEdit(self.groupBox_7) 135 149 self.lineEdit_18.setEnabled(True) 136 self.lineEdit_18.setStyleSheet(_fromUtf8("background-color: rgb(253, 253, 126);")) 150 self.lineEdit_18.setStyleSheet(_fromUtf8("background-color: rgb(253, 253, 126);\n" 151 "font: bold 8pt \"MS Shell Dlg 2\";")) 152 self.lineEdit_18.setFrame(True) 153 self.lineEdit_18.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) 137 154 self.lineEdit_18.setReadOnly(True) 138 155 self.lineEdit_18.setObjectName(_fromUtf8("lineEdit_18")) -
src/sas/qtgui/Perspectives/Invariant/UI/TabbedInvariantUI.ui
r488c49d re540cd2 7 7 <x>0</x> 8 8 <y>0</y> 9 <width>46 5</width>9 <width>466</width> 10 10 <height>408</height> 11 11 </rect> … … 43 43 <widget class="QLineEdit" name="lineEdit"> 44 44 <property name="enabled"> 45 <bool>true</bool> 46 </property> 47 <property name="frame"> 45 48 <bool>false</bool> 46 49 </property> … … 122 125 <bool>true</bool> 123 126 </property> 127 <property name="autoFillBackground"> 128 <bool>true</bool> 129 </property> 130 <property name="styleSheet"> 131 <string notr="true"/> 132 </property> 133 <property name="frame"> 134 <bool>true</bool> 135 </property> 136 <property name="alignment"> 137 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 138 </property> 124 139 <property name="readOnly"> 125 140 <bool>true</bool> … … 139 154 <bool>true</bool> 140 155 </property> 156 <property name="frame"> 157 <bool>true</bool> 158 </property> 159 <property name="alignment"> 160 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 161 </property> 141 162 <property name="readOnly"> 142 163 <bool>true</bool> … … 156 177 <bool>true</bool> 157 178 </property> 179 <property name="frame"> 180 <bool>true</bool> 181 </property> 182 <property name="alignment"> 183 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 184 </property> 158 185 <property name="readOnly"> 159 186 <bool>true</bool> … … 172 199 <property name="enabled"> 173 200 <bool>true</bool> 201 </property> 202 <property name="frame"> 203 <bool>true</bool> 204 </property> 205 <property name="alignment"> 206 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 174 207 </property> 175 208 <property name="readOnly"> … … 206 239 </property> 207 240 <property name="styleSheet"> 208 <string notr="true">background-color: rgb(253, 253, 126);</string> 241 <string notr="true">background-color: rgb(253, 253, 126); 242 font: bold 8pt "MS Shell Dlg 2";</string> 243 </property> 244 <property name="frame"> 245 <bool>true</bool> 246 </property> 247 <property name="alignment"> 248 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 209 249 </property> 210 250 <property name="readOnly"> … … 226 266 </property> 227 267 <property name="styleSheet"> 228 <string notr="true">background-color: rgb(253, 253, 126);</string> 268 <string notr="true">background-color: rgb(253, 253, 126); 269 font: bold 8pt "MS Shell Dlg 2";</string> 270 </property> 271 <property name="frame"> 272 <bool>true</bool> 273 </property> 274 <property name="alignment"> 275 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 229 276 </property> 230 277 <property name="readOnly"> … … 578 625 </layout> 579 626 </widget> 627 <resources/> 580 628 <connections/> 581 629 </ui>
Note: See TracChangeset
for help on using the changeset viewer.