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

# Form implementation generated from reading ui file './elements_ui.ui',
# licensing of './elements_ui.ui' applies.
#
# Created: Wed Jun 16 14:29:03 2021
#      by: pyside2-uic  running on PySide2 5.13.2
#
# WARNING! All changes made in this file will be lost!

from PySide2 import QtCore, QtGui, QtWidgets


class Ui_ElementsWindow(object):

    def setupUi(self, ElementsWindow):
        ElementsWindow.setObjectName("ElementsWindow")
        ElementsWindow.resize(841, 623)
        self.centralwidget = QtWidgets.QWidget(ElementsWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setSizeConstraint(
            QtWidgets.QLayout.SetDefaultConstraint)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.btn_refresh = QtWidgets.QPushButton(self.centralwidget)
        self.btn_refresh.setCursor(QtCore.Qt.ClosedHandCursor)
        self.btn_refresh.setText("")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/refresh"), QtGui.QIcon.Normal,
                       QtGui.QIcon.Off)
        self.btn_refresh.setIcon(icon)
        self.btn_refresh.setIconSize(QtCore.QSize(20, 20))
        self.btn_refresh.setAutoDefault(False)
        self.btn_refresh.setDefault(False)
        self.btn_refresh.setFlat(True)
        self.btn_refresh.setObjectName("btn_refresh")
        self.horizontalLayout.addWidget(self.btn_refresh)
        self.label = QtWidgets.QLabel(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing |
                                QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.combo_element_type = QtWidgets.QComboBox(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.combo_element_type.sizePolicy().hasHeightForWidth())
        self.combo_element_type.setSizePolicy(sizePolicy)
        self.combo_element_type.setCurrentText("")
        self.combo_element_type.setSizeAdjustPolicy(
            QtWidgets.QComboBox.AdjustToContents)
        self.combo_element_type.setObjectName("combo_element_type")
        self.horizontalLayout.addWidget(self.combo_element_type)
        self.line = QtWidgets.QFrame(self.centralwidget)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout.addWidget(self.line)
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout.addWidget(self.label_3)
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setObjectName("lineEdit")
        self.horizontalLayout.addWidget(self.lineEdit)
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout.addWidget(self.label_4)
        self.lineEdit_2 = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit_2.setObjectName("lineEdit_2")
        self.horizontalLayout.addWidget(self.lineEdit_2)
        self.line_2 = QtWidgets.QFrame(self.centralwidget)
        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.verticalLayout.addLayout(self.horizontalLayout)
        self.tableElements = QtWidgets.QTableView(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tableElements.sizePolicy().hasHeightForWidth())
        self.tableElements.setSizePolicy(sizePolicy)
        self.tableElements.setProperty("showDropIndicator", False)
        self.tableElements.setDragDropOverwriteMode(False)
        self.tableElements.setAlternatingRowColors(True)
        self.tableElements.setSortingEnabled(False)
        self.tableElements.setObjectName("tableElements")
        self.verticalLayout.addWidget(self.tableElements)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        ElementsWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar()
        self.menubar.setGeometry(QtCore.QRect(0, 0, 841, 22))
        self.menubar.setObjectName("menubar")
        ElementsWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(ElementsWindow)
        self.statusbar.setEnabled(True)
        self.statusbar.setObjectName("statusbar")
        ElementsWindow.setStatusBar(self.statusbar)

        self.retranslateUi(ElementsWindow)
        QtCore.QObject.connect(self.combo_element_type,
                               QtCore.SIGNAL("currentIndexChanged(QString)"),
                               ElementsWindow.combo_element_type)
        QtCore.QObject.connect(self.btn_refresh, QtCore.SIGNAL("clicked()"),
                               ElementsWindow.force_refresh)
        QtCore.QMetaObject.connectSlotsByName(ElementsWindow)

    def retranslateUi(self, ElementsWindow):
        ElementsWindow.setWindowTitle(
            QtWidgets.QApplication.translate("ElementsWindow", "MainWindow",
                                             None, -1))
        self.btn_refresh.setToolTip(
            QtWidgets.QApplication.translate("ElementsWindow",
                                             "Force refresh the table ", None,
                                             -1))
        self.btn_refresh.setStatusTip(
            QtWidgets.QApplication.translate("ElementsWindow",
                                             "Force refresh the table ", None,
                                             -1))
        self.btn_refresh.setWhatsThis(
            QtWidgets.QApplication.translate("ElementsWindow",
                                             "Force refresh the table ", None,
                                             -1))
        self.btn_refresh.setAccessibleDescription(
            QtWidgets.QApplication.translate("ElementsWindow",
                                             "Force refresh the table ", None,
                                             -1))
        self.label.setText(
            QtWidgets.QApplication.translate("ElementsWindow", "Element type: ",
                                             None, -1))
        self.combo_element_type.setToolTip(
            QtWidgets.QApplication.translate(
                "ElementsWindow",
                "<html><head/><body><p>Select the element table you wish to view</p></body></html>",
                None, -1))
        self.label_3.setText(
            QtWidgets.QApplication.translate("ElementsWindow", "  Filter:  ",
                                             None, -1))
        self.label_2.setText(
            QtWidgets.QApplication.translate("ElementsWindow", "Component: ",
                                             None, -1))
        self.label_4.setText(
            QtWidgets.QApplication.translate("ElementsWindow", "  Layer:  ",
                                             None, -1))


from . import main_window_rc_rc

[((19, 29, 19, 62), 'PySide2.QtWidgets.QWidget', 'QtWidgets.QWidget', ({(19, 47, 19, 61): 'ElementsWindow'}, {}), '(ElementsWindow)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((21, 32, 21, 73), 'PySide2.QtWidgets.QVBoxLayout', 'QtWidgets.QVBoxLayout', ({(21, 54, 21, 72): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((25, 30, 25, 53), 'PySide2.QtWidgets.QVBoxLayout', 'QtWidgets.QVBoxLayout', ({}, {}), '()', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((29, 32, 29, 55), 'PySide2.QtWidgets.QHBoxLayout', 'QtWidgets.QHBoxLayout', ({}, {}), '()', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((31, 27, 31, 68), 'PySide2.QtWidgets.QPushButton', 'QtWidgets.QPushButton', ({(31, 49, 31, 67): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((34, 15, 34, 28), 'PySide2.QtGui.QIcon', 'QtGui.QIcon', ({}, {}), '()', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((44, 21, 44, 57), 'PySide2.QtWidgets.QLabel', 'QtWidgets.QLabel', ({(44, 38, 44, 56): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((45, 21, 46, 73), 'PySide2.QtWidgets.QSizePolicy', 'QtWidgets.QSizePolicy', ({(45, 43, 45, 72): 'QtWidgets.QSizePolicy.Minimum', (46, 43, 46, 72): 'QtWidgets.QSizePolicy.Minimum'}, {}), '(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.\n    Minimum)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((52, 15, 52, 28), 'PySide2.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((60, 34, 60, 73), 'PySide2.QtWidgets.QComboBox', 'QtWidgets.QComboBox', ({(60, 54, 60, 72): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((61, 21, 62, 73), 'PySide2.QtWidgets.QSizePolicy', 'QtWidgets.QSizePolicy', ({(61, 43, 61, 74): 'QtWidgets.QSizePolicy.Preferred', (62, 43, 62, 72): 'QtWidgets.QSizePolicy.Minimum'}, {}), '(QtWidgets.QSizePolicy.Preferred, QtWidgets.\n    QSizePolicy.Minimum)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((73, 20, 73, 56), 'PySide2.QtWidgets.QFrame', 'QtWidgets.QFrame', ({(73, 37, 73, 55): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((78, 23, 78, 59), 'PySide2.QtWidgets.QLabel', 'QtWidgets.QLabel', ({(78, 40, 78, 58): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((79, 15, 79, 28), 'PySide2.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((85, 23, 85, 59), 'PySide2.QtWidgets.QLabel', 'QtWidgets.QLabel', ({(85, 40, 85, 58): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((88, 24, 88, 63), 'PySide2.QtWidgets.QLineEdit', 'QtWidgets.QLineEdit', ({(88, 44, 88, 62): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((91, 23, 91, 59), 'PySide2.QtWidgets.QLabel', 'QtWidgets.QLabel', ({(91, 40, 91, 58): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((94, 26, 94, 65), 'PySide2.QtWidgets.QLineEdit', 'QtWidgets.QLineEdit', ({(94, 46, 94, 64): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((97, 22, 97, 58), 'PySide2.QtWidgets.QFrame', 'QtWidgets.QFrame', ({(97, 39, 97, 57): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((103, 29, 103, 69), 'PySide2.QtWidgets.QTableView', 'QtWidgets.QTableView', ({(103, 50, 103, 68): 'self.centralwidget'}, {}), '(self.centralwidget)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((104, 21, 105, 75), 'PySide2.QtWidgets.QSizePolicy', 'QtWidgets.QSizePolicy', ({(104, 43, 104, 74): 'QtWidgets.QSizePolicy.Expanding', (105, 43, 105, 74): 'QtWidgets.QSizePolicy.Expanding'}, {}), '(QtWidgets.QSizePolicy.Expanding, QtWidgets.\n    QSizePolicy.Expanding)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((119, 23, 119, 43), 'PySide2.QtWidgets.QMenuBar', 'QtWidgets.QMenuBar', ({}, {}), '()', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((123, 25, 123, 61), 'PySide2.QtWidgets.QStatusBar', 'QtWidgets.QStatusBar', ({(123, 46, 123, 60): 'ElementsWindow'}, {}), '(ElementsWindow)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((134, 8, 134, 61), 'PySide2.QtCore.QMetaObject.connectSlotsByName', 'QtCore.QMetaObject.connectSlotsByName', ({(134, 46, 134, 60): 'ElementsWindow'}, {}), '(ElementsWindow)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((35, 23, 35, 49), 'PySide2.QtGui.QPixmap', 'QtGui.QPixmap', ({(35, 37, 35, 48): '""":/refresh"""'}, {}), "(':/refresh')", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((38, 37, 38, 57), 'PySide2.QtCore.QSize', 'QtCore.QSize', ({(38, 50, 38, 52): '(20)', (38, 54, 38, 56): '(20)'}, {}), '(20, 20)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((120, 33, 120, 60), 'PySide2.QtCore.QRect', 'QtCore.QRect', ({(120, 46, 120, 47): '(0)', (120, 49, 120, 50): '(0)', (120, 52, 120, 55): '(841)', (120, 57, 120, 59): '(22)'}, {}), '(0, 0, 841, 22)', False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((130, 31, 130, 76), 'PySide2.QtCore.SIGNAL', 'QtCore.SIGNAL', ({(130, 45, 130, 75): '"""currentIndexChanged(QString)"""'}, {}), "('currentIndexChanged(QString)')", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((132, 49, 132, 75), 'PySide2.QtCore.SIGNAL', 'QtCore.SIGNAL', ({(132, 63, 132, 74): '"""clicked()"""'}, {}), "('clicked()')", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((138, 12, 139, 54), 'PySide2.QtWidgets.QApplication.translate', 'QtWidgets.QApplication.translate', ({(138, 45, 138, 61): '"""ElementsWindow"""', (138, 63, 138, 75): '"""MainWindow"""', (139, 45, 139, 49): 'None', (139, 51, 139, 53): '(-1)'}, {}), "('ElementsWindow', 'MainWindow', None, -1)", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((141, 12, 143, 48), 'PySide2.QtWidgets.QApplication.translate', 'QtWidgets.QApplication.translate', ({(141, 45, 141, 61): '"""ElementsWindow"""', (142, 45, 142, 71): '"""Force refresh the table """', (142, 73, 142, 77): 'None', (143, 45, 143, 47): '(-1)'}, {}), "('ElementsWindow',\n    'Force refresh the table ', None, -1)", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((145, 12, 147, 48), 'PySide2.QtWidgets.QApplication.translate', 'QtWidgets.QApplication.translate', ({(145, 45, 145, 61): '"""ElementsWindow"""', (146, 45, 146, 71): '"""Force refresh the table """', (146, 73, 146, 77): 'None', (147, 45, 147, 47): '(-1)'}, {}), "('ElementsWindow',\n    'Force refresh the table ', None, -1)", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((149, 12, 151, 48), 'PySide2.QtWidgets.QApplication.translate', 'QtWidgets.QApplication.translate', ({(149, 45, 149, 61): '"""ElementsWindow"""', (150, 45, 150, 71): '"""Force refresh the table """', (150, 73, 150, 77): 'None', (151, 45, 151, 47): '(-1)'}, {}), "('ElementsWindow',\n    'Force refresh the table ', None, -1)", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((153, 12, 155, 48), 'PySide2.QtWidgets.QApplication.translate', 'QtWidgets.QApplication.translate', ({(153, 45, 153, 61): '"""ElementsWindow"""', (154, 45, 154, 71): '"""Force refresh the table """', (154, 73, 154, 77): 'None', (155, 45, 155, 47): '(-1)'}, {}), "('ElementsWindow',\n    'Force refresh the table ', None, -1)", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((157, 12, 158, 54), 'PySide2.QtWidgets.QApplication.translate', 'QtWidgets.QApplication.translate', ({(157, 45, 157, 61): '"""ElementsWindow"""', (157, 63, 157, 79): '"""Element type: """', (158, 45, 158, 49): 'None', (158, 51, 158, 53): '(-1)'}, {}), "('ElementsWindow', 'Element type: ', None, -1)", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((160, 12, 163, 25), 'PySide2.QtWidgets.QApplication.translate', 'QtWidgets.QApplication.translate', ({(161, 16, 161, 32): '"""ElementsWindow"""', (162, 16, 162, 99): '"""<html><head/><body><p>Select the element table you wish to view</p></body></html>"""', (163, 16, 163, 20): 'None', (163, 22, 163, 24): '(-1)'}, {}), "('ElementsWindow',\n    '<html><head/><body><p>Select the element table you wish to view</p></body></html>'\n    , None, -1)", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((165, 12, 166, 54), 'PySide2.QtWidgets.QApplication.translate', 'QtWidgets.QApplication.translate', ({(165, 45, 165, 61): '"""ElementsWindow"""', (165, 63, 165, 76): '"""  Filter:  """', (166, 45, 166, 49): 'None', (166, 51, 166, 53): '(-1)'}, {}), "('ElementsWindow', '  Filter:  ', None, -1)", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((168, 12, 169, 54), 'PySide2.QtWidgets.QApplication.translate', 'QtWidgets.QApplication.translate', ({(168, 45, 168, 61): '"""ElementsWindow"""', (168, 63, 168, 76): '"""Component: """', (169, 45, 169, 49): 'None', (169, 51, 169, 53): '(-1)'}, {}), "('ElementsWindow', 'Component: ', None, -1)", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n'), ((171, 12, 172, 54), 'PySide2.QtWidgets.QApplication.translate', 'QtWidgets.QApplication.translate', ({(171, 45, 171, 61): '"""ElementsWindow"""', (171, 63, 171, 75): '"""  Layer:  """', (172, 45, 172, 49): 'None', (172, 51, 172, 53): '(-1)'}, {}), "('ElementsWindow', '  Layer:  ', None, -1)", False, 'from PySide2 import QtCore, QtGui, QtWidgets\n')]