Пример #1
0
class Ui_BarPlotBars(object):
    def setupUi(self, BarPlotBars):
        BarPlotBars.setObjectName(_fromUtf8("BarPlotBars"))
        BarPlotBars.resize(469, 360)
        self.horizontalLayout = QtGui.QHBoxLayout(BarPlotBars)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.wavePairGroupBox = QtGui.QGroupBox(BarPlotBars)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wavePairGroupBox.sizePolicy().hasHeightForWidth())
        self.wavePairGroupBox.setSizePolicy(sizePolicy)
        self.wavePairGroupBox.setMinimumSize(QtCore.QSize(225, 0))
        self.wavePairGroupBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.wavePairGroupBox.setBaseSize(QtCore.QSize(100, 0))
        self.wavePairGroupBox.setObjectName(_fromUtf8("wavePairGroupBox"))
        self.gridLayout_6 = QtGui.QGridLayout(self.wavePairGroupBox)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.xAxisLabel = QtGui.QLabel(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.xAxisLabel.sizePolicy().hasHeightForWidth())
        self.xAxisLabel.setSizePolicy(sizePolicy)
        self.xAxisLabel.setMinimumSize(QtCore.QSize(100, 0))
        self.xAxisLabel.setObjectName(_fromUtf8("xAxisLabel"))
        self.gridLayout_6.addWidget(self.xAxisLabel, 0, 0, 1, 1)
        self.xAxisListView = QtGui.QListView(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.xAxisListView.sizePolicy().hasHeightForWidth())
        self.xAxisListView.setSizePolicy(sizePolicy)
        self.xAxisListView.setMinimumSize(QtCore.QSize(0, 0))
        self.xAxisListView.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.xAxisListView.setTextElideMode(QtCore.Qt.ElideRight)
        self.xAxisListView.setObjectName(_fromUtf8("xAxisListView"))
        self.gridLayout_6.addWidget(self.xAxisListView, 1, 0, 1, 1)
        self.yAxisListView = QtGui.QListView(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.yAxisListView.sizePolicy().hasHeightForWidth())
        self.yAxisListView.setSizePolicy(sizePolicy)
        self.yAxisListView.setMinimumSize(QtCore.QSize(0, 0))
        self.yAxisListView.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.yAxisListView.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.yAxisListView.setSelectionBehavior(QtGui.QAbstractItemView.SelectItems)
        self.yAxisListView.setObjectName(_fromUtf8("yAxisListView"))
        self.gridLayout_6.addWidget(self.yAxisListView, 1, 1, 1, 1)
        self.wavePairTableView = QtGui.QTableView(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wavePairTableView.sizePolicy().hasHeightForWidth())
        self.wavePairTableView.setSizePolicy(sizePolicy)
        self.wavePairTableView.setMinimumSize(QtCore.QSize(0, 0))
        self.wavePairTableView.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.wavePairTableView.setEditTriggers(QtGui.QAbstractItemView.DoubleClicked)
        self.wavePairTableView.setAlternatingRowColors(False)
        self.wavePairTableView.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.wavePairTableView.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.wavePairTableView.setTextElideMode(QtCore.Qt.ElideRight)
        self.wavePairTableView.setSortingEnabled(True)
        self.wavePairTableView.setObjectName(_fromUtf8("wavePairTableView"))
        self.wavePairTableView.horizontalHeader().setDefaultSectionSize(75)
        self.wavePairTableView.verticalHeader().setVisible(False)
        self.gridLayout_6.addWidget(self.wavePairTableView, 3, 0, 1, 2)
        self.yAxisLabel = QtGui.QLabel(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.yAxisLabel.sizePolicy().hasHeightForWidth())
        self.yAxisLabel.setSizePolicy(sizePolicy)
        self.yAxisLabel.setObjectName(_fromUtf8("yAxisLabel"))
        self.gridLayout_6.addWidget(self.yAxisLabel, 0, 1, 1, 1)
        self.addwavePairButton = QtGui.QPushButton(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.addwavePairButton.sizePolicy().hasHeightForWidth())
        self.addwavePairButton.setSizePolicy(sizePolicy)
        self.addwavePairButton.setMinimumSize(QtCore.QSize(80, 0))
        self.addwavePairButton.setObjectName(_fromUtf8("addwavePairButton"))
        self.gridLayout_6.addWidget(self.addwavePairButton, 2, 1, 1, 1)
        self.removewavePairButton = QtGui.QPushButton(self.wavePairGroupBox)
        self.removewavePairButton.setObjectName(_fromUtf8("removewavePairButton"))
        self.gridLayout_6.addWidget(self.removewavePairButton, 2, 0, 1, 1)
        self.horizontalLayout.addWidget(self.wavePairGroupBox)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox = QtGui.QGroupBox(BarPlotBars)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.formLayout = QtGui.QFormLayout(self.groupBox)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_7 = QtGui.QLabel(self.groupBox)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_7)
        self.orientation = QtGui.QComboBox(self.groupBox)
        self.orientation.setObjectName(_fromUtf8("orientation"))
        self.orientation.addItem(_fromUtf8(""))
        self.orientation.addItem(_fromUtf8(""))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.orientation)
        self.verticalLayout.addWidget(self.groupBox)
        self.wavePairOptionsGroupBox = QtGui.QGroupBox(BarPlotBars)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wavePairOptionsGroupBox.sizePolicy().hasHeightForWidth())
        self.wavePairOptionsGroupBox.setSizePolicy(sizePolicy)
        self.wavePairOptionsGroupBox.setObjectName(_fromUtf8("wavePairOptionsGroupBox"))
        self.formlayout = QtGui.QFormLayout(self.wavePairOptionsGroupBox)
        self.formlayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formlayout.setObjectName(_fromUtf8("formlayout"))
        self.label = QtGui.QLabel(self.wavePairOptionsGroupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.formlayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.barThickness = QtGui.QDoubleSpinBox(self.wavePairOptionsGroupBox)
        self.barThickness.setMaximum(999999.0)
        self.barThickness.setSingleStep(0.5)
        self.barThickness.setProperty(_fromUtf8("value"), 1.0)
        self.barThickness.setObjectName(_fromUtf8("barThickness"))
        self.formlayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.barThickness)
        self.label_2 = QtGui.QLabel(self.wavePairOptionsGroupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formlayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.barOffset = QtGui.QDoubleSpinBox(self.wavePairOptionsGroupBox)
        self.barOffset.setMaximum(999999.0)
        self.barOffset.setObjectName(_fromUtf8("barOffset"))
        self.formlayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.barOffset)
        self.label_3 = QtGui.QLabel(self.wavePairOptionsGroupBox)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formlayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.fillColor = QColorButton(self.wavePairOptionsGroupBox)
        self.fillColor.setMinimumSize(QtCore.QSize(55, 0))
        self.fillColor.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fillColor.setStyleSheet(_fromUtf8("background-color: rgb(0, 0, 255);\n"
"color: rgb(0, 0, 0);"))
        self.fillColor.setObjectName(_fromUtf8("fillColor"))
        self.formlayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.fillColor)
        self.label_4 = QtGui.QLabel(self.wavePairOptionsGroupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formlayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
        self.edgeColor = QColorButton(self.wavePairOptionsGroupBox)
        self.edgeColor.setMinimumSize(QtCore.QSize(55, 0))
        self.edgeColor.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.edgeColor.setStyleSheet(_fromUtf8("background-color: rgb(0, 0, 0);\n"
"color: rgb(255, 255, 255);"))
        self.edgeColor.setObjectName(_fromUtf8("edgeColor"))
        self.formlayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.edgeColor)
        self.label_5 = QtGui.QLabel(self.wavePairOptionsGroupBox)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formlayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_5)
        self.edgeWidth = QtGui.QDoubleSpinBox(self.wavePairOptionsGroupBox)
        self.edgeWidth.setObjectName(_fromUtf8("edgeWidth"))
        self.formlayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.edgeWidth)
        self.label_6 = QtGui.QLabel(self.wavePairOptionsGroupBox)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formlayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_6)
        self.align = QtGui.QComboBox(self.wavePairOptionsGroupBox)
        self.align.setObjectName(_fromUtf8("align"))
        self.align.addItem(_fromUtf8(""))
        self.align.addItem(_fromUtf8(""))
        self.formlayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.align)
        self.verticalLayout.addWidget(self.wavePairOptionsGroupBox)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.storedSettingsButton = QStoredSettingsButton(BarPlotBars)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.storedSettingsButton.sizePolicy().hasHeightForWidth())
        self.storedSettingsButton.setSizePolicy(sizePolicy)
        self.storedSettingsButton.setMaximumSize(QtCore.QSize(26, 16777215))
        self.storedSettingsButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
        self.storedSettingsButton.setArrowType(QtCore.Qt.LeftArrow)
        self.storedSettingsButton.setObjectName(_fromUtf8("storedSettingsButton"))
        self.horizontalLayout.addWidget(self.storedSettingsButton)

        self.retranslateUi(BarPlotBars)
        QtCore.QObject.connect(self.addwavePairButton, QtCore.SIGNAL(_fromUtf8("clicked()")), BarPlotBars.addWavePairsToPlot)
        QtCore.QObject.connect(self.removewavePairButton, QtCore.SIGNAL(_fromUtf8("clicked()")), BarPlotBars.deleteSelectedWavePairs)
        QtCore.QObject.connect(self.wavePairTableView, QtCore.SIGNAL(_fromUtf8("customContextMenuRequested(QPoint)")), BarPlotBars.showWavePairListMenu)
        QtCore.QObject.connect(self.storedSettingsButton, QtCore.SIGNAL(_fromUtf8("clicked()")), self.storedSettingsButton.toggleWidget)
        QtCore.QObject.connect(self.edgeColor, QtCore.SIGNAL(_fromUtf8("clicked()")), self.edgeColor.createColorDialog)
        QtCore.QObject.connect(self.fillColor, QtCore.SIGNAL(_fromUtf8("clicked()")), self.fillColor.createColorDialog)
        BarPlotBars.setTabOrder(self.xAxisListView, self.yAxisListView)
        BarPlotBars.setTabOrder(self.yAxisListView, self.addwavePairButton)
        BarPlotBars.setTabOrder(self.addwavePairButton, self.wavePairTableView)
        BarPlotBars.setTabOrder(self.wavePairTableView, self.removewavePairButton)
        BarPlotBars.setTabOrder(self.removewavePairButton, self.orientation)
        BarPlotBars.setTabOrder(self.orientation, self.barThickness)
        BarPlotBars.setTabOrder(self.barThickness, self.barOffset)
        BarPlotBars.setTabOrder(self.barOffset, self.fillColor)
        BarPlotBars.setTabOrder(self.fillColor, self.edgeColor)
        BarPlotBars.setTabOrder(self.edgeColor, self.edgeWidth)
        BarPlotBars.setTabOrder(self.edgeWidth, self.align)
        BarPlotBars.setTabOrder(self.align, self.storedSettingsButton)

    def retranslateUi(self, BarPlotBars):
        BarPlotBars.setWindowTitle(QtGui.QApplication.translate("BarPlotBars", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.wavePairGroupBox.setTitle(QtGui.QApplication.translate("BarPlotBars", "Add/Select Bars", None, QtGui.QApplication.UnicodeUTF8))
        self.xAxisLabel.setText(QtGui.QApplication.translate("BarPlotBars", "X Axis", None, QtGui.QApplication.UnicodeUTF8))
        self.yAxisLabel.setText(QtGui.QApplication.translate("BarPlotBars", "Y Axis", None, QtGui.QApplication.UnicodeUTF8))
        self.addwavePairButton.setText(QtGui.QApplication.translate("BarPlotBars", "Add Bar(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.removewavePairButton.setText(QtGui.QApplication.translate("BarPlotBars", "Remove Bar(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("BarPlotBars", "Plot Options", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("BarPlotBars", "Orientation", None, QtGui.QApplication.UnicodeUTF8))
        self.orientation.setItemText(0, QtGui.QApplication.translate("BarPlotBars", "vertical", None, QtGui.QApplication.UnicodeUTF8))
        self.orientation.setItemText(1, QtGui.QApplication.translate("BarPlotBars", "horizontal", None, QtGui.QApplication.UnicodeUTF8))
        self.wavePairOptionsGroupBox.setTitle(QtGui.QApplication.translate("BarPlotBars", "Bar Options", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("BarPlotBars", "Thickness", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("BarPlotBars", "Offset", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("BarPlotBars", "Fill Color", None, QtGui.QApplication.UnicodeUTF8))
        self.fillColor.setText(QtGui.QApplication.translate("BarPlotBars", "(0,0,255,255)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("BarPlotBars", "Edge Color", None, QtGui.QApplication.UnicodeUTF8))
        self.edgeColor.setText(QtGui.QApplication.translate("BarPlotBars", "(0,0,0,255)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("BarPlotBars", "Edge Width", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("BarPlotBars", "Align", None, QtGui.QApplication.UnicodeUTF8))
        self.align.setItemText(0, QtGui.QApplication.translate("BarPlotBars", "edge", None, QtGui.QApplication.UnicodeUTF8))
        self.align.setItemText(1, QtGui.QApplication.translate("BarPlotBars", "center", None, QtGui.QApplication.UnicodeUTF8))
        self.storedSettingsButton.setText(QtGui.QApplication.translate("BarPlotBars", "S\n"
"t\n"
"o\n"
"r\n"
"e\n"
"d\n"
"\n"
"S\n"
"e\n"
"t\n"
"t\n"
"i\n"
"n\n"
"g\n"
"s", None, QtGui.QApplication.UnicodeUTF8))
Пример #2
0
class Ui_ScatterPlotTraces(object):
    def setupUi(self, ScatterPlotTraces):
        ScatterPlotTraces.setObjectName(_fromUtf8("ScatterPlotTraces"))
        ScatterPlotTraces.resize(469, 360)
        self.horizontalLayout = QtGui.QHBoxLayout(ScatterPlotTraces)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.wavePairGroupBox = QtGui.QGroupBox(ScatterPlotTraces)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wavePairGroupBox.sizePolicy().hasHeightForWidth())
        self.wavePairGroupBox.setSizePolicy(sizePolicy)
        self.wavePairGroupBox.setMinimumSize(QtCore.QSize(225, 0))
        self.wavePairGroupBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.wavePairGroupBox.setBaseSize(QtCore.QSize(100, 0))
        self.wavePairGroupBox.setObjectName(_fromUtf8("wavePairGroupBox"))
        self.gridLayout_6 = QtGui.QGridLayout(self.wavePairGroupBox)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.xAxisLabel = QtGui.QLabel(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.xAxisLabel.sizePolicy().hasHeightForWidth())
        self.xAxisLabel.setSizePolicy(sizePolicy)
        self.xAxisLabel.setMinimumSize(QtCore.QSize(100, 0))
        self.xAxisLabel.setObjectName(_fromUtf8("xAxisLabel"))
        self.gridLayout_6.addWidget(self.xAxisLabel, 0, 0, 1, 1)
        self.xAxisListView = QtGui.QListView(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.xAxisListView.sizePolicy().hasHeightForWidth())
        self.xAxisListView.setSizePolicy(sizePolicy)
        self.xAxisListView.setMinimumSize(QtCore.QSize(0, 0))
        self.xAxisListView.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.xAxisListView.setTextElideMode(QtCore.Qt.ElideRight)
        self.xAxisListView.setObjectName(_fromUtf8("xAxisListView"))
        self.gridLayout_6.addWidget(self.xAxisListView, 1, 0, 1, 1)
        self.yAxisListView = QtGui.QListView(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.yAxisListView.sizePolicy().hasHeightForWidth())
        self.yAxisListView.setSizePolicy(sizePolicy)
        self.yAxisListView.setMinimumSize(QtCore.QSize(0, 0))
        self.yAxisListView.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.yAxisListView.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.yAxisListView.setSelectionBehavior(QtGui.QAbstractItemView.SelectItems)
        self.yAxisListView.setObjectName(_fromUtf8("yAxisListView"))
        self.gridLayout_6.addWidget(self.yAxisListView, 1, 1, 1, 1)
        self.wavePairTableView = QtGui.QTableView(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wavePairTableView.sizePolicy().hasHeightForWidth())
        self.wavePairTableView.setSizePolicy(sizePolicy)
        self.wavePairTableView.setMinimumSize(QtCore.QSize(0, 0))
        self.wavePairTableView.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.wavePairTableView.setEditTriggers(QtGui.QAbstractItemView.DoubleClicked)
        self.wavePairTableView.setAlternatingRowColors(False)
        self.wavePairTableView.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.wavePairTableView.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.wavePairTableView.setTextElideMode(QtCore.Qt.ElideRight)
        self.wavePairTableView.setSortingEnabled(True)
        self.wavePairTableView.setObjectName(_fromUtf8("wavePairTableView"))
        self.wavePairTableView.horizontalHeader().setDefaultSectionSize(75)
        self.wavePairTableView.verticalHeader().setVisible(False)
        self.gridLayout_6.addWidget(self.wavePairTableView, 3, 0, 1, 2)
        self.yAxisLabel = QtGui.QLabel(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.yAxisLabel.sizePolicy().hasHeightForWidth())
        self.yAxisLabel.setSizePolicy(sizePolicy)
        self.yAxisLabel.setObjectName(_fromUtf8("yAxisLabel"))
        self.gridLayout_6.addWidget(self.yAxisLabel, 0, 1, 1, 1)
        self.addwavePairButton = QtGui.QPushButton(self.wavePairGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.addwavePairButton.sizePolicy().hasHeightForWidth())
        self.addwavePairButton.setSizePolicy(sizePolicy)
        self.addwavePairButton.setMinimumSize(QtCore.QSize(80, 0))
        self.addwavePairButton.setObjectName(_fromUtf8("addwavePairButton"))
        self.gridLayout_6.addWidget(self.addwavePairButton, 2, 1, 1, 1)
        self.removewavePairButton = QtGui.QPushButton(self.wavePairGroupBox)
        self.removewavePairButton.setObjectName(_fromUtf8("removewavePairButton"))
        self.gridLayout_6.addWidget(self.removewavePairButton, 2, 0, 1, 1)
        self.horizontalLayout.addWidget(self.wavePairGroupBox)
        self.wavePairOptionsGroupBox = QtGui.QGroupBox(ScatterPlotTraces)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wavePairOptionsGroupBox.sizePolicy().hasHeightForWidth())
        self.wavePairOptionsGroupBox.setSizePolicy(sizePolicy)
        self.wavePairOptionsGroupBox.setMinimumSize(QtCore.QSize(0, 0))
        self.wavePairOptionsGroupBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.wavePairOptionsGroupBox.setBaseSize(QtCore.QSize(300, 0))
        self.wavePairOptionsGroupBox.setObjectName(_fromUtf8("wavePairOptionsGroupBox"))
        self.gridLayout_5 = QtGui.QGridLayout(self.wavePairOptionsGroupBox)
        self.gridLayout_5.setMargin(3)
        self.gridLayout_5.setVerticalSpacing(2)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.groupBox = QtGui.QGroupBox(self.wavePairOptionsGroupBox)
        self.groupBox.setFlat(True)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.formLayout = QtGui.QFormLayout(self.groupBox)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_16 = QtGui.QLabel(self.groupBox)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_16)
        self.lineStyle = QtGui.QComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineStyle.sizePolicy().hasHeightForWidth())
        self.lineStyle.setSizePolicy(sizePolicy)
        self.lineStyle.setMinimumSize(QtCore.QSize(75, 0))
        self.lineStyle.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineStyle.setObjectName(_fromUtf8("lineStyle"))
        self.lineStyle.addItem(_fromUtf8(""))
        self.lineStyle.addItem(_fromUtf8(""))
        self.lineStyle.addItem(_fromUtf8(""))
        self.lineStyle.addItem(_fromUtf8(""))
        self.lineStyle.addItem(_fromUtf8(""))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.lineStyle)
        self.label_13 = QtGui.QLabel(self.groupBox)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_13)
        self.lineWidth = QtGui.QDoubleSpinBox(self.groupBox)
        self.lineWidth.setMinimumSize(QtCore.QSize(55, 0))
        self.lineWidth.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineWidth.setProperty(_fromUtf8("value"), 1.0)
        self.lineWidth.setObjectName(_fromUtf8("lineWidth"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.lineWidth)
        self.label_15 = QtGui.QLabel(self.groupBox)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_15)
        self.lineColor = QColorButton(self.groupBox)
        self.lineColor.setMinimumSize(QtCore.QSize(55, 0))
        self.lineColor.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineColor.setStyleSheet(_fromUtf8("background-color: rgb(0, 0, 0);\n"
"color: rgb(255, 255, 255);"))
        self.lineColor.setObjectName(_fromUtf8("lineColor"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.lineColor)
        self.gridLayout_5.addWidget(self.groupBox, 0, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.wavePairOptionsGroupBox)
        self.groupBox_3.setFlat(True)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.formLayout_3 = QtGui.QFormLayout(self.groupBox_3)
        self.formLayout_3.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
        self.label_21 = QtGui.QLabel(self.groupBox_3)
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_21)
        self.pointMarkerEdgeWidth = QtGui.QDoubleSpinBox(self.groupBox_3)
        self.pointMarkerEdgeWidth.setMinimumSize(QtCore.QSize(55, 0))
        self.pointMarkerEdgeWidth.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.pointMarkerEdgeWidth.setProperty(_fromUtf8("value"), 1.0)
        self.pointMarkerEdgeWidth.setObjectName(_fromUtf8("pointMarkerEdgeWidth"))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.pointMarkerEdgeWidth)
        self.label_20 = QtGui.QLabel(self.groupBox_3)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_20)
        self.pointMarkerEdgeColor = QColorButton(self.groupBox_3)
        self.pointMarkerEdgeColor.setMinimumSize(QtCore.QSize(55, 0))
        self.pointMarkerEdgeColor.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.pointMarkerEdgeColor.setStyleSheet(_fromUtf8("background-color: rgb(0, 0, 0);\n"
"color: rgb(255, 255, 255);"))
        self.pointMarkerEdgeColor.setObjectName(_fromUtf8("pointMarkerEdgeColor"))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.pointMarkerEdgeColor)
        self.gridLayout_5.addWidget(self.groupBox_3, 2, 0, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(self.wavePairOptionsGroupBox)
        self.groupBox_2.setFlat(True)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.formLayout_2 = QtGui.QFormLayout(self.groupBox_2)
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_19 = QtGui.QLabel(self.groupBox_2)
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_19)
        self.pointMarker = QtGui.QComboBox(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pointMarker.sizePolicy().hasHeightForWidth())
        self.pointMarker.setSizePolicy(sizePolicy)
        self.pointMarker.setMinimumSize(QtCore.QSize(75, 0))
        self.pointMarker.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.pointMarker.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContentsOnFirstShow)
        self.pointMarker.setObjectName(_fromUtf8("pointMarker"))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.pointMarker.addItem(_fromUtf8(""))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.pointMarker)
        self.label_18 = QtGui.QLabel(self.groupBox_2)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_18)
        self.pointMarkerSize = QtGui.QDoubleSpinBox(self.groupBox_2)
        self.pointMarkerSize.setMinimumSize(QtCore.QSize(55, 0))
        self.pointMarkerSize.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.pointMarkerSize.setMinimum(0.0)
        self.pointMarkerSize.setProperty(_fromUtf8("value"), 5.0)
        self.pointMarkerSize.setObjectName(_fromUtf8("pointMarkerSize"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.pointMarkerSize)
        self.label_17 = QtGui.QLabel(self.groupBox_2)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_17)
        self.pointMarkerFaceColor = QColorButton(self.groupBox_2)
        self.pointMarkerFaceColor.setMinimumSize(QtCore.QSize(55, 0))
        self.pointMarkerFaceColor.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.pointMarkerFaceColor.setStyleSheet(_fromUtf8("background-color: rgb(0, 0, 0);\n"
"color: rgb(255, 255, 255);"))
        self.pointMarkerFaceColor.setObjectName(_fromUtf8("pointMarkerFaceColor"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.pointMarkerFaceColor)
        self.gridLayout_5.addWidget(self.groupBox_2, 1, 0, 1, 1)
        self.horizontalLayout.addWidget(self.wavePairOptionsGroupBox)
        self.storedSettingsButton = QStoredSettingsButton(ScatterPlotTraces)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.storedSettingsButton.sizePolicy().hasHeightForWidth())
        self.storedSettingsButton.setSizePolicy(sizePolicy)
        self.storedSettingsButton.setMaximumSize(QtCore.QSize(26, 16777215))
        self.storedSettingsButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
        self.storedSettingsButton.setArrowType(QtCore.Qt.LeftArrow)
        self.storedSettingsButton.setObjectName(_fromUtf8("storedSettingsButton"))
        self.horizontalLayout.addWidget(self.storedSettingsButton)

        self.retranslateUi(ScatterPlotTraces)
        self.lineStyle.setCurrentIndex(1)
        self.pointMarker.setCurrentIndex(3)
        QtCore.QObject.connect(self.addwavePairButton, QtCore.SIGNAL(_fromUtf8("clicked()")), ScatterPlotTraces.addWavePairsToPlot)
        QtCore.QObject.connect(self.removewavePairButton, QtCore.SIGNAL(_fromUtf8("clicked()")), ScatterPlotTraces.deleteSelectedWavePairs)
        QtCore.QObject.connect(self.wavePairTableView, QtCore.SIGNAL(_fromUtf8("customContextMenuRequested(QPoint)")), ScatterPlotTraces.showWavePairListMenu)
        QtCore.QObject.connect(self.lineColor, QtCore.SIGNAL(_fromUtf8("clicked()")), self.lineColor.createColorDialog)
        QtCore.QObject.connect(self.pointMarkerFaceColor, QtCore.SIGNAL(_fromUtf8("clicked()")), self.pointMarkerFaceColor.createColorDialog)
        QtCore.QObject.connect(self.pointMarkerEdgeColor, QtCore.SIGNAL(_fromUtf8("clicked()")), self.pointMarkerEdgeColor.createColorDialog)
        QtCore.QObject.connect(self.storedSettingsButton, QtCore.SIGNAL(_fromUtf8("clicked()")), self.storedSettingsButton.toggleWidget)
        ScatterPlotTraces.setTabOrder(self.xAxisListView, self.yAxisListView)
        ScatterPlotTraces.setTabOrder(self.yAxisListView, self.addwavePairButton)
        ScatterPlotTraces.setTabOrder(self.addwavePairButton, self.wavePairTableView)
        ScatterPlotTraces.setTabOrder(self.wavePairTableView, self.removewavePairButton)
        ScatterPlotTraces.setTabOrder(self.removewavePairButton, self.lineStyle)
        ScatterPlotTraces.setTabOrder(self.lineStyle, self.lineWidth)
        ScatterPlotTraces.setTabOrder(self.lineWidth, self.lineColor)
        ScatterPlotTraces.setTabOrder(self.lineColor, self.pointMarker)
        ScatterPlotTraces.setTabOrder(self.pointMarker, self.pointMarkerSize)
        ScatterPlotTraces.setTabOrder(self.pointMarkerSize, self.pointMarkerFaceColor)
        ScatterPlotTraces.setTabOrder(self.pointMarkerFaceColor, self.pointMarkerEdgeWidth)
        ScatterPlotTraces.setTabOrder(self.pointMarkerEdgeWidth, self.pointMarkerEdgeColor)

    def retranslateUi(self, ScatterPlotTraces):
        ScatterPlotTraces.setWindowTitle(QtGui.QApplication.translate("ScatterPlotTraces", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.wavePairGroupBox.setTitle(QtGui.QApplication.translate("ScatterPlotTraces", "Add/Select Traces", None, QtGui.QApplication.UnicodeUTF8))
        self.xAxisLabel.setText(QtGui.QApplication.translate("ScatterPlotTraces", "X Axis", None, QtGui.QApplication.UnicodeUTF8))
        self.yAxisLabel.setText(QtGui.QApplication.translate("ScatterPlotTraces", "Y Axis", None, QtGui.QApplication.UnicodeUTF8))
        self.addwavePairButton.setText(QtGui.QApplication.translate("ScatterPlotTraces", "Add Trace(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.removewavePairButton.setText(QtGui.QApplication.translate("ScatterPlotTraces", "Remove Trace(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.wavePairOptionsGroupBox.setTitle(QtGui.QApplication.translate("ScatterPlotTraces", "Trace Options", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("ScatterPlotTraces", "Line Style", None, QtGui.QApplication.UnicodeUTF8))
        self.label_16.setText(QtGui.QApplication.translate("ScatterPlotTraces", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.lineStyle.setItemText(0, QtGui.QApplication.translate("ScatterPlotTraces", "None", None, QtGui.QApplication.UnicodeUTF8))
        self.lineStyle.setItemText(1, QtGui.QApplication.translate("ScatterPlotTraces", "Solid", None, QtGui.QApplication.UnicodeUTF8))
        self.lineStyle.setItemText(2, QtGui.QApplication.translate("ScatterPlotTraces", "Dashed", None, QtGui.QApplication.UnicodeUTF8))
        self.lineStyle.setItemText(3, QtGui.QApplication.translate("ScatterPlotTraces", "Dash Dot", None, QtGui.QApplication.UnicodeUTF8))
        self.lineStyle.setItemText(4, QtGui.QApplication.translate("ScatterPlotTraces", "Dotted", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("ScatterPlotTraces", "Size", None, QtGui.QApplication.UnicodeUTF8))
        self.label_15.setText(QtGui.QApplication.translate("ScatterPlotTraces", "Color", None, QtGui.QApplication.UnicodeUTF8))
        self.lineColor.setText(QtGui.QApplication.translate("ScatterPlotTraces", "(0,0,0,255)", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("ScatterPlotTraces", "Marker Edge", None, QtGui.QApplication.UnicodeUTF8))
        self.label_21.setText(QtGui.QApplication.translate("ScatterPlotTraces", "Size", None, QtGui.QApplication.UnicodeUTF8))
        self.label_20.setText(QtGui.QApplication.translate("ScatterPlotTraces", "Color", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarkerEdgeColor.setText(QtGui.QApplication.translate("ScatterPlotTraces", "(0,0,0,255)", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("ScatterPlotTraces", "Marker", None, QtGui.QApplication.UnicodeUTF8))
        self.label_19.setText(QtGui.QApplication.translate("ScatterPlotTraces", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(0, QtGui.QApplication.translate("ScatterPlotTraces", "None", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(1, QtGui.QApplication.translate("ScatterPlotTraces", "Point", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(2, QtGui.QApplication.translate("ScatterPlotTraces", "Pixel", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(3, QtGui.QApplication.translate("ScatterPlotTraces", "Circle", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(4, QtGui.QApplication.translate("ScatterPlotTraces", "Triangle - Down", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(5, QtGui.QApplication.translate("ScatterPlotTraces", "Triangle - Up", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(6, QtGui.QApplication.translate("ScatterPlotTraces", "Triangle - Left", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(7, QtGui.QApplication.translate("ScatterPlotTraces", "Triangle - Right", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(8, QtGui.QApplication.translate("ScatterPlotTraces", "Y - Down", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(9, QtGui.QApplication.translate("ScatterPlotTraces", "Y - Up", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(10, QtGui.QApplication.translate("ScatterPlotTraces", "Y - Left", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(11, QtGui.QApplication.translate("ScatterPlotTraces", "Y - Right", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(12, QtGui.QApplication.translate("ScatterPlotTraces", "Square", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(13, QtGui.QApplication.translate("ScatterPlotTraces", "Pentagon", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(14, QtGui.QApplication.translate("ScatterPlotTraces", "Star", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(15, QtGui.QApplication.translate("ScatterPlotTraces", "Hexagon 1", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(16, QtGui.QApplication.translate("ScatterPlotTraces", "Hexagon 2", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(17, QtGui.QApplication.translate("ScatterPlotTraces", "Plus", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(18, QtGui.QApplication.translate("ScatterPlotTraces", "X", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(19, QtGui.QApplication.translate("ScatterPlotTraces", "Diamond", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(20, QtGui.QApplication.translate("ScatterPlotTraces", "Thin Diamond", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(21, QtGui.QApplication.translate("ScatterPlotTraces", "Vertical Line", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarker.setItemText(22, QtGui.QApplication.translate("ScatterPlotTraces", "Horizontal Line", None, QtGui.QApplication.UnicodeUTF8))
        self.label_18.setText(QtGui.QApplication.translate("ScatterPlotTraces", "Size", None, QtGui.QApplication.UnicodeUTF8))
        self.label_17.setText(QtGui.QApplication.translate("ScatterPlotTraces", "Color", None, QtGui.QApplication.UnicodeUTF8))
        self.pointMarkerFaceColor.setText(QtGui.QApplication.translate("ScatterPlotTraces", "(0,0,0,255)", None, QtGui.QApplication.UnicodeUTF8))
        self.storedSettingsButton.setText(QtGui.QApplication.translate("ScatterPlotTraces", "S\n"
"t\n"
"o\n"
"r\n"
"e\n"
"d\n"
"\n"
"S\n"
"e\n"
"t\n"
"t\n"
"i\n"
"n\n"
"g\n"
"s", None, QtGui.QApplication.UnicodeUTF8))
Пример #3
0
class Ui_TextOptionsWidget(object):
    def setupUi(self, TextOptionsWidget):
        TextOptionsWidget.setObjectName(_fromUtf8("TextOptionsWidget"))
        TextOptionsWidget.resize(543, 477)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(TextOptionsWidget.sizePolicy().hasHeightForWidth())
        TextOptionsWidget.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(TextOptionsWidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.buttons = QtGui.QDialogButtonBox(TextOptionsWidget)
        self.buttons.setOrientation(QtCore.Qt.Horizontal)
        self.buttons.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok|QtGui.QDialogButtonBox.Reset)
        self.buttons.setCenterButtons(True)
        self.buttons.setObjectName(_fromUtf8("buttons"))
        self.gridLayout.addWidget(self.buttons, 15, 1, 1, 4)
        self.groupBox = QtGui.QGroupBox(TextOptionsWidget)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.name = QtGui.QListWidget(self.groupBox)
        self.name.setMinimumSize(QtCore.QSize(175, 0))
        self.name.setObjectName(_fromUtf8("name"))
        self.gridLayout_2.addWidget(self.name, 0, 0, 11, 1)
        self.gridLayout.addWidget(self.groupBox, 5, 1, 2, 1)
        self.groupBox_2 = QtGui.QGroupBox(TextOptionsWidget)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.formLayout = QtGui.QFormLayout(self.groupBox_2)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(self.groupBox_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.color = QColorButton(self.groupBox_2)
        self.color.setMinimumSize(QtCore.QSize(60, 0))
        self.color.setStyleSheet(_fromUtf8("color: rgb(255, 255, 255);\n"
"background-color: rgb(0, 0, 0);\n"
""))
        self.color.setObjectName(_fromUtf8("color"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.color)
        self.label_7 = QtGui.QLabel(self.groupBox_2)
        self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_7)
        self.backgroundcolor = QColorButton(self.groupBox_2)
        self.backgroundcolor.setMinimumSize(QtCore.QSize(60, 0))
        self.backgroundcolor.setStyleSheet(_fromUtf8("color: rgb(0, 0, 0);\n"
"background-color: rgb(255, 255, 255);"))
        self.backgroundcolor.setObjectName(_fromUtf8("backgroundcolor"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.backgroundcolor)
        self.label_8 = QtGui.QLabel(self.groupBox_2)
        self.label_8.setMinimumSize(QtCore.QSize(0, 0))
        self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_8)
        self.horizontalalignment = QtGui.QComboBox(self.groupBox_2)
        self.horizontalalignment.setMinimumSize(QtCore.QSize(100, 0))
        self.horizontalalignment.setObjectName(_fromUtf8("horizontalalignment"))
        self.horizontalalignment.addItem(_fromUtf8(""))
        self.horizontalalignment.addItem(_fromUtf8(""))
        self.horizontalalignment.addItem(_fromUtf8(""))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.horizontalalignment)
        self.label_9 = QtGui.QLabel(self.groupBox_2)
        self.label_9.setMinimumSize(QtCore.QSize(0, 0))
        self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_9)
        self.verticalalignment = QtGui.QComboBox(self.groupBox_2)
        self.verticalalignment.setMinimumSize(QtCore.QSize(100, 0))
        self.verticalalignment.setObjectName(_fromUtf8("verticalalignment"))
        self.verticalalignment.addItem(_fromUtf8(""))
        self.verticalalignment.addItem(_fromUtf8(""))
        self.verticalalignment.addItem(_fromUtf8(""))
        self.verticalalignment.addItem(_fromUtf8(""))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.verticalalignment)
        self.label_10 = QtGui.QLabel(self.groupBox_2)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_10)
        self.linespacing = QtGui.QDoubleSpinBox(self.groupBox_2)
        self.linespacing.setSingleStep(0.2)
        self.linespacing.setProperty(_fromUtf8("value"), 1.0)
        self.linespacing.setObjectName(_fromUtf8("linespacing"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.linespacing)
        self.label_11 = QtGui.QLabel(self.groupBox_2)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_11)
        self.rotation = QtGui.QComboBox(self.groupBox_2)
        self.rotation.setMinimumSize(QtCore.QSize(100, 0))
        self.rotation.setObjectName(_fromUtf8("rotation"))
        self.rotation.addItem(_fromUtf8(""))
        self.rotation.addItem(_fromUtf8(""))
        self.rotation.addItem(_fromUtf8(""))
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.rotation)
        self.rotationCustom = QtGui.QDoubleSpinBox(self.groupBox_2)
        self.rotationCustom.setEnabled(False)
        self.rotationCustom.setDecimals(1)
        self.rotationCustom.setMaximum(360.0)
        self.rotationCustom.setObjectName(_fromUtf8("rotationCustom"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.rotationCustom)
        self.label_12 = QtGui.QLabel(self.groupBox_2)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_12)
        self.alpha = QtGui.QDoubleSpinBox(self.groupBox_2)
        self.alpha.setMaximum(1.0)
        self.alpha.setSingleStep(0.1)
        self.alpha.setProperty(_fromUtf8("value"), 1.0)
        self.alpha.setObjectName(_fromUtf8("alpha"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.alpha)
        self.gridLayout.addWidget(self.groupBox_2, 6, 2, 1, 3)
        self.groupBox_3 = QtGui.QGroupBox(TextOptionsWidget)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.formLayout_2 = QtGui.QFormLayout(self.groupBox_3)
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setRowWrapPolicy(QtGui.QFormLayout.DontWrapRows)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_6 = QtGui.QLabel(self.groupBox_3)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_6)
        self.size = QtGui.QSpinBox(self.groupBox_3)
        self.size.setMinimum(1)
        self.size.setMaximum(255)
        self.size.setProperty(_fromUtf8("value"), 12)
        self.size.setObjectName(_fromUtf8("size"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.size)
        self.label_2 = QtGui.QLabel(self.groupBox_3)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.style = QtGui.QComboBox(self.groupBox_3)
        self.style.setMinimumSize(QtCore.QSize(100, 0))
        self.style.setObjectName(_fromUtf8("style"))
        self.style.addItem(_fromUtf8(""))
        self.style.addItem(_fromUtf8(""))
        self.style.addItem(_fromUtf8(""))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.style)
        self.label_3 = QtGui.QLabel(self.groupBox_3)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.variant = QtGui.QComboBox(self.groupBox_3)
        self.variant.setMinimumSize(QtCore.QSize(100, 0))
        self.variant.setObjectName(_fromUtf8("variant"))
        self.variant.addItem(_fromUtf8(""))
        self.variant.addItem(_fromUtf8(""))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.variant)
        self.label_4 = QtGui.QLabel(self.groupBox_3)
        self.label_4.setWordWrap(True)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
        self.stretch = QtGui.QSpinBox(self.groupBox_3)
        self.stretch.setMaximum(1000)
        self.stretch.setProperty(_fromUtf8("value"), 100)
        self.stretch.setObjectName(_fromUtf8("stretch"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole, self.stretch)
        self.label_5 = QtGui.QLabel(self.groupBox_3)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_5)
        self.weight = QtGui.QSpinBox(self.groupBox_3)
        self.weight.setMaximum(1000)
        self.weight.setProperty(_fromUtf8("value"), 100)
        self.weight.setObjectName(_fromUtf8("weight"))
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.FieldRole, self.weight)
        self.gridLayout.addWidget(self.groupBox_3, 5, 2, 1, 3)
        self.storedSettingsButton = QStoredSettingsButton(TextOptionsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.storedSettingsButton.sizePolicy().hasHeightForWidth())
        self.storedSettingsButton.setSizePolicy(sizePolicy)
        self.storedSettingsButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
        self.storedSettingsButton.setArrowType(QtCore.Qt.LeftArrow)
        self.storedSettingsButton.setObjectName(_fromUtf8("storedSettingsButton"))
        self.gridLayout.addWidget(self.storedSettingsButton, 5, 5, 2, 1)

        self.retranslateUi(TextOptionsWidget)
        QtCore.QObject.connect(self.color, QtCore.SIGNAL(_fromUtf8("clicked()")), self.color.createColorDialog)
        QtCore.QObject.connect(self.backgroundcolor, QtCore.SIGNAL(_fromUtf8("clicked()")), self.backgroundcolor.createColorDialog)
        QtCore.QObject.connect(self.rotation, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")), TextOptionsWidget.rotationBoxHandler)
        QtCore.QObject.connect(self.buttons, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), TextOptionsWidget.buttonClickHandler)
        QtCore.QObject.connect(self.storedSettingsButton, QtCore.SIGNAL(_fromUtf8("clicked()")), self.storedSettingsButton.toggleWidget)
        TextOptionsWidget.setTabOrder(self.name, self.size)
        TextOptionsWidget.setTabOrder(self.size, self.style)
        TextOptionsWidget.setTabOrder(self.style, self.variant)
        TextOptionsWidget.setTabOrder(self.variant, self.stretch)
        TextOptionsWidget.setTabOrder(self.stretch, self.weight)
        TextOptionsWidget.setTabOrder(self.weight, self.color)
        TextOptionsWidget.setTabOrder(self.color, self.backgroundcolor)
        TextOptionsWidget.setTabOrder(self.backgroundcolor, self.alpha)
        TextOptionsWidget.setTabOrder(self.alpha, self.horizontalalignment)
        TextOptionsWidget.setTabOrder(self.horizontalalignment, self.verticalalignment)
        TextOptionsWidget.setTabOrder(self.verticalalignment, self.linespacing)
        TextOptionsWidget.setTabOrder(self.linespacing, self.rotation)
        TextOptionsWidget.setTabOrder(self.rotation, self.rotationCustom)
        TextOptionsWidget.setTabOrder(self.rotationCustom, self.buttons)

    def retranslateUi(self, TextOptionsWidget):
        TextOptionsWidget.setWindowTitle(QtGui.QApplication.translate("TextOptionsWidget", "Text Options", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("TextOptionsWidget", "Font", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("TextOptionsWidget", "Display Properties", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("TextOptionsWidget", "Text Color", None, QtGui.QApplication.UnicodeUTF8))
        self.color.setText(QtGui.QApplication.translate("TextOptionsWidget", "(0,0,0,255)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("TextOptionsWidget", "Text Background Color", None, QtGui.QApplication.UnicodeUTF8))
        self.backgroundcolor.setText(QtGui.QApplication.translate("TextOptionsWidget", "(255,255,255,0)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("TextOptionsWidget", "Horizontal Alignment", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalalignment.setItemText(0, QtGui.QApplication.translate("TextOptionsWidget", "center", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalalignment.setItemText(1, QtGui.QApplication.translate("TextOptionsWidget", "right", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalalignment.setItemText(2, QtGui.QApplication.translate("TextOptionsWidget", "left", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("TextOptionsWidget", "Vertical Alignment", None, QtGui.QApplication.UnicodeUTF8))
        self.verticalalignment.setItemText(0, QtGui.QApplication.translate("TextOptionsWidget", "center", None, QtGui.QApplication.UnicodeUTF8))
        self.verticalalignment.setItemText(1, QtGui.QApplication.translate("TextOptionsWidget", "top", None, QtGui.QApplication.UnicodeUTF8))
        self.verticalalignment.setItemText(2, QtGui.QApplication.translate("TextOptionsWidget", "bottom", None, QtGui.QApplication.UnicodeUTF8))
        self.verticalalignment.setItemText(3, QtGui.QApplication.translate("TextOptionsWidget", "baseline", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("TextOptionsWidget", "Line Spacing", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("TextOptionsWidget", "Rotation", None, QtGui.QApplication.UnicodeUTF8))
        self.rotation.setItemText(0, QtGui.QApplication.translate("TextOptionsWidget", "horizontal", None, QtGui.QApplication.UnicodeUTF8))
        self.rotation.setItemText(1, QtGui.QApplication.translate("TextOptionsWidget", "vertical", None, QtGui.QApplication.UnicodeUTF8))
        self.rotation.setItemText(2, QtGui.QApplication.translate("TextOptionsWidget", "custom", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("TextOptionsWidget", "Alpha (Transparency)", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("TextOptionsWidget", "Font Properties", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("TextOptionsWidget", "Size", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("TextOptionsWidget", "Style", None, QtGui.QApplication.UnicodeUTF8))
        self.style.setItemText(0, QtGui.QApplication.translate("TextOptionsWidget", "normal", None, QtGui.QApplication.UnicodeUTF8))
        self.style.setItemText(1, QtGui.QApplication.translate("TextOptionsWidget", "italic", None, QtGui.QApplication.UnicodeUTF8))
        self.style.setItemText(2, QtGui.QApplication.translate("TextOptionsWidget", "oblique", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("TextOptionsWidget", "Variant", None, QtGui.QApplication.UnicodeUTF8))
        self.variant.setItemText(0, QtGui.QApplication.translate("TextOptionsWidget", "normal", None, QtGui.QApplication.UnicodeUTF8))
        self.variant.setItemText(1, QtGui.QApplication.translate("TextOptionsWidget", "small-caps", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("TextOptionsWidget", "Character Width", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("TextOptionsWidget", "Weight (boldness)", None, QtGui.QApplication.UnicodeUTF8))
        self.storedSettingsButton.setText(QtGui.QApplication.translate("TextOptionsWidget", "S\n"
"t\n"
"o\n"
"r\n"
"e\n"
"d\n"
"\n"
"S\n"
"e\n"
"t\n"
"t\n"
"i\n"
"n\n"
"g\n"
"s", None, QtGui.QApplication.UnicodeUTF8))
Пример #4
0
class Ui_CartesianPlotAxis(object):
    def setupUi(self, CartesianPlotAxis):
        CartesianPlotAxis.setObjectName(_fromUtf8("CartesianPlotAxis"))
        CartesianPlotAxis.resize(596, 439)
        self.gridLayout_4 = QtGui.QGridLayout(CartesianPlotAxis)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.groupBox = QtGui.QGroupBox(CartesianPlotAxis)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMinimumSize(QtCore.QSize(185, 0))
        self.groupBox.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_5 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.visible = QtGui.QCheckBox(self.groupBox)
        self.visible.setEnabled(True)
        self.visible.setChecked(True)
        self.visible.setObjectName(_fromUtf8("visible"))
        self.gridLayout_5.addWidget(self.visible, 0, 0, 1, 1)
        self.scaleType = QtGui.QComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scaleType.sizePolicy().hasHeightForWidth())
        self.scaleType.setSizePolicy(sizePolicy)
        self.scaleType.setObjectName(_fromUtf8("scaleType"))
        self.scaleType.addItem(_fromUtf8(""))
        self.scaleType.addItem(_fromUtf8(""))
        self.scaleType.addItem(_fromUtf8(""))
        self.gridLayout_5.addWidget(self.scaleType, 0, 5, 1, 1)
        self.line = QtGui.QFrame(self.groupBox)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout_5.addWidget(self.line, 0, 2, 3, 2)
        self.label = QtGui.QLineEdit(self.groupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_5.addWidget(self.label, 1, 1, 1, 1)
        self.label_19 = QtGui.QLabel(self.groupBox)
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.gridLayout_5.addWidget(self.label_19, 1, 0, 1, 1)
        self.minimum = QtGui.QLineEdit(self.groupBox)
        self.minimum.setEnabled(False)
        self.minimum.setObjectName(_fromUtf8("minimum"))
        self.gridLayout_5.addWidget(self.minimum, 1, 5, 1, 1)
        self.label_20 = QtGui.QLabel(self.groupBox)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.gridLayout_5.addWidget(self.label_20, 1, 4, 1, 1)
        self.label_21 = QtGui.QLabel(self.groupBox)
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.gridLayout_5.addWidget(self.label_21, 0, 4, 1, 1)
        self.label_22 = QtGui.QLabel(self.groupBox)
        self.label_22.setObjectName(_fromUtf8("label_22"))
        self.gridLayout_5.addWidget(self.label_22, 2, 4, 1, 1)
        self.maximum = QtGui.QLineEdit(self.groupBox)
        self.maximum.setEnabled(False)
        self.maximum.setObjectName(_fromUtf8("maximum"))
        self.gridLayout_5.addWidget(self.maximum, 2, 5, 1, 1)
        self.labelFont = QTextOptionsButton(self.groupBox)
        self.labelFont.setObjectName(_fromUtf8("labelFont"))
        self.gridLayout_5.addWidget(self.labelFont, 2, 1, 1, 1)
        self.autoscale = QtGui.QCheckBox(self.groupBox)
        self.autoscale.setChecked(True)
        self.autoscale.setObjectName(_fromUtf8("autoscale"))
        self.gridLayout_5.addWidget(self.autoscale, 0, 1, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox, 0, 0, 1, 1)
        self.majorTicksVisible = QtGui.QGroupBox(CartesianPlotAxis)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.majorTicksVisible.sizePolicy().hasHeightForWidth())
        self.majorTicksVisible.setSizePolicy(sizePolicy)
        self.majorTicksVisible.setCheckable(True)
        self.majorTicksVisible.setObjectName(_fromUtf8("majorTicksVisible"))
        self.gridLayout_7 = QtGui.QGridLayout(self.majorTicksVisible)
        self.gridLayout_7.setMargin(0)
        self.gridLayout_7.setHorizontalSpacing(3)
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.groupBox_2 = QtGui.QGroupBox(self.majorTicksVisible)
        self.groupBox_2.setAlignment(QtCore.Qt.AlignCenter)
        self.groupBox_2.setFlat(True)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.majorTicksLocationsStackedWidget = QtGui.QStackedWidget(self.groupBox_2)
        self.majorTicksLocationsStackedWidget.setObjectName(_fromUtf8("majorTicksLocationsStackedWidget"))
        self.page = QtGui.QWidget()
        self.page.setObjectName(_fromUtf8("page"))
        self.gridLayout_6 = QtGui.QGridLayout(self.page)
        self.gridLayout_6.setMargin(0)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.useMajorTicksAnchor = QtGui.QCheckBox(self.page)
        self.useMajorTicksAnchor.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.useMajorTicksAnchor.setObjectName(_fromUtf8("useMajorTicksAnchor"))
        self.gridLayout_6.addWidget(self.useMajorTicksAnchor, 0, 0, 1, 1)
        self.majorTicksAnchor = QtGui.QLineEdit(self.page)
        self.majorTicksAnchor.setEnabled(False)
        self.majorTicksAnchor.setObjectName(_fromUtf8("majorTicksAnchor"))
        self.gridLayout_6.addWidget(self.majorTicksAnchor, 0, 1, 1, 1)
        self.useMajorTicksSpacing = QtGui.QRadioButton(self.page)
        self.useMajorTicksSpacing.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.useMajorTicksSpacing.setObjectName(_fromUtf8("useMajorTicksSpacing"))
        self.gridLayout_6.addWidget(self.useMajorTicksSpacing, 1, 0, 1, 1)
        self.majorTicksSpacing = QtGui.QLineEdit(self.page)
        self.majorTicksSpacing.setEnabled(False)
        self.majorTicksSpacing.setObjectName(_fromUtf8("majorTicksSpacing"))
        self.gridLayout_6.addWidget(self.majorTicksSpacing, 1, 1, 1, 1)
        self.useMajorTicksNumber = QtGui.QRadioButton(self.page)
        self.useMajorTicksNumber.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.useMajorTicksNumber.setChecked(True)
        self.useMajorTicksNumber.setObjectName(_fromUtf8("useMajorTicksNumber"))
        self.gridLayout_6.addWidget(self.useMajorTicksNumber, 3, 0, 1, 1)
        self.majorTicksNumber = QtGui.QSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.majorTicksNumber.sizePolicy().hasHeightForWidth())
        self.majorTicksNumber.setSizePolicy(sizePolicy)
        self.majorTicksNumber.setMinimum(2)
        self.majorTicksNumber.setProperty(_fromUtf8("value"), 5)
        self.majorTicksNumber.setObjectName(_fromUtf8("majorTicksNumber"))
        self.gridLayout_6.addWidget(self.majorTicksNumber, 3, 1, 1, 1)
        self.useMajorTicksWaveValues = QtGui.QRadioButton(self.page)
        self.useMajorTicksWaveValues.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.useMajorTicksWaveValues.setObjectName(_fromUtf8("useMajorTicksWaveValues"))
        self.gridLayout_6.addWidget(self.useMajorTicksWaveValues, 4, 0, 1, 1)
        self.majorTicksWaveValues = QtGui.QComboBox(self.page)
        self.majorTicksWaveValues.setEnabled(False)
        self.majorTicksWaveValues.setObjectName(_fromUtf8("majorTicksWaveValues"))
        self.gridLayout_6.addWidget(self.majorTicksWaveValues, 4, 1, 1, 1)
        self.majorTicksLocationsStackedWidget.addWidget(self.page)
        self.page_2 = QtGui.QWidget()
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.gridLayout_8 = QtGui.QGridLayout(self.page_2)
        self.gridLayout_8.setMargin(0)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.label_2 = QtGui.QLabel(self.page_2)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_8.addWidget(self.label_2, 0, 0, 1, 1)
        self.majorTicksLogBase = QtGui.QLineEdit(self.page_2)
        self.majorTicksLogBase.setObjectName(_fromUtf8("majorTicksLogBase"))
        self.gridLayout_8.addWidget(self.majorTicksLogBase, 0, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.page_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_8.addWidget(self.label_3, 1, 0, 1, 1)
        self.majorTicksLogLocations = QtGui.QLineEdit(self.page_2)
        self.majorTicksLogLocations.setObjectName(_fromUtf8("majorTicksLogLocations"))
        self.gridLayout_8.addWidget(self.majorTicksLogLocations, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_8.addItem(spacerItem, 2, 0, 1, 1)
        self.majorTicksLocationsStackedWidget.addWidget(self.page_2)
        self.gridLayout.addWidget(self.majorTicksLocationsStackedWidget, 0, 0, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 1, 0, 1, 1)
        self.gridLayout_7.addWidget(self.groupBox_2, 0, 3, 1, 1)
        self.line_2 = QtGui.QFrame(self.majorTicksVisible)
        self.line_2.setFrameShape(QtGui.QFrame.VLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.gridLayout_7.addWidget(self.line_2, 0, 4, 1, 1)
        self.majorTicksLabelVisible = QtGui.QGroupBox(self.majorTicksVisible)
        self.majorTicksLabelVisible.setAlignment(QtCore.Qt.AlignCenter)
        self.majorTicksLabelVisible.setFlat(True)
        self.majorTicksLabelVisible.setCheckable(True)
        self.majorTicksLabelVisible.setObjectName(_fromUtf8("majorTicksLabelVisible"))
        self.gridLayout_2 = QtGui.QGridLayout(self.majorTicksLabelVisible)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_30 = QtGui.QLabel(self.majorTicksLabelVisible)
        self.label_30.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_30.setWordWrap(True)
        self.label_30.setObjectName(_fromUtf8("label_30"))
        self.gridLayout_2.addWidget(self.label_30, 3, 0, 1, 2)
        self.label_5 = QtGui.QLabel(self.majorTicksLabelVisible)
        self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_2.addWidget(self.label_5, 2, 0, 1, 2)
        self.label_31 = QtGui.QLabel(self.majorTicksLabelVisible)
        self.label_31.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_31.setObjectName(_fromUtf8("label_31"))
        self.gridLayout_2.addWidget(self.label_31, 5, 0, 1, 1)
        self.majorTicksLabelUseNumeric = QtGui.QRadioButton(self.majorTicksLabelVisible)
        self.majorTicksLabelUseNumeric.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.majorTicksLabelUseNumeric.setChecked(True)
        self.majorTicksLabelUseNumeric.setObjectName(_fromUtf8("majorTicksLabelUseNumeric"))
        self.gridLayout_2.addWidget(self.majorTicksLabelUseNumeric, 0, 0, 1, 2)
        self.majorTicksLabelUseWave = QtGui.QRadioButton(self.majorTicksLabelVisible)
        self.majorTicksLabelUseWave.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.majorTicksLabelUseWave.setObjectName(_fromUtf8("majorTicksLabelUseWave"))
        self.gridLayout_2.addWidget(self.majorTicksLabelUseWave, 1, 0, 1, 2)
        self.majorTicksDirection = QtGui.QComboBox(self.majorTicksLabelVisible)
        self.majorTicksDirection.setObjectName(_fromUtf8("majorTicksDirection"))
        self.majorTicksDirection.addItem(_fromUtf8(""))
        self.majorTicksDirection.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.majorTicksDirection, 5, 1, 1, 1)
        self.majorTicksLength = QtGui.QSpinBox(self.majorTicksLabelVisible)
        self.majorTicksLength.setProperty(_fromUtf8("value"), 4)
        self.majorTicksLength.setObjectName(_fromUtf8("majorTicksLength"))
        self.gridLayout_2.addWidget(self.majorTicksLength, 6, 1, 1, 1)
        self.label_33 = QtGui.QLabel(self.majorTicksLabelVisible)
        self.label_33.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_33.setObjectName(_fromUtf8("label_33"))
        self.gridLayout_2.addWidget(self.label_33, 6, 0, 1, 1)
        self.label_34 = QtGui.QLabel(self.majorTicksLabelVisible)
        self.label_34.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_34.setObjectName(_fromUtf8("label_34"))
        self.gridLayout_2.addWidget(self.label_34, 6, 2, 1, 1)
        self.majorTicksWidth = QtGui.QSpinBox(self.majorTicksLabelVisible)
        self.majorTicksWidth.setProperty(_fromUtf8("value"), 1)
        self.majorTicksWidth.setObjectName(_fromUtf8("majorTicksWidth"))
        self.gridLayout_2.addWidget(self.majorTicksWidth, 6, 3, 1, 1)
        self.majorTicksColor = QColorButton(self.majorTicksLabelVisible)
        self.majorTicksColor.setStyleSheet(_fromUtf8("background-color: rgb(0, 0, 0);\n"
"color: rgb(255, 255, 255);"))
        self.majorTicksColor.setObjectName(_fromUtf8("majorTicksColor"))
        self.gridLayout_2.addWidget(self.majorTicksColor, 5, 3, 1, 1)
        self.majorTicksLabelNumericFormat = QtGui.QLineEdit(self.majorTicksLabelVisible)
        self.majorTicksLabelNumericFormat.setObjectName(_fromUtf8("majorTicksLabelNumericFormat"))
        self.gridLayout_2.addWidget(self.majorTicksLabelNumericFormat, 0, 2, 1, 2)
        self.majorTicksLabelWave = QtGui.QComboBox(self.majorTicksLabelVisible)
        self.majorTicksLabelWave.setEnabled(False)
        self.majorTicksLabelWave.setObjectName(_fromUtf8("majorTicksLabelWave"))
        self.gridLayout_2.addWidget(self.majorTicksLabelWave, 1, 2, 1, 2)
        self.label_32 = QtGui.QLabel(self.majorTicksLabelVisible)
        self.label_32.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_32.setObjectName(_fromUtf8("label_32"))
        self.gridLayout_2.addWidget(self.label_32, 5, 2, 1, 1)
        self.majorTicksLabelFont = QTextOptionsButton(self.majorTicksLabelVisible)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.majorTicksLabelFont.sizePolicy().hasHeightForWidth())
        self.majorTicksLabelFont.setSizePolicy(sizePolicy)
        self.majorTicksLabelFont.setMinimumSize(QtCore.QSize(5, 0))
        self.majorTicksLabelFont.setObjectName(_fromUtf8("majorTicksLabelFont"))
        self.gridLayout_2.addWidget(self.majorTicksLabelFont, 2, 2, 1, 2)
        self.majorTicksLabelPadding = QtGui.QSpinBox(self.majorTicksLabelVisible)
        self.majorTicksLabelPadding.setProperty(_fromUtf8("value"), 4)
        self.majorTicksLabelPadding.setObjectName(_fromUtf8("majorTicksLabelPadding"))
        self.gridLayout_2.addWidget(self.majorTicksLabelPadding, 3, 2, 1, 2)
        self.gridLayout_7.addWidget(self.majorTicksLabelVisible, 0, 5, 1, 1)
        self.gridLayout_7.setRowStretch(0, 1)
        self.gridLayout_4.addWidget(self.majorTicksVisible, 1, 0, 1, 1)
        self.minorTicksVisible = QtGui.QGroupBox(CartesianPlotAxis)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.minorTicksVisible.sizePolicy().hasHeightForWidth())
        self.minorTicksVisible.setSizePolicy(sizePolicy)
        self.minorTicksVisible.setCheckable(True)
        self.minorTicksVisible.setObjectName(_fromUtf8("minorTicksVisible"))
        self.gridLayout_3 = QtGui.QGridLayout(self.minorTicksVisible)
        self.gridLayout_3.setVerticalSpacing(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.minorTicksLocationsStackedWidget = QtGui.QStackedWidget(self.minorTicksVisible)
        self.minorTicksLocationsStackedWidget.setObjectName(_fromUtf8("minorTicksLocationsStackedWidget"))
        self.page_3 = QtGui.QWidget()
        self.page_3.setObjectName(_fromUtf8("page_3"))
        self.verticalLayout = QtGui.QVBoxLayout(self.page_3)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_26 = QtGui.QLabel(self.page_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_26.sizePolicy().hasHeightForWidth())
        self.label_26.setSizePolicy(sizePolicy)
        self.label_26.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_26.setObjectName(_fromUtf8("label_26"))
        self.verticalLayout.addWidget(self.label_26)
        self.minorTicksNumber = QtGui.QSpinBox(self.page_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.minorTicksNumber.sizePolicy().hasHeightForWidth())
        self.minorTicksNumber.setSizePolicy(sizePolicy)
        self.minorTicksNumber.setMaximumSize(QtCore.QSize(50, 16777215))
        self.minorTicksNumber.setMinimum(1)
        self.minorTicksNumber.setProperty(_fromUtf8("value"), 5)
        self.minorTicksNumber.setObjectName(_fromUtf8("minorTicksNumber"))
        self.verticalLayout.addWidget(self.minorTicksNumber)
        self.minorTicksLocationsStackedWidget.addWidget(self.page_3)
        self.page_4 = QtGui.QWidget()
        self.page_4.setObjectName(_fromUtf8("page_4"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.page_4)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_4 = QtGui.QLabel(self.page_4)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.verticalLayout_2.addWidget(self.label_4)
        self.minorTicksLogLocations = QtGui.QLineEdit(self.page_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.minorTicksLogLocations.sizePolicy().hasHeightForWidth())
        self.minorTicksLogLocations.setSizePolicy(sizePolicy)
        self.minorTicksLogLocations.setObjectName(_fromUtf8("minorTicksLogLocations"))
        self.verticalLayout_2.addWidget(self.minorTicksLogLocations)
        self.minorTicksLocationsStackedWidget.addWidget(self.page_4)
        self.gridLayout_3.addWidget(self.minorTicksLocationsStackedWidget, 0, 0, 2, 1)
        self.label_24 = QtGui.QLabel(self.minorTicksVisible)
        self.label_24.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_24.setObjectName(_fromUtf8("label_24"))
        self.gridLayout_3.addWidget(self.label_24, 0, 2, 1, 1)
        self.label_27 = QtGui.QLabel(self.minorTicksVisible)
        self.label_27.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_27.setObjectName(_fromUtf8("label_27"))
        self.gridLayout_3.addWidget(self.label_27, 0, 3, 1, 1)
        self.label_28 = QtGui.QLabel(self.minorTicksVisible)
        self.label_28.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_28.setObjectName(_fromUtf8("label_28"))
        self.gridLayout_3.addWidget(self.label_28, 0, 4, 1, 1)
        self.minorTicksDirection = QtGui.QComboBox(self.minorTicksVisible)
        self.minorTicksDirection.setMaximumSize(QtCore.QSize(100, 16777215))
        self.minorTicksDirection.setObjectName(_fromUtf8("minorTicksDirection"))
        self.minorTicksDirection.addItem(_fromUtf8(""))
        self.minorTicksDirection.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.minorTicksDirection, 1, 1, 1, 1)
        self.minorTicksColor = QColorButton(self.minorTicksVisible)
        self.minorTicksColor.setStyleSheet(_fromUtf8("background-color: rgb(0, 0, 0);\n"
"color: rgb(255, 255, 255);"))
        self.minorTicksColor.setObjectName(_fromUtf8("minorTicksColor"))
        self.gridLayout_3.addWidget(self.minorTicksColor, 1, 2, 1, 1)
        self.minorTicksLength = QtGui.QSpinBox(self.minorTicksVisible)
        self.minorTicksLength.setMaximumSize(QtCore.QSize(50, 16777215))
        self.minorTicksLength.setProperty(_fromUtf8("value"), 2)
        self.minorTicksLength.setObjectName(_fromUtf8("minorTicksLength"))
        self.gridLayout_3.addWidget(self.minorTicksLength, 1, 3, 1, 1)
        self.minorTicksWidth = QtGui.QSpinBox(self.minorTicksVisible)
        self.minorTicksWidth.setMaximumSize(QtCore.QSize(50, 16777215))
        self.minorTicksWidth.setProperty(_fromUtf8("value"), 1)
        self.minorTicksWidth.setObjectName(_fromUtf8("minorTicksWidth"))
        self.gridLayout_3.addWidget(self.minorTicksWidth, 1, 4, 1, 1)
        self.label_23 = QtGui.QLabel(self.minorTicksVisible)
        self.label_23.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.gridLayout_3.addWidget(self.label_23, 0, 1, 1, 1)
        self.gridLayout_3.setColumnStretch(0, 2)
        self.gridLayout_3.setColumnStretch(1, 1)
        self.gridLayout_3.setColumnStretch(2, 2)
        self.gridLayout_3.setColumnStretch(3, 1)
        self.gridLayout_3.setColumnStretch(4, 1)
        self.gridLayout_4.addWidget(self.minorTicksVisible, 2, 0, 1, 1)
        self.storedSettingsButton = QStoredSettingsButton(CartesianPlotAxis)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.storedSettingsButton.sizePolicy().hasHeightForWidth())
        self.storedSettingsButton.setSizePolicy(sizePolicy)
        self.storedSettingsButton.setMaximumSize(QtCore.QSize(26, 16777215))
        self.storedSettingsButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
        self.storedSettingsButton.setArrowType(QtCore.Qt.LeftArrow)
        self.storedSettingsButton.setObjectName(_fromUtf8("storedSettingsButton"))
        self.gridLayout_4.addWidget(self.storedSettingsButton, 0, 1, 4, 1)

        self.retranslateUi(CartesianPlotAxis)
        self.majorTicksLocationsStackedWidget.setCurrentIndex(0)
        self.minorTicksLocationsStackedWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.storedSettingsButton, QtCore.SIGNAL(_fromUtf8("clicked()")), self.storedSettingsButton.toggleWidget)
        QtCore.QObject.connect(self.labelFont, QtCore.SIGNAL(_fromUtf8("clicked()")), self.labelFont.showTextOptionsWidget)
        QtCore.QObject.connect(self.autoscale, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.minimum.setDisabled)
        QtCore.QObject.connect(self.autoscale, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.maximum.setDisabled)
        QtCore.QObject.connect(self.majorTicksLabelFont, QtCore.SIGNAL(_fromUtf8("clicked()")), self.majorTicksLabelFont.showTextOptionsWidget)
        QtCore.QObject.connect(self.majorTicksColor, QtCore.SIGNAL(_fromUtf8("clicked()")), self.majorTicksColor.createColorDialog)
        QtCore.QObject.connect(self.minorTicksColor, QtCore.SIGNAL(_fromUtf8("clicked()")), self.minorTicksColor.createColorDialog)
        QtCore.QObject.connect(self.useMajorTicksSpacing, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.majorTicksSpacing.setEnabled)
        QtCore.QObject.connect(self.useMajorTicksNumber, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.majorTicksNumber.setEnabled)
        QtCore.QObject.connect(self.majorTicksVisible, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.minorTicksVisible.setEnabled)
        QtCore.QObject.connect(self.useMajorTicksAnchor, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.majorTicksAnchor.setEnabled)
        QtCore.QObject.connect(self.majorTicksLabelUseNumeric, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.majorTicksLabelNumericFormat.setEnabled)
        QtCore.QObject.connect(self.majorTicksLabelUseWave, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.majorTicksLabelWave.setEnabled)
        QtCore.QObject.connect(self.useMajorTicksWaveValues, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.majorTicksWaveValues.setEnabled)
        QtCore.QObject.connect(self.scaleType, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")), CartesianPlotAxis.changeScaleType)
        QtCore.QObject.connect(self.useMajorTicksWaveValues, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.useMajorTicksAnchor.setDisabled)
        QtCore.QObject.connect(self.useMajorTicksWaveValues, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.majorTicksAnchor.setDisabled)
        CartesianPlotAxis.setTabOrder(self.visible, self.autoscale)
        CartesianPlotAxis.setTabOrder(self.autoscale, self.label)
        CartesianPlotAxis.setTabOrder(self.label, self.labelFont)
        CartesianPlotAxis.setTabOrder(self.labelFont, self.scaleType)
        CartesianPlotAxis.setTabOrder(self.scaleType, self.minimum)
        CartesianPlotAxis.setTabOrder(self.minimum, self.maximum)
        CartesianPlotAxis.setTabOrder(self.maximum, self.majorTicksVisible)
        CartesianPlotAxis.setTabOrder(self.majorTicksVisible, self.useMajorTicksAnchor)
        CartesianPlotAxis.setTabOrder(self.useMajorTicksAnchor, self.majorTicksAnchor)
        CartesianPlotAxis.setTabOrder(self.majorTicksAnchor, self.useMajorTicksSpacing)
        CartesianPlotAxis.setTabOrder(self.useMajorTicksSpacing, self.majorTicksSpacing)
        CartesianPlotAxis.setTabOrder(self.majorTicksSpacing, self.useMajorTicksNumber)
        CartesianPlotAxis.setTabOrder(self.useMajorTicksNumber, self.majorTicksNumber)
        CartesianPlotAxis.setTabOrder(self.majorTicksNumber, self.useMajorTicksWaveValues)
        CartesianPlotAxis.setTabOrder(self.useMajorTicksWaveValues, self.majorTicksWaveValues)
        CartesianPlotAxis.setTabOrder(self.majorTicksWaveValues, self.majorTicksLabelVisible)
        CartesianPlotAxis.setTabOrder(self.majorTicksLabelVisible, self.majorTicksLabelUseNumeric)
        CartesianPlotAxis.setTabOrder(self.majorTicksLabelUseNumeric, self.majorTicksLabelNumericFormat)
        CartesianPlotAxis.setTabOrder(self.majorTicksLabelNumericFormat, self.majorTicksLabelUseWave)
        CartesianPlotAxis.setTabOrder(self.majorTicksLabelUseWave, self.majorTicksLabelWave)
        CartesianPlotAxis.setTabOrder(self.majorTicksLabelWave, self.majorTicksLabelFont)
        CartesianPlotAxis.setTabOrder(self.majorTicksLabelFont, self.majorTicksLabelPadding)
        CartesianPlotAxis.setTabOrder(self.majorTicksLabelPadding, self.majorTicksDirection)
        CartesianPlotAxis.setTabOrder(self.majorTicksDirection, self.majorTicksColor)
        CartesianPlotAxis.setTabOrder(self.majorTicksColor, self.majorTicksLength)
        CartesianPlotAxis.setTabOrder(self.majorTicksLength, self.majorTicksWidth)
        CartesianPlotAxis.setTabOrder(self.majorTicksWidth, self.minorTicksVisible)
        CartesianPlotAxis.setTabOrder(self.minorTicksVisible, self.minorTicksNumber)
        CartesianPlotAxis.setTabOrder(self.minorTicksNumber, self.minorTicksDirection)
        CartesianPlotAxis.setTabOrder(self.minorTicksDirection, self.minorTicksColor)
        CartesianPlotAxis.setTabOrder(self.minorTicksColor, self.minorTicksLength)
        CartesianPlotAxis.setTabOrder(self.minorTicksLength, self.minorTicksWidth)
        CartesianPlotAxis.setTabOrder(self.minorTicksWidth, self.storedSettingsButton)
        CartesianPlotAxis.setTabOrder(self.storedSettingsButton, self.majorTicksLogLocations)
        CartesianPlotAxis.setTabOrder(self.majorTicksLogLocations, self.majorTicksLogBase)
        CartesianPlotAxis.setTabOrder(self.majorTicksLogBase, self.minorTicksLogLocations)

    def retranslateUi(self, CartesianPlotAxis):
        CartesianPlotAxis.setWindowTitle(QtGui.QApplication.translate("CartesianPlotAxis", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("CartesianPlotAxis", "Axis", None, QtGui.QApplication.UnicodeUTF8))
        self.visible.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Visible?", None, QtGui.QApplication.UnicodeUTF8))
        self.scaleType.setItemText(0, QtGui.QApplication.translate("CartesianPlotAxis", "Linear", None, QtGui.QApplication.UnicodeUTF8))
        self.scaleType.setItemText(1, QtGui.QApplication.translate("CartesianPlotAxis", "Logarithmic", None, QtGui.QApplication.UnicodeUTF8))
        self.scaleType.setItemText(2, QtGui.QApplication.translate("CartesianPlotAxis", "Symmetric Log", None, QtGui.QApplication.UnicodeUTF8))
        self.label_19.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Label", None, QtGui.QApplication.UnicodeUTF8))
        self.minimum.setText(QtGui.QApplication.translate("CartesianPlotAxis", "-10.00", None, QtGui.QApplication.UnicodeUTF8))
        self.label_20.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Minimum", None, QtGui.QApplication.UnicodeUTF8))
        self.label_21.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.label_22.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Maximum", None, QtGui.QApplication.UnicodeUTF8))
        self.maximum.setText(QtGui.QApplication.translate("CartesianPlotAxis", "10.00", None, QtGui.QApplication.UnicodeUTF8))
        self.labelFont.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Label Font", None, QtGui.QApplication.UnicodeUTF8))
        self.autoscale.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Autoscale?", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksVisible.setTitle(QtGui.QApplication.translate("CartesianPlotAxis", "Major Ticks", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("CartesianPlotAxis", "Locations", None, QtGui.QApplication.UnicodeUTF8))
        self.useMajorTicksAnchor.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Anchor to value", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksAnchor.setText(QtGui.QApplication.translate("CartesianPlotAxis", "0.00", None, QtGui.QApplication.UnicodeUTF8))
        self.useMajorTicksSpacing.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Spacing between", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksSpacing.setText(QtGui.QApplication.translate("CartesianPlotAxis", "2.00", None, QtGui.QApplication.UnicodeUTF8))
        self.useMajorTicksNumber.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Number of", None, QtGui.QApplication.UnicodeUTF8))
        self.useMajorTicksWaveValues.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Wave values", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Base", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksLogBase.setText(QtGui.QApplication.translate("CartesianPlotAxis", "10", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Tick Locations", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksLogLocations.setText(QtGui.QApplication.translate("CartesianPlotAxis", "1", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksLabelVisible.setTitle(QtGui.QApplication.translate("CartesianPlotAxis", "Labels", None, QtGui.QApplication.UnicodeUTF8))
        self.label_30.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Distance between\n"
"tick and label", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Tick Label", None, QtGui.QApplication.UnicodeUTF8))
        self.label_31.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Direction", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksLabelUseNumeric.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Numeric Labels", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksLabelUseWave.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Wave-based Labels", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksDirection.setItemText(0, QtGui.QApplication.translate("CartesianPlotAxis", "in", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksDirection.setItemText(1, QtGui.QApplication.translate("CartesianPlotAxis", "out", None, QtGui.QApplication.UnicodeUTF8))
        self.label_33.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Length", None, QtGui.QApplication.UnicodeUTF8))
        self.label_34.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Width", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksColor.setText(QtGui.QApplication.translate("CartesianPlotAxis", "(0,0,0,255)", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksLabelNumericFormat.setText(QtGui.QApplication.translate("CartesianPlotAxis", "%.2g", None, QtGui.QApplication.UnicodeUTF8))
        self.label_32.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Color", None, QtGui.QApplication.UnicodeUTF8))
        self.majorTicksLabelFont.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Font", None, QtGui.QApplication.UnicodeUTF8))
        self.minorTicksVisible.setTitle(QtGui.QApplication.translate("CartesianPlotAxis", "Minor Ticks", None, QtGui.QApplication.UnicodeUTF8))
        self.label_26.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Number", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Tick Locations", None, QtGui.QApplication.UnicodeUTF8))
        self.minorTicksLogLocations.setText(QtGui.QApplication.translate("CartesianPlotAxis", "1,2,3,4,5,6,7,8,9", None, QtGui.QApplication.UnicodeUTF8))
        self.label_24.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Color", None, QtGui.QApplication.UnicodeUTF8))
        self.label_27.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Length", None, QtGui.QApplication.UnicodeUTF8))
        self.label_28.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Width", None, QtGui.QApplication.UnicodeUTF8))
        self.minorTicksDirection.setItemText(0, QtGui.QApplication.translate("CartesianPlotAxis", "in", None, QtGui.QApplication.UnicodeUTF8))
        self.minorTicksDirection.setItemText(1, QtGui.QApplication.translate("CartesianPlotAxis", "out", None, QtGui.QApplication.UnicodeUTF8))
        self.minorTicksColor.setText(QtGui.QApplication.translate("CartesianPlotAxis", "(0,0,0,255)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_23.setText(QtGui.QApplication.translate("CartesianPlotAxis", "Direction", None, QtGui.QApplication.UnicodeUTF8))
        self.storedSettingsButton.setText(QtGui.QApplication.translate("CartesianPlotAxis", "S\n"
"t\n"
"o\n"
"r\n"
"e\n"
"d\n"
"\n"
"S\n"
"e\n"
"t\n"
"t\n"
"i\n"
"n\n"
"g\n"
"s", None, QtGui.QApplication.UnicodeUTF8))
class Ui_FigureOptionsWidget(object):
    def setupUi(self, FigureOptionsWidget):
        FigureOptionsWidget.setObjectName(_fromUtf8("FigureOptionsWidget"))
        FigureOptionsWidget.resize(568, 355)
        self.gridLayout = QtGui.QGridLayout(FigureOptionsWidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_7 = QtGui.QLabel(FigureOptionsWidget)
        self.label_7.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_2.addWidget(self.label_7, 0, 0, 1, 1)
        self.label_8 = QtGui.QLabel(FigureOptionsWidget)
        self.label_8.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_2.addWidget(self.label_8, 0, 2, 1, 1)
        self.rows = QtGui.QSpinBox(FigureOptionsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rows.sizePolicy().hasHeightForWidth())
        self.rows.setSizePolicy(sizePolicy)
        self.rows.setMinimumSize(QtCore.QSize(50, 0))
        self.rows.setMinimum(1)
        self.rows.setObjectName(_fromUtf8("rows"))
        self.gridLayout_2.addWidget(self.rows, 0, 1, 1, 1)
        self.columns = QtGui.QSpinBox(FigureOptionsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.columns.sizePolicy().hasHeightForWidth())
        self.columns.setSizePolicy(sizePolicy)
        self.columns.setMinimumSize(QtCore.QSize(50, 0))
        self.columns.setMinimum(1)
        self.columns.setObjectName(_fromUtf8("columns"))
        self.gridLayout_2.addWidget(self.columns, 0, 3, 1, 1)
        self.linkPlotAxes = QtGui.QCheckBox(FigureOptionsWidget)
        self.linkPlotAxes.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.linkPlotAxes.setObjectName(_fromUtf8("linkPlotAxes"))
        self.gridLayout_2.addWidget(self.linkPlotAxes, 0, 4, 1, 2)
        self.gridLayout.addLayout(self.gridLayout_2, 4, 0, 1, 3)
        self.windowTitle = QtGui.QLineEdit(FigureOptionsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.windowTitle.sizePolicy().hasHeightForWidth())
        self.windowTitle.setSizePolicy(sizePolicy)
        self.windowTitle.setMinimumSize(QtCore.QSize(150, 0))
        self.windowTitle.setObjectName(_fromUtf8("windowTitle"))
        self.gridLayout.addWidget(self.windowTitle, 0, 1, 1, 2)
        self.label_24 = QtGui.QLabel(FigureOptionsWidget)
        self.label_24.setObjectName(_fromUtf8("label_24"))
        self.gridLayout.addWidget(self.label_24, 0, 0, 1, 1)
        self.label_13 = QtGui.QLabel(FigureOptionsWidget)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout.addWidget(self.label_13, 1, 0, 1, 1)
        self.title = QtGui.QLineEdit(FigureOptionsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.title.sizePolicy().hasHeightForWidth())
        self.title.setSizePolicy(sizePolicy)
        self.title.setMinimumSize(QtCore.QSize(150, 0))
        self.title.setObjectName(_fromUtf8("title"))
        self.gridLayout.addWidget(self.title, 1, 1, 1, 1)
        self.titleFont = QTextOptionsButton(FigureOptionsWidget)
        self.titleFont.setObjectName(_fromUtf8("titleFont"))
        self.gridLayout.addWidget(self.titleFont, 1, 2, 1, 1)
        self.label_5 = QtGui.QLabel(FigureOptionsWidget)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1)
        self.backgroundColor = QColorButton(FigureOptionsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.backgroundColor.sizePolicy().hasHeightForWidth())
        self.backgroundColor.setSizePolicy(sizePolicy)
        self.backgroundColor.setMinimumSize(QtCore.QSize(55, 0))
        self.backgroundColor.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.backgroundColor.setStyleSheet(
            _fromUtf8("background-color: rgb(255, 255, 255);\n" "color: rgb(0, 0, 0);\n" "")
        )
        self.backgroundColor.setObjectName(_fromUtf8("backgroundColor"))
        self.gridLayout.addWidget(self.backgroundColor, 2, 1, 1, 2)
        self.label_20 = QtGui.QLabel(FigureOptionsWidget)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.gridLayout.addWidget(self.label_20, 3, 0, 1, 1)
        self.axesPadding = QtGui.QDoubleSpinBox(FigureOptionsWidget)
        self.axesPadding.setSingleStep(0.1)
        self.axesPadding.setProperty(_fromUtf8("value"), 0.5)
        self.axesPadding.setObjectName(_fromUtf8("axesPadding"))
        self.gridLayout.addWidget(self.axesPadding, 3, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 3, 4, 1, 1)
        self.line_2 = QtGui.QFrame(FigureOptionsWidget)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.gridLayout.addWidget(self.line_2, 5, 0, 1, 3)
        self.buttons = QtGui.QDialogButtonBox(FigureOptionsWidget)
        self.buttons.setOrientation(QtCore.Qt.Horizontal)
        self.buttons.setStandardButtons(QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset)
        self.buttons.setCenterButtons(True)
        self.buttons.setObjectName(_fromUtf8("buttons"))
        self.gridLayout.addWidget(self.buttons, 6, 0, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 8, 3, 1, 1)
        self.storedSettingsButton = QStoredSettingsButton(FigureOptionsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.storedSettingsButton.sizePolicy().hasHeightForWidth())
        self.storedSettingsButton.setSizePolicy(sizePolicy)
        self.storedSettingsButton.setMaximumSize(QtCore.QSize(26, 16777215))
        self.storedSettingsButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
        self.storedSettingsButton.setArrowType(QtCore.Qt.LeftArrow)
        self.storedSettingsButton.setObjectName(_fromUtf8("storedSettingsButton"))
        self.gridLayout.addWidget(self.storedSettingsButton, 0, 3, 8, 1)

        self.retranslateUi(FigureOptionsWidget)
        QtCore.QObject.connect(
            self.backgroundColor, QtCore.SIGNAL(_fromUtf8("clicked()")), self.backgroundColor.createColorDialog
        )
        QtCore.QObject.connect(
            self.titleFont, QtCore.SIGNAL(_fromUtf8("clicked()")), self.titleFont.showTextOptionsWidget
        )
        QtCore.QObject.connect(
            self.buttons, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), FigureOptionsWidget.buttonClickHandler
        )
        QtCore.QObject.connect(
            self.storedSettingsButton, QtCore.SIGNAL(_fromUtf8("clicked()")), self.storedSettingsButton.toggleWidget
        )

    def retranslateUi(self, FigureOptionsWidget):
        FigureOptionsWidget.setWindowTitle(
            QtGui.QApplication.translate("FigureOptionsWidget", "Form", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.label_7.setText(
            QtGui.QApplication.translate("FigureOptionsWidget", "Rows", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.label_8.setText(
            QtGui.QApplication.translate("FigureOptionsWidget", "Columns", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.linkPlotAxes.setText(
            QtGui.QApplication.translate(
                "FigureOptionsWidget", "Link Axes Together", None, QtGui.QApplication.UnicodeUTF8
            )
        )
        self.windowTitle.setToolTip(
            QtGui.QApplication.translate(
                "FigureOptionsWidget", "Window Title Text", None, QtGui.QApplication.UnicodeUTF8
            )
        )
        self.label_24.setText(
            QtGui.QApplication.translate("FigureOptionsWidget", "Window Title", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.label_13.setText(
            QtGui.QApplication.translate("FigureOptionsWidget", "Figure Title", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.titleFont.setText(
            QtGui.QApplication.translate("FigureOptionsWidget", "Font", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.label_5.setText(
            QtGui.QApplication.translate(
                "FigureOptionsWidget", "Background Color", None, QtGui.QApplication.UnicodeUTF8
            )
        )
        self.backgroundColor.setText(
            QtGui.QApplication.translate(
                "FigureOptionsWidget", "(255,255,255,255)", None, QtGui.QApplication.UnicodeUTF8
            )
        )
        self.label_20.setText(
            QtGui.QApplication.translate(
                "FigureOptionsWidget", "Padding between Plots", None, QtGui.QApplication.UnicodeUTF8
            )
        )
        self.storedSettingsButton.setText(
            QtGui.QApplication.translate(
                "FigureOptionsWidget",
                "S\n" "t\n" "o\n" "r\n" "e\n" "d\n" "\n" "S\n" "e\n" "t\n" "t\n" "i\n" "n\n" "g\n" "s",
                None,
                QtGui.QApplication.UnicodeUTF8,
            )
        )
Пример #6
0
class Ui_PlotOptionsWidget(object):
    def setupUi(self, PlotOptionsWidget):
        PlotOptionsWidget.setObjectName(_fromUtf8("PlotOptionsWidget"))
        PlotOptionsWidget.resize(797, 442)
        self.horizontalLayout = QtGui.QHBoxLayout(PlotOptionsWidget)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_29 = QtGui.QLabel(PlotOptionsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_29.sizePolicy().hasHeightForWidth())
        self.label_29.setSizePolicy(sizePolicy)
        self.label_29.setObjectName(_fromUtf8("label_29"))
        self.verticalLayout.addWidget(self.label_29)
        self.plotSelector = QtGui.QComboBox(PlotOptionsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.plotSelector.sizePolicy().hasHeightForWidth())
        self.plotSelector.setSizePolicy(sizePolicy)
        self.plotSelector.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents)
        self.plotSelector.setMinimumContentsLength(20)
        self.plotSelector.setObjectName(_fromUtf8("plotSelector"))
        self.verticalLayout.addWidget(self.plotSelector)
        self.line = QtGui.QFrame(PlotOptionsWidget)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.verticalLayout.addWidget(self.line)
        self.groupBox = QtGui.QGroupBox(PlotOptionsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMinimumSize(QtCore.QSize(200, 0))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.label_3 = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout_3.addWidget(self.label_3)
        self.name = QtGui.QLineEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.name.sizePolicy().hasHeightForWidth())
        self.name.setSizePolicy(sizePolicy)
        self.name.setMinimumSize(QtCore.QSize(150, 0))
        self.name.setMaximumSize(QtCore.QSize(300, 16777215))
        self.name.setObjectName(_fromUtf8("name"))
        self.verticalLayout_3.addWidget(self.name)
        self.nameFont = QTextOptionsButton(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.nameFont.sizePolicy().hasHeightForWidth())
        self.nameFont.setSizePolicy(sizePolicy)
        self.nameFont.setMinimumSize(QtCore.QSize(75, 0))
        self.nameFont.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.nameFont.setObjectName(_fromUtf8("nameFont"))
        self.verticalLayout_3.addWidget(self.nameFont)
        self.line_5 = QtGui.QFrame(self.groupBox)
        self.line_5.setFrameShape(QtGui.QFrame.HLine)
        self.line_5.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_5.setObjectName(_fromUtf8("line_5"))
        self.verticalLayout_3.addWidget(self.line_5)
        self.label_8 = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth())
        self.label_8.setSizePolicy(sizePolicy)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.verticalLayout_3.addWidget(self.label_8)
        self.backgroundColor = QColorButton(self.groupBox)
        self.backgroundColor.setMinimumSize(QtCore.QSize(150, 0))
        self.backgroundColor.setStyleSheet(_fromUtf8("color: rgb(0, 0, 0);\n" "background-color: rgb(255, 255, 255);"))
        self.backgroundColor.setObjectName(_fromUtf8("backgroundColor"))
        self.verticalLayout_3.addWidget(self.backgroundColor)
        self.line_6 = QtGui.QFrame(self.groupBox)
        self.line_6.setFrameShape(QtGui.QFrame.HLine)
        self.line_6.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_6.setObjectName(_fromUtf8("line_6"))
        self.verticalLayout_3.addWidget(self.line_6)
        self.label = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_3.addWidget(self.label)
        self.plotType = QtGui.QListWidget(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.plotType.sizePolicy().hasHeightForWidth())
        self.plotType.setSizePolicy(sizePolicy)
        self.plotType.setMinimumSize(QtCore.QSize(100, 0))
        self.plotType.setObjectName(_fromUtf8("plotType"))
        self.verticalLayout_3.addWidget(self.plotType)
        self.buttons = QtGui.QDialogButtonBox(self.groupBox)
        self.buttons.setStandardButtons(QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset)
        self.buttons.setCenterButtons(True)
        self.buttons.setObjectName(_fromUtf8("buttons"))
        self.verticalLayout_3.addWidget(self.buttons)
        self.verticalLayout.addWidget(self.groupBox)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.plotTypeStack = QtGui.QStackedWidget(PlotOptionsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.plotTypeStack.sizePolicy().hasHeightForWidth())
        self.plotTypeStack.setSizePolicy(sizePolicy)
        self.plotTypeStack.setFrameShape(QtGui.QFrame.NoFrame)
        self.plotTypeStack.setObjectName(_fromUtf8("plotTypeStack"))
        self.horizontalLayout.addWidget(self.plotTypeStack)
        self.horizontalLayout.setStretch(0, 1)
        self.horizontalLayout.setStretch(1, 3)

        self.retranslateUi(PlotOptionsWidget)
        self.plotTypeStack.setCurrentIndex(-1)
        QtCore.QObject.connect(
            self.plotSelector, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(int)")), PlotOptionsWidget.changeCurrentPlot
        )
        QtCore.QObject.connect(
            self.buttons, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), PlotOptionsWidget.buttonClickHandler
        )
        QtCore.QObject.connect(
            self.nameFont, QtCore.SIGNAL(_fromUtf8("clicked()")), self.nameFont.showTextOptionsWidget
        )
        QtCore.QObject.connect(
            self.backgroundColor, QtCore.SIGNAL(_fromUtf8("clicked()")), self.backgroundColor.createColorDialog
        )

    def retranslateUi(self, PlotOptionsWidget):
        PlotOptionsWidget.setWindowTitle(
            QtGui.QApplication.translate("PlotOptionsWidget", "Form", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.label_29.setText(
            QtGui.QApplication.translate("PlotOptionsWidget", "Select Plot", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.groupBox.setTitle(
            QtGui.QApplication.translate(
                "PlotOptionsWidget", "General Plot Options", None, QtGui.QApplication.UnicodeUTF8
            )
        )
        self.label_3.setText(
            QtGui.QApplication.translate("PlotOptionsWidget", "Plot Name", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.nameFont.setText(
            QtGui.QApplication.translate("PlotOptionsWidget", "Font", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.label_8.setText(
            QtGui.QApplication.translate("PlotOptionsWidget", "Plot Background", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.backgroundColor.setText(
            QtGui.QApplication.translate("PlotOptionsWidget", "(255,255,255,255)", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.label.setText(
            QtGui.QApplication.translate("PlotOptionsWidget", "Plot Type", None, QtGui.QApplication.UnicodeUTF8)
        )