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

# Form implementation generated from reading ui file 'resources/_ui/function_tree_widget.ui'
#
# Created by: PyQt5 UI code generator 5.12.3
#
# WARNING! All changes made in this file will be lost!


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(314, 232)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
        Form.setSizePolicy(sizePolicy)
        self.gridLayout = QtWidgets.QGridLayout(Form)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setSpacing(3)
        self.gridLayout.setObjectName("gridLayout")
        self.widget_2 = ExpandableWidget(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
        self.widget_2.setSizePolicy(sizePolicy)
        self.widget_2.setObjectName("widget_2")
        self.gridLayout.addWidget(self.widget_2, 4, 0, 1, 2)
        self.widget = QtWidgets.QWidget(Form)
        self.widget.setObjectName("widget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.widget)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_2 = QtWidgets.QLabel(self.widget)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
        self.complex_comboBox = QtWidgets.QComboBox(self.widget)
        self.complex_comboBox.setObjectName("complex_comboBox")
        self.complex_comboBox.addItem("")
        self.complex_comboBox.addItem("")
        self.complex_comboBox.addItem("")
        self.gridLayout_2.addWidget(self.complex_comboBox, 1, 1, 1, 1)
        self.label = QtWidgets.QLabel(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 2)
        self.gridLayout.addWidget(self.widget, 5, 0, 1, 2)
        self.use_function_button = QtWidgets.QToolButton(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.use_function_button.sizePolicy().hasHeightForWidth())
        self.use_function_button.setSizePolicy(sizePolicy)
        self.use_function_button.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon)
        self.use_function_button.setAutoRaise(False)
        self.use_function_button.setArrowType(QtCore.Qt.RightArrow)
        self.use_function_button.setObjectName("use_function_button")
        self.gridLayout.addWidget(self.use_function_button, 3, 1, 1, 1)
        self.fitcomboBox = QtWidgets.QComboBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fitcomboBox.sizePolicy().hasHeightForWidth())
        self.fitcomboBox.setSizePolicy(sizePolicy)
        self.fitcomboBox.setObjectName("fitcomboBox")
        self.gridLayout.addWidget(self.fitcomboBox, 1, 0, 1, 2)
        self.typecomboBox = QtWidgets.QComboBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.typecomboBox.sizePolicy().hasHeightForWidth())
        self.typecomboBox.setSizePolicy(sizePolicy)
        self.typecomboBox.setObjectName("typecomboBox")
        self.gridLayout.addWidget(self.typecomboBox, 0, 0, 1, 2)
        self.fitequation = QtWidgets.QLabel(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fitequation.sizePolicy().hasHeightForWidth())
        self.fitequation.setSizePolicy(sizePolicy)
        self.fitequation.setWordWrap(True)
        self.fitequation.setObjectName("fitequation")
        self.gridLayout.addWidget(self.fitequation, 2, 0, 1, 2)
        self.operator_combobox = QtWidgets.QComboBox(Form)
        self.operator_combobox.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.operator_combobox.setFrame(True)
        self.operator_combobox.setObjectName("operator_combobox")
        self.operator_combobox.addItem("")
        self.operator_combobox.addItem("")
        self.operator_combobox.addItem("")
        self.operator_combobox.addItem("")
        self.gridLayout.addWidget(self.operator_combobox, 3, 0, 1, 1)
        self.comboBox_2 = QtWidgets.QComboBox(Form)
        self.comboBox_2.setObjectName("comboBox_2")
        self.gridLayout.addWidget(self.comboBox_2, 6, 0, 1, 2)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.label_2.setText(_translate("Form", "Select part to fit"))
        self.complex_comboBox.setItemText(0, _translate("Form", "Complex"))
        self.complex_comboBox.setItemText(1, _translate("Form", "Real"))
        self.complex_comboBox.setItemText(2, _translate("Form", "Imaginary"))
        self.label.setText(_translate("Form", "Complex function found"))
        self.use_function_button.setText(_translate("Form", "Use"))
        self.fitequation.setText(_translate("Form", "Equation"))
        self.operator_combobox.setItemText(0, _translate("Form", "Add"))
        self.operator_combobox.setItemText(1, _translate("Form", "Multiply"))
        self.operator_combobox.setItemText(2, _translate("Form", "Subtract"))
        self.operator_combobox.setItemText(3, _translate("Form", "Divide by"))
from ..lib.expandablewidget import ExpandableWidget
