forked from IPKM/nmreval
324 lines
20 KiB
Python
324 lines
20 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
# Form implementation generated from reading ui file '_ui/agroptiondialog.ui'
|
||
|
#
|
||
|
# Created by: PyQt5 UI code generator 5.12.3
|
||
|
#
|
||
|
# WARNING! All changes made in this file will be lost!
|
||
|
|
||
|
|
||
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
||
|
|
||
|
|
||
|
class Ui_Dialog(object):
|
||
|
def setupUi(self, Dialog):
|
||
|
Dialog.setObjectName("Dialog")
|
||
|
Dialog.resize(513, 466)
|
||
|
self.verticalLayout = QtWidgets.QVBoxLayout(Dialog)
|
||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||
|
self.tabWidget = QtWidgets.QTabWidget(Dialog)
|
||
|
self.tabWidget.setTabShape(QtWidgets.QTabWidget.Rounded)
|
||
|
self.tabWidget.setObjectName("tabWidget")
|
||
|
self.tabWidgetPage1 = QtWidgets.QWidget()
|
||
|
self.tabWidgetPage1.setObjectName("tabWidgetPage1")
|
||
|
self.gridLayout_2 = QtWidgets.QGridLayout(self.tabWidgetPage1)
|
||
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
||
|
self.frame_2 = QtWidgets.QFrame(self.tabWidgetPage1)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
|
||
|
self.frame_2.setSizePolicy(sizePolicy)
|
||
|
self.frame_2.setFrameShape(QtWidgets.QFrame.Panel)
|
||
|
self.frame_2.setFrameShadow(QtWidgets.QFrame.Plain)
|
||
|
self.frame_2.setLineWidth(3)
|
||
|
self.frame_2.setMidLineWidth(5)
|
||
|
self.frame_2.setObjectName("frame_2")
|
||
|
self.gridLayout_4 = QtWidgets.QGridLayout(self.frame_2)
|
||
|
self.gridLayout_4.setSpacing(3)
|
||
|
self.gridLayout_4.setObjectName("gridLayout_4")
|
||
|
self.bottomMarginDoubleSpinBox = QtWidgets.QDoubleSpinBox(self.frame_2)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.bottomMarginDoubleSpinBox.sizePolicy().hasHeightForWidth())
|
||
|
self.bottomMarginDoubleSpinBox.setSizePolicy(sizePolicy)
|
||
|
self.bottomMarginDoubleSpinBox.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
|
||
|
self.bottomMarginDoubleSpinBox.setObjectName("bottomMarginDoubleSpinBox")
|
||
|
self.gridLayout_4.addWidget(self.bottomMarginDoubleSpinBox, 5, 2, 1, 1)
|
||
|
self.bottomMarginLabel = QtWidgets.QLabel(self.frame_2)
|
||
|
self.bottomMarginLabel.setObjectName("bottomMarginLabel")
|
||
|
self.gridLayout_4.addWidget(self.bottomMarginLabel, 5, 1, 1, 1)
|
||
|
self.rightMarginLabel = QtWidgets.QLabel(self.frame_2)
|
||
|
self.rightMarginLabel.setAlignment(QtCore.Qt.AlignCenter)
|
||
|
self.rightMarginLabel.setObjectName("rightMarginLabel")
|
||
|
self.gridLayout_4.addWidget(self.rightMarginLabel, 2, 3, 1, 1)
|
||
|
self.rightMarginDoubleSpinBox = QtWidgets.QDoubleSpinBox(self.frame_2)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.rightMarginDoubleSpinBox.sizePolicy().hasHeightForWidth())
|
||
|
self.rightMarginDoubleSpinBox.setSizePolicy(sizePolicy)
|
||
|
self.rightMarginDoubleSpinBox.setObjectName("rightMarginDoubleSpinBox")
|
||
|
self.gridLayout_4.addWidget(self.rightMarginDoubleSpinBox, 3, 3, 1, 1)
|
||
|
self.leftMarginDoubleSpinBox = QtWidgets.QDoubleSpinBox(self.frame_2)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.leftMarginDoubleSpinBox.sizePolicy().hasHeightForWidth())
|
||
|
self.leftMarginDoubleSpinBox.setSizePolicy(sizePolicy)
|
||
|
self.leftMarginDoubleSpinBox.setObjectName("leftMarginDoubleSpinBox")
|
||
|
self.gridLayout_4.addWidget(self.leftMarginDoubleSpinBox, 3, 0, 1, 1)
|
||
|
self.leftMarginLabel = QtWidgets.QLabel(self.frame_2)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.leftMarginLabel.sizePolicy().hasHeightForWidth())
|
||
|
self.leftMarginLabel.setSizePolicy(sizePolicy)
|
||
|
self.leftMarginLabel.setAlignment(QtCore.Qt.AlignCenter)
|
||
|
self.leftMarginLabel.setObjectName("leftMarginLabel")
|
||
|
self.gridLayout_4.addWidget(self.leftMarginLabel, 2, 0, 1, 1)
|
||
|
self.topMarginLabel = QtWidgets.QLabel(self.frame_2)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.topMarginLabel.sizePolicy().hasHeightForWidth())
|
||
|
self.topMarginLabel.setSizePolicy(sizePolicy)
|
||
|
self.topMarginLabel.setObjectName("topMarginLabel")
|
||
|
self.gridLayout_4.addWidget(self.topMarginLabel, 0, 1, 1, 1)
|
||
|
self.topMarginDoubleSpinBox = QtWidgets.QDoubleSpinBox(self.frame_2)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.topMarginDoubleSpinBox.sizePolicy().hasHeightForWidth())
|
||
|
self.topMarginDoubleSpinBox.setSizePolicy(sizePolicy)
|
||
|
self.topMarginDoubleSpinBox.setObjectName("topMarginDoubleSpinBox")
|
||
|
self.gridLayout_4.addWidget(self.topMarginDoubleSpinBox, 0, 2, 1, 1)
|
||
|
self.frame = QtWidgets.QFrame(self.frame_2)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
|
||
|
self.frame.setSizePolicy(sizePolicy)
|
||
|
self.frame.setFrameShape(QtWidgets.QFrame.WinPanel)
|
||
|
self.frame.setMidLineWidth(0)
|
||
|
self.frame.setObjectName("frame")
|
||
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame)
|
||
|
self.verticalLayout_2.setSpacing(0)
|
||
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
||
|
self.gridLayout_4.addWidget(self.frame, 1, 1, 4, 2)
|
||
|
self.gridLayout_2.addWidget(self.frame_2, 1, 0, 2, 2)
|
||
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
|
||
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
||
|
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||
|
self.verticalLayout_3.addItem(spacerItem)
|
||
|
self.heightLabel = QtWidgets.QLabel(self.tabWidgetPage1)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.heightLabel.sizePolicy().hasHeightForWidth())
|
||
|
self.heightLabel.setSizePolicy(sizePolicy)
|
||
|
self.heightLabel.setObjectName("heightLabel")
|
||
|
self.verticalLayout_3.addWidget(self.heightLabel)
|
||
|
self.heightDoubleSpinBox = QtWidgets.QDoubleSpinBox(self.tabWidgetPage1)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.heightDoubleSpinBox.sizePolicy().hasHeightForWidth())
|
||
|
self.heightDoubleSpinBox.setSizePolicy(sizePolicy)
|
||
|
self.heightDoubleSpinBox.setObjectName("heightDoubleSpinBox")
|
||
|
self.verticalLayout_3.addWidget(self.heightDoubleSpinBox)
|
||
|
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||
|
self.verticalLayout_3.addItem(spacerItem1)
|
||
|
self.gridLayout_2.addLayout(self.verticalLayout_3, 1, 2, 2, 1)
|
||
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
||
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||
|
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
||
|
self.horizontalLayout.addItem(spacerItem2)
|
||
|
self.widthLabel = QtWidgets.QLabel(self.tabWidgetPage1)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.widthLabel.sizePolicy().hasHeightForWidth())
|
||
|
self.widthLabel.setSizePolicy(sizePolicy)
|
||
|
self.widthLabel.setObjectName("widthLabel")
|
||
|
self.horizontalLayout.addWidget(self.widthLabel)
|
||
|
self.widthDoubleSpinBox = QtWidgets.QDoubleSpinBox(self.tabWidgetPage1)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.widthDoubleSpinBox.sizePolicy().hasHeightForWidth())
|
||
|
self.widthDoubleSpinBox.setSizePolicy(sizePolicy)
|
||
|
self.widthDoubleSpinBox.setObjectName("widthDoubleSpinBox")
|
||
|
self.horizontalLayout.addWidget(self.widthDoubleSpinBox)
|
||
|
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
||
|
self.horizontalLayout.addItem(spacerItem3)
|
||
|
self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 2)
|
||
|
self.tabWidget.addTab(self.tabWidgetPage1, "")
|
||
|
self.tab = QtWidgets.QWidget()
|
||
|
self.tab.setObjectName("tab")
|
||
|
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tab)
|
||
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||
|
self.label_11 = QtWidgets.QLabel(self.tab)
|
||
|
self.label_11.setObjectName("label_11")
|
||
|
self.verticalLayout_4.addWidget(self.label_11)
|
||
|
self.spinBox_2 = QtWidgets.QSpinBox(self.tab)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.spinBox_2.sizePolicy().hasHeightForWidth())
|
||
|
self.spinBox_2.setSizePolicy(sizePolicy)
|
||
|
self.spinBox_2.setMaximum(1000)
|
||
|
self.spinBox_2.setProperty("value", 100)
|
||
|
self.spinBox_2.setObjectName("spinBox_2")
|
||
|
self.verticalLayout_4.addWidget(self.spinBox_2)
|
||
|
self.legendLabel = QtWidgets.QLabel(self.tab)
|
||
|
self.legendLabel.setObjectName("legendLabel")
|
||
|
self.verticalLayout_4.addWidget(self.legendLabel)
|
||
|
self.spinBox = QtWidgets.QSpinBox(self.tab)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.spinBox.sizePolicy().hasHeightForWidth())
|
||
|
self.spinBox.setSizePolicy(sizePolicy)
|
||
|
self.spinBox.setMaximum(1000)
|
||
|
self.spinBox.setProperty("value", 100)
|
||
|
self.spinBox.setObjectName("spinBox")
|
||
|
self.verticalLayout_4.addWidget(self.spinBox)
|
||
|
self.groupBox_4 = QtWidgets.QGroupBox(self.tab)
|
||
|
self.groupBox_4.setObjectName("groupBox_4")
|
||
|
self.formLayout_2 = QtWidgets.QFormLayout(self.groupBox_4)
|
||
|
self.formLayout_2.setObjectName("formLayout_2")
|
||
|
self.verticalAxisTickLabel = QtWidgets.QLabel(self.groupBox_4)
|
||
|
self.verticalAxisTickLabel.setObjectName("verticalAxisTickLabel")
|
||
|
self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.verticalAxisTickLabel)
|
||
|
self.spinBox_5 = QtWidgets.QSpinBox(self.groupBox_4)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.spinBox_5.sizePolicy().hasHeightForWidth())
|
||
|
self.spinBox_5.setSizePolicy(sizePolicy)
|
||
|
self.spinBox_5.setMaximum(1000)
|
||
|
self.spinBox_5.setProperty("value", 100)
|
||
|
self.spinBox_5.setObjectName("spinBox_5")
|
||
|
self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.spinBox_5)
|
||
|
self.verticalAxisLabelSpinBox = QtWidgets.QSpinBox(self.groupBox_4)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.verticalAxisLabelSpinBox.sizePolicy().hasHeightForWidth())
|
||
|
self.verticalAxisLabelSpinBox.setSizePolicy(sizePolicy)
|
||
|
self.verticalAxisLabelSpinBox.setMaximum(1000)
|
||
|
self.verticalAxisLabelSpinBox.setProperty("value", 100)
|
||
|
self.verticalAxisLabelSpinBox.setObjectName("verticalAxisLabelSpinBox")
|
||
|
self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.verticalAxisLabelSpinBox)
|
||
|
self.verticalAxisLabelLabel = QtWidgets.QLabel(self.groupBox_4)
|
||
|
self.verticalAxisLabelLabel.setObjectName("verticalAxisLabelLabel")
|
||
|
self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.verticalAxisLabelLabel)
|
||
|
self.verticalLayout_4.addWidget(self.groupBox_4)
|
||
|
self.groupBox_3 = QtWidgets.QGroupBox(self.tab)
|
||
|
self.groupBox_3.setObjectName("groupBox_3")
|
||
|
self.formLayout = QtWidgets.QFormLayout(self.groupBox_3)
|
||
|
self.formLayout.setObjectName("formLayout")
|
||
|
self.spinBox_4 = QtWidgets.QSpinBox(self.groupBox_3)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.spinBox_4.sizePolicy().hasHeightForWidth())
|
||
|
self.spinBox_4.setSizePolicy(sizePolicy)
|
||
|
self.spinBox_4.setMaximum(1000)
|
||
|
self.spinBox_4.setProperty("value", 100)
|
||
|
self.spinBox_4.setObjectName("spinBox_4")
|
||
|
self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.spinBox_4)
|
||
|
self.spinBox_3 = QtWidgets.QSpinBox(self.groupBox_3)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.spinBox_3.sizePolicy().hasHeightForWidth())
|
||
|
self.spinBox_3.setSizePolicy(sizePolicy)
|
||
|
self.spinBox_3.setMaximum(1000)
|
||
|
self.spinBox_3.setProperty("value", 100)
|
||
|
self.spinBox_3.setObjectName("spinBox_3")
|
||
|
self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.spinBox_3)
|
||
|
self.label_10 = QtWidgets.QLabel(self.groupBox_3)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth())
|
||
|
self.label_10.setSizePolicy(sizePolicy)
|
||
|
self.label_10.setObjectName("label_10")
|
||
|
self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_10)
|
||
|
self.label_12 = QtWidgets.QLabel(self.groupBox_3)
|
||
|
self.label_12.setObjectName("label_12")
|
||
|
self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_12)
|
||
|
self.verticalLayout_4.addWidget(self.groupBox_3)
|
||
|
spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||
|
self.verticalLayout_4.addItem(spacerItem4)
|
||
|
self.tabWidget.addTab(self.tab, "")
|
||
|
self.tab_2 = QtWidgets.QWidget()
|
||
|
self.tab_2.setObjectName("tab_2")
|
||
|
self.gridLayout_3 = QtWidgets.QGridLayout(self.tab_2)
|
||
|
self.gridLayout_3.setObjectName("gridLayout_3")
|
||
|
self.spinBox_6 = QtWidgets.QSpinBox(self.tab_2)
|
||
|
self.spinBox_6.setMaximum(1000)
|
||
|
self.spinBox_6.setProperty("value", 100)
|
||
|
self.spinBox_6.setObjectName("spinBox_6")
|
||
|
self.gridLayout_3.addWidget(self.spinBox_6, 0, 1, 1, 1)
|
||
|
self.label_3 = QtWidgets.QLabel(self.tab_2)
|
||
|
self.label_3.setObjectName("label_3")
|
||
|
self.gridLayout_3.addWidget(self.label_3, 0, 0, 1, 1)
|
||
|
spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||
|
self.gridLayout_3.addItem(spacerItem5, 2, 1, 1, 1)
|
||
|
self.doubleSpinBox_7 = QtWidgets.QDoubleSpinBox(self.tab_2)
|
||
|
self.doubleSpinBox_7.setDecimals(1)
|
||
|
self.doubleSpinBox_7.setMaximum(20.0)
|
||
|
self.doubleSpinBox_7.setSingleStep(0.5)
|
||
|
self.doubleSpinBox_7.setProperty("value", 1.0)
|
||
|
self.doubleSpinBox_7.setObjectName("doubleSpinBox_7")
|
||
|
self.gridLayout_3.addWidget(self.doubleSpinBox_7, 1, 1, 1, 1)
|
||
|
self.label_4 = QtWidgets.QLabel(self.tab_2)
|
||
|
self.label_4.setObjectName("label_4")
|
||
|
self.gridLayout_3.addWidget(self.label_4, 1, 0, 1, 1)
|
||
|
self.tabWidget.addTab(self.tab_2, "")
|
||
|
self.verticalLayout.addWidget(self.tabWidget)
|
||
|
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
|
||
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
||
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
||
|
self.buttonBox.setObjectName("buttonBox")
|
||
|
self.verticalLayout.addWidget(self.buttonBox)
|
||
|
|
||
|
self.retranslateUi(Dialog)
|
||
|
self.tabWidget.setCurrentIndex(0)
|
||
|
self.buttonBox.accepted.connect(Dialog.accept)
|
||
|
self.buttonBox.rejected.connect(Dialog.reject)
|
||
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
||
|
|
||
|
def retranslateUi(self, Dialog):
|
||
|
_translate = QtCore.QCoreApplication.translate
|
||
|
Dialog.setWindowTitle(_translate("Dialog", "Grace settings"))
|
||
|
self.bottomMarginDoubleSpinBox.setSuffix(_translate("Dialog", " cm"))
|
||
|
self.bottomMarginLabel.setText(_translate("Dialog", "Bottom margin"))
|
||
|
self.rightMarginLabel.setText(_translate("Dialog", "Right margin"))
|
||
|
self.rightMarginDoubleSpinBox.setSuffix(_translate("Dialog", " cm"))
|
||
|
self.leftMarginDoubleSpinBox.setSuffix(_translate("Dialog", " cm"))
|
||
|
self.leftMarginLabel.setText(_translate("Dialog", "Left margin"))
|
||
|
self.topMarginLabel.setText(_translate("Dialog", "Top margin"))
|
||
|
self.topMarginDoubleSpinBox.setSuffix(_translate("Dialog", " cm"))
|
||
|
self.heightLabel.setText(_translate("Dialog", "Paper height"))
|
||
|
self.heightDoubleSpinBox.setSuffix(_translate("Dialog", " cm"))
|
||
|
self.widthLabel.setText(_translate("Dialog", "Paper width"))
|
||
|
self.widthDoubleSpinBox.setSuffix(_translate("Dialog", " cm"))
|
||
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabWidgetPage1), _translate("Dialog", "Dimensions"))
|
||
|
self.label_11.setText(_translate("Dialog", "Title"))
|
||
|
self.legendLabel.setText(_translate("Dialog", "Legend"))
|
||
|
self.groupBox_4.setTitle(_translate("Dialog", "Vertical axis"))
|
||
|
self.verticalAxisTickLabel.setText(_translate("Dialog", "tick"))
|
||
|
self.verticalAxisLabelLabel.setText(_translate("Dialog", "label"))
|
||
|
self.groupBox_3.setTitle(_translate("Dialog", "Horizontal axis"))
|
||
|
self.label_10.setText(_translate("Dialog", "tick"))
|
||
|
self.label_12.setText(_translate("Dialog", "label"))
|
||
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Dialog", "Fonts"))
|
||
|
self.label_3.setText(_translate("Dialog", "Default symbol size"))
|
||
|
self.label_4.setText(_translate("Dialog", "Default line size"))
|
||
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("Dialog", "Symbol/Line"))
|