# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'src/resources/_ui/graph.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_GraphWindow(object):
    def setupUi(self, GraphWindow):
        GraphWindow.setObjectName("GraphWindow")
        GraphWindow.resize(865, 520)
        GraphWindow.setBaseSize(QtCore.QSize(300, 10))
        self.verticalLayout = QtWidgets.QVBoxLayout(GraphWindow)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setSpacing(3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.widget = QtWidgets.QWidget(GraphWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName("widget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.widget)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setSpacing(1)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.logx_button = QtWidgets.QToolButton(self.widget)
        self.logx_button.setIconSize(QtCore.QSize(16, 16))
        self.logx_button.setCheckable(True)
        self.logx_button.setAutoRaise(True)
        self.logx_button.setObjectName("logx_button")
        self.horizontalLayout.addWidget(self.logx_button)
        self.logy_button = QtWidgets.QToolButton(self.widget)
        self.logy_button.setIconSize(QtCore.QSize(16, 16))
        self.logy_button.setCheckable(True)
        self.logy_button.setAutoRaise(True)
        self.logy_button.setObjectName("logy_button")
        self.horizontalLayout.addWidget(self.logy_button)
        self.line = QtWidgets.QFrame(self.widget)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout.addWidget(self.line)
        self.gridbutton = QtWidgets.QToolButton(self.widget)
        self.gridbutton.setCheckable(True)
        self.gridbutton.setAutoRaise(True)
        self.gridbutton.setObjectName("gridbutton")
        self.horizontalLayout.addWidget(self.gridbutton)
        self.bwbutton = QtWidgets.QToolButton(self.widget)
        self.bwbutton.setCheckable(True)
        self.bwbutton.setAutoRaise(True)
        self.bwbutton.setObjectName("bwbutton")
        self.horizontalLayout.addWidget(self.bwbutton)
        self.line_2 = QtWidgets.QFrame(self.widget)
        self.line_2.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.horizontalLayout.addWidget(self.line_2)
        self.legend_button = QtWidgets.QToolButton(self.widget)
        self.legend_button.setIconSize(QtCore.QSize(16, 16))
        self.legend_button.setCheckable(True)
        self.legend_button.setAutoRaise(True)
        self.legend_button.setObjectName("legend_button")
        self.horizontalLayout.addWidget(self.legend_button)
        self.imag_button = QtWidgets.QToolButton(self.widget)
        self.imag_button.setIconSize(QtCore.QSize(16, 16))
        self.imag_button.setCheckable(True)
        self.imag_button.setChecked(True)
        self.imag_button.setAutoRaise(True)
        self.imag_button.setObjectName("imag_button")
        self.horizontalLayout.addWidget(self.imag_button)
        self.real_button = QtWidgets.QToolButton(self.widget)
        self.real_button.setIconSize(QtCore.QSize(16, 16))
        self.real_button.setCheckable(True)
        self.real_button.setChecked(True)
        self.real_button.setAutoRaise(True)
        self.real_button.setObjectName("real_button")
        self.horizontalLayout.addWidget(self.real_button)
        self.error_button = QtWidgets.QToolButton(self.widget)
        self.error_button.setIconSize(QtCore.QSize(16, 16))
        self.error_button.setCheckable(True)
        self.error_button.setAutoRaise(True)
        self.error_button.setObjectName("error_button")
        self.horizontalLayout.addWidget(self.error_button)
        self.line_3 = QtWidgets.QFrame(self.widget)
        self.line_3.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.horizontalLayout.addWidget(self.line_3)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.graph_label = QtWidgets.QLabel(self.widget)
        self.graph_label.setText("")
        self.graph_label.setObjectName("graph_label")
        self.horizontalLayout.addWidget(self.graph_label)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.limit_button = QtWidgets.QToolButton(self.widget)
        self.limit_button.setCheckable(True)
        self.limit_button.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon)
        self.limit_button.setAutoRaise(True)
        self.limit_button.setArrowType(QtCore.Qt.RightArrow)
        self.limit_button.setObjectName("limit_button")
        self.horizontalLayout.addWidget(self.limit_button)
        self.label_button = QtWidgets.QToolButton(self.widget)
        self.label_button.setCheckable(True)
        self.label_button.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon)
        self.label_button.setAutoRaise(True)
        self.label_button.setArrowType(QtCore.Qt.RightArrow)
        self.label_button.setObjectName("label_button")
        self.horizontalLayout.addWidget(self.label_button)
        self.verticalLayout.addWidget(self.widget)
        self.line_4 = QtWidgets.QFrame(GraphWindow)
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.verticalLayout.addWidget(self.line_4)
        self.limit_widget = QtWidgets.QWidget(GraphWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.limit_widget.sizePolicy().hasHeightForWidth())
        self.limit_widget.setSizePolicy(sizePolicy)
        self.limit_widget.setObjectName("limit_widget")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.limit_widget)
        self.horizontalLayout_2.setContentsMargins(1, 1, 1, 1)
        self.horizontalLayout_2.setSpacing(2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtWidgets.QLabel(self.limit_widget)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.xmin_lineedit = QtWidgets.QLineEdit(self.limit_widget)
        self.xmin_lineedit.setObjectName("xmin_lineedit")
        self.horizontalLayout_2.addWidget(self.xmin_lineedit)
        self.label_2 = QtWidgets.QLabel(self.limit_widget)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        self.xmax_lineedit = QtWidgets.QLineEdit(self.limit_widget)
        self.xmax_lineedit.setObjectName("xmax_lineedit")
        self.horizontalLayout_2.addWidget(self.xmax_lineedit)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.label_3 = QtWidgets.QLabel(self.limit_widget)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_2.addWidget(self.label_3)
        self.ymin_lineedit = QtWidgets.QLineEdit(self.limit_widget)
        self.ymin_lineedit.setObjectName("ymin_lineedit")
        self.horizontalLayout_2.addWidget(self.ymin_lineedit)
        self.label_4 = QtWidgets.QLabel(self.limit_widget)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_2.addWidget(self.label_4)
        self.ymax_lineedit = QtWidgets.QLineEdit(self.limit_widget)
        self.ymax_lineedit.setObjectName("ymax_lineedit")
        self.horizontalLayout_2.addWidget(self.ymax_lineedit)
        self.apply_button = QtWidgets.QPushButton(self.limit_widget)
        icon = QtGui.QIcon.fromTheme("dialog-ok")
        self.apply_button.setIcon(icon)
        self.apply_button.setObjectName("apply_button")
        self.horizontalLayout_2.addWidget(self.apply_button)
        self.verticalLayout.addWidget(self.limit_widget)
        self.label_widget = QtWidgets.QWidget(GraphWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_widget.sizePolicy().hasHeightForWidth())
        self.label_widget.setSizePolicy(sizePolicy)
        self.label_widget.setObjectName("label_widget")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.label_widget)
        self.horizontalLayout_3.setContentsMargins(1, 1, 1, 1)
        self.horizontalLayout_3.setSpacing(2)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_5 = QtWidgets.QLabel(self.label_widget)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_3.addWidget(self.label_5)
        self.title_lineedit = QtWidgets.QLineEdit(self.label_widget)
        self.title_lineedit.setObjectName("title_lineedit")
        self.horizontalLayout_3.addWidget(self.title_lineedit)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.label_6 = QtWidgets.QLabel(self.label_widget)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_3.addWidget(self.label_6)
        self.xaxis_linedit = QtWidgets.QLineEdit(self.label_widget)
        self.xaxis_linedit.setObjectName("xaxis_linedit")
        self.horizontalLayout_3.addWidget(self.xaxis_linedit)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem4)
        self.label_7 = QtWidgets.QLabel(self.label_widget)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_3.addWidget(self.label_7)
        self.yaxis_linedit = QtWidgets.QLineEdit(self.label_widget)
        self.yaxis_linedit.setObjectName("yaxis_linedit")
        self.horizontalLayout_3.addWidget(self.yaxis_linedit)
        self.verticalLayout.addWidget(self.label_widget)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setHorizontalSpacing(3)
        self.gridLayout.setVerticalSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.listWidget = QtWidgets.QListWidget(GraphWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.listWidget.sizePolicy().hasHeightForWidth())
        self.listWidget.setSizePolicy(sizePolicy)
        self.listWidget.setObjectName("listWidget")
        self.gridLayout.addWidget(self.listWidget, 1, 1, 1, 1)
        self.checkBox = QtWidgets.QCheckBox(GraphWindow)
        self.checkBox.setChecked(True)
        self.checkBox.setObjectName("checkBox")
        self.gridLayout.addWidget(self.checkBox, 0, 1, 1, 1)
        self.graphic = PlotWidget(GraphWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.graphic.sizePolicy().hasHeightForWidth())
        self.graphic.setSizePolicy(sizePolicy)
        self.graphic.setObjectName("graphic")
        self.gridLayout.addWidget(self.graphic, 0, 0, 2, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.label.setBuddy(self.xmin_lineedit)
        self.label_2.setBuddy(self.xmax_lineedit)
        self.label_3.setBuddy(self.ymin_lineedit)
        self.label_4.setBuddy(self.ymax_lineedit)
        self.label_5.setBuddy(self.title_lineedit)
        self.label_6.setBuddy(self.xaxis_linedit)
        self.label_7.setBuddy(self.yaxis_linedit)

        self.retranslateUi(GraphWindow)
        QtCore.QMetaObject.connectSlotsByName(GraphWindow)
        GraphWindow.setTabOrder(self.logx_button, self.logy_button)
        GraphWindow.setTabOrder(self.logy_button, self.gridbutton)
        GraphWindow.setTabOrder(self.gridbutton, self.legend_button)
        GraphWindow.setTabOrder(self.legend_button, self.imag_button)
        GraphWindow.setTabOrder(self.imag_button, self.error_button)
        GraphWindow.setTabOrder(self.error_button, self.limit_button)
        GraphWindow.setTabOrder(self.limit_button, self.label_button)
        GraphWindow.setTabOrder(self.label_button, self.xmin_lineedit)
        GraphWindow.setTabOrder(self.xmin_lineedit, self.xmax_lineedit)
        GraphWindow.setTabOrder(self.xmax_lineedit, self.ymin_lineedit)
        GraphWindow.setTabOrder(self.ymin_lineedit, self.ymax_lineedit)
        GraphWindow.setTabOrder(self.ymax_lineedit, self.title_lineedit)
        GraphWindow.setTabOrder(self.title_lineedit, self.xaxis_linedit)
        GraphWindow.setTabOrder(self.xaxis_linedit, self.yaxis_linedit)

    def retranslateUi(self, GraphWindow):
        _translate = QtCore.QCoreApplication.translate
        GraphWindow.setWindowTitle(_translate("GraphWindow", "Form"))
        self.logx_button.setToolTip(_translate("GraphWindow", "Change x axis linear <-> logarithmic"))
        self.logx_button.setText(_translate("GraphWindow", "Log X"))
        self.logy_button.setToolTip(_translate("GraphWindow", "Change y axis linear <-> logarithmic"))
        self.logy_button.setText(_translate("GraphWindow", "Log Y"))
        self.gridbutton.setToolTip(_translate("GraphWindow", "Show/hide grid"))
        self.gridbutton.setText(_translate("GraphWindow", "Grid"))
        self.bwbutton.setToolTip(_translate("GraphWindow", "Change background"))
        self.bwbutton.setText(_translate("GraphWindow", "Black/white"))
        self.legend_button.setToolTip(_translate("GraphWindow", "Change legend"))
        self.legend_button.setText(_translate("GraphWindow", "Legend"))
        self.imag_button.setToolTip(_translate("GraphWindow", "Show/hide imaginary part"))
        self.imag_button.setText(_translate("GraphWindow", "Imaginary"))
        self.real_button.setToolTip(_translate("GraphWindow", "Show/hide real part"))
        self.real_button.setText(_translate("GraphWindow", "Real"))
        self.error_button.setToolTip(_translate("GraphWindow", "Show/hide errorbars"))
        self.error_button.setText(_translate("GraphWindow", "Errorbars"))
        self.limit_button.setText(_translate("GraphWindow", "Limits"))
        self.label_button.setText(_translate("GraphWindow", "Labels"))
        self.label.setText(_translate("GraphWindow", "X: "))
        self.label_2.setText(_translate("GraphWindow", "---"))
        self.label_3.setText(_translate("GraphWindow", "Y: "))
        self.label_4.setText(_translate("GraphWindow", "---"))
        self.apply_button.setText(_translate("GraphWindow", "Apply"))
        self.label_5.setText(_translate("GraphWindow", "Title"))
        self.label_6.setText(_translate("GraphWindow", "X Axis"))
        self.label_7.setText(_translate("GraphWindow", "Y Axis"))
        self.checkBox.setText(_translate("GraphWindow", "Show legend"))
from pyqtgraph import PlotWidget
