1
This commit is contained in:
Alex Yatskov 2016-05-09 19:54:04 -07:00
parent 66bf7b895f
commit 4cb5163bc9

View File

@ -47,22 +47,11 @@ class Ui_DialogPreferences(object):
self.checkCheckForUpdates.setObjectName(_fromUtf8("checkCheckForUpdates"))
self.verticalLayout_4.addWidget(self.checkCheckForUpdates)
self.formLayout = QtGui.QFormLayout()
self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
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.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)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
@ -71,7 +60,7 @@ class Ui_DialogPreferences(object):
self.spinScanLength.setSizePolicy(sizePolicy)
self.spinScanLength.setMinimum(1)
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.tabWidget.addTab(self.tabGeneral, _fromUtf8(""))
self.tabAppearance = QtGui.QWidget()
@ -209,7 +198,6 @@ class Ui_DialogPreferences(object):
self.checkStripReadings.setText(_translate("DialogPreferences", "Strip readings from files", None))
self.checkRememberTextContent.setText(_translate("DialogPreferences", "Remember text content", 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.tabWidget.setTabText(self.tabWidget.indexOf(self.tabGeneral), _translate("DialogPreferences", "General", None))
self.buttonColorFg.setText(_translate("DialogPreferences", "Foreground...", None))