Stale UI
This commit is contained in:
parent
66bf7b895f
commit
4cb5163bc9
@ -47,22 +47,11 @@ class Ui_DialogPreferences(object):
|
|||||||
self.checkCheckForUpdates.setObjectName(_fromUtf8("checkCheckForUpdates"))
|
self.checkCheckForUpdates.setObjectName(_fromUtf8("checkCheckForUpdates"))
|
||||||
self.verticalLayout_4.addWidget(self.checkCheckForUpdates)
|
self.verticalLayout_4.addWidget(self.checkCheckForUpdates)
|
||||||
self.formLayout = QtGui.QFormLayout()
|
self.formLayout = QtGui.QFormLayout()
|
||||||
|
self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
|
||||||
self.formLayout.setObjectName(_fromUtf8("formLayout"))
|
self.formLayout.setObjectName(_fromUtf8("formLayout"))
|
||||||
self.label_2 = QtGui.QLabel(self.tabGeneral)
|
|
||||||
self.label_2.setObjectName(_fromUtf8("label_2"))
|
|
||||||
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
|
|
||||||
self.spinMaxResults = QtGui.QSpinBox(self.tabGeneral)
|
|
||||||
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
|
|
||||||
sizePolicy.setHorizontalStretch(0)
|
|
||||||
sizePolicy.setVerticalStretch(0)
|
|
||||||
sizePolicy.setHeightForWidth(self.spinMaxResults.sizePolicy().hasHeightForWidth())
|
|
||||||
self.spinMaxResults.setSizePolicy(sizePolicy)
|
|
||||||
self.spinMaxResults.setMinimum(1)
|
|
||||||
self.spinMaxResults.setObjectName(_fromUtf8("spinMaxResults"))
|
|
||||||
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.spinMaxResults)
|
|
||||||
self.label_14 = QtGui.QLabel(self.tabGeneral)
|
self.label_14 = QtGui.QLabel(self.tabGeneral)
|
||||||
self.label_14.setObjectName(_fromUtf8("label_14"))
|
self.label_14.setObjectName(_fromUtf8("label_14"))
|
||||||
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_14)
|
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_14)
|
||||||
self.spinScanLength = QtGui.QSpinBox(self.tabGeneral)
|
self.spinScanLength = QtGui.QSpinBox(self.tabGeneral)
|
||||||
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
|
||||||
sizePolicy.setHorizontalStretch(0)
|
sizePolicy.setHorizontalStretch(0)
|
||||||
@ -71,7 +60,7 @@ class Ui_DialogPreferences(object):
|
|||||||
self.spinScanLength.setSizePolicy(sizePolicy)
|
self.spinScanLength.setSizePolicy(sizePolicy)
|
||||||
self.spinScanLength.setMinimum(1)
|
self.spinScanLength.setMinimum(1)
|
||||||
self.spinScanLength.setObjectName(_fromUtf8("spinScanLength"))
|
self.spinScanLength.setObjectName(_fromUtf8("spinScanLength"))
|
||||||
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.spinScanLength)
|
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.spinScanLength)
|
||||||
self.verticalLayout_4.addLayout(self.formLayout)
|
self.verticalLayout_4.addLayout(self.formLayout)
|
||||||
self.tabWidget.addTab(self.tabGeneral, _fromUtf8(""))
|
self.tabWidget.addTab(self.tabGeneral, _fromUtf8(""))
|
||||||
self.tabAppearance = QtGui.QWidget()
|
self.tabAppearance = QtGui.QWidget()
|
||||||
@ -209,7 +198,6 @@ class Ui_DialogPreferences(object):
|
|||||||
self.checkStripReadings.setText(_translate("DialogPreferences", "Strip readings from files", None))
|
self.checkStripReadings.setText(_translate("DialogPreferences", "Strip readings from files", None))
|
||||||
self.checkRememberTextContent.setText(_translate("DialogPreferences", "Remember text content", None))
|
self.checkRememberTextContent.setText(_translate("DialogPreferences", "Remember text content", None))
|
||||||
self.checkCheckForUpdates.setText(_translate("DialogPreferences", "Check for updates", None))
|
self.checkCheckForUpdates.setText(_translate("DialogPreferences", "Check for updates", None))
|
||||||
self.label_2.setText(_translate("DialogPreferences", "Max search results", None))
|
|
||||||
self.label_14.setText(_translate("DialogPreferences", "Text scan length", None))
|
self.label_14.setText(_translate("DialogPreferences", "Text scan length", None))
|
||||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabGeneral), _translate("DialogPreferences", "General", None))
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabGeneral), _translate("DialogPreferences", "General", None))
|
||||||
self.buttonColorFg.setText(_translate("DialogPreferences", "Foreground...", None))
|
self.buttonColorFg.setText(_translate("DialogPreferences", "Foreground...", None))
|
||||||
|
Loading…
Reference in New Issue
Block a user