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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/energy_monitor/ui/energy_monitor.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# 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_EnergyMonitor(object):
    def setupUi(self, EnergyMonitor):
        EnergyMonitor.setObjectName("EnergyMonitor")
        EnergyMonitor.resize(690, 172)
        self.verticalLayout = QtWidgets.QVBoxLayout(EnergyMonitor)
        self.verticalLayout.setObjectName("verticalLayout")
        self.layout_main = QtWidgets.QVBoxLayout()
        self.layout_main.setObjectName("layout_main")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_18 = QtWidgets.QLabel(EnergyMonitor)
        self.label_18.setText("")
        self.label_18.setObjectName("label_18")
        self.gridLayout.addWidget(self.label_18, 2, 3, 1, 1)
        self.label_6 = QtWidgets.QLabel(EnergyMonitor)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 2, 1, 1, 1)
        self.label = QtWidgets.QLabel(EnergyMonitor)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 0, 1, 1)
        self.label_current = FixedSizeLabel(EnergyMonitor)
        self.label_current.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_current.setObjectName("label_current")
        self.gridLayout.addWidget(self.label_current, 1, 2, 1, 1)
        self.label_voltage = FixedSizeLabel(EnergyMonitor)
        self.label_voltage.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_voltage.setObjectName("label_voltage")
        self.gridLayout.addWidget(self.label_voltage, 0, 2, 1, 1)
        self.label_power_factor = FixedSizeLabel(EnergyMonitor)
        self.label_power_factor.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_power_factor.setObjectName("label_power_factor")
        self.gridLayout.addWidget(self.label_power_factor, 2, 2, 1, 1)
        self.label_13 = QtWidgets.QLabel(EnergyMonitor)
        self.label_13.setObjectName("label_13")
        self.gridLayout.addWidget(self.label_13, 0, 3, 1, 1)
        self.label_14 = QtWidgets.QLabel(EnergyMonitor)
        self.label_14.setObjectName("label_14")
        self.gridLayout.addWidget(self.label_14, 1, 3, 1, 1)
        self.button_energy = QtWidgets.QPushButton(EnergyMonitor)
        self.button_energy.setObjectName("button_energy")
        self.gridLayout.addWidget(self.button_energy, 0, 10, 1, 2)
        self.label_12 = QtWidgets.QLabel(EnergyMonitor)
        self.label_12.setObjectName("label_12")
        self.gridLayout.addWidget(self.label_12, 2, 10, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 2, 8, 1, 1)
        self.label_2 = QtWidgets.QLabel(EnergyMonitor)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 1, 1, 1)
        self.spinbox_current_ratio = QtWidgets.QDoubleSpinBox(EnergyMonitor)
        self.spinbox_current_ratio.setObjectName("spinbox_current_ratio")
        self.gridLayout.addWidget(self.spinbox_current_ratio, 2, 11, 1, 1)
        self.button_transformer_settings = QtWidgets.QPushButton(EnergyMonitor)
        self.button_transformer_settings.setObjectName("button_transformer_settings")
        self.gridLayout.addWidget(self.button_transformer_settings, 3, 10, 1, 2)
        self.label_9 = QtWidgets.QLabel(EnergyMonitor)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 3, 3, 1, 1)
        self.label_frequency = FixedSizeLabel(EnergyMonitor)
        self.label_frequency.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_frequency.setObjectName("label_frequency")
        self.gridLayout.addWidget(self.label_frequency, 3, 2, 1, 1)
        self.label_10 = QtWidgets.QLabel(EnergyMonitor)
        self.label_10.setObjectName("label_10")
        self.gridLayout.addWidget(self.label_10, 1, 10, 1, 1)
        self.label_7 = QtWidgets.QLabel(EnergyMonitor)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 3, 1, 1, 1)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 2, 4, 1, 1)
        self.label_11 = QtWidgets.QLabel(EnergyMonitor)
        self.label_11.setObjectName("label_11")
        self.gridLayout.addWidget(self.label_11, 0, 7, 1, 1)
        self.label_real_power = FixedSizeLabel(EnergyMonitor)
        self.label_real_power.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_real_power.setObjectName("label_real_power")
        self.gridLayout.addWidget(self.label_real_power, 1, 6, 1, 1)
        self.spinbox_voltage_ratio = QtWidgets.QDoubleSpinBox(EnergyMonitor)
        self.spinbox_voltage_ratio.setObjectName("spinbox_voltage_ratio")
        self.gridLayout.addWidget(self.spinbox_voltage_ratio, 1, 11, 1, 1)
        self.label_3 = QtWidgets.QLabel(EnergyMonitor)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 1, 5, 1, 1)
        self.label_15 = QtWidgets.QLabel(EnergyMonitor)
        self.label_15.setObjectName("label_15")
        self.gridLayout.addWidget(self.label_15, 1, 7, 1, 1)
        self.label_energy = FixedSizeLabel(EnergyMonitor)
        self.label_energy.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_energy.setObjectName("label_energy")
        self.gridLayout.addWidget(self.label_energy, 0, 6, 1, 1)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 2, 12, 1, 1)
        self.label_8 = QtWidgets.QLabel(EnergyMonitor)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 0, 5, 1, 1)
        self.line_3 = QtWidgets.QFrame(EnergyMonitor)
        self.line_3.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.gridLayout.addWidget(self.line_3, 0, 9, 4, 1)
        self.label_4 = QtWidgets.QLabel(EnergyMonitor)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 2, 5, 1, 1)
        self.label_reactive_power = FixedSizeLabel(EnergyMonitor)
        self.label_reactive_power.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_reactive_power.setObjectName("label_reactive_power")
        self.gridLayout.addWidget(self.label_reactive_power, 3, 6, 1, 1)
        self.label_apparent_power = FixedSizeLabel(EnergyMonitor)
        self.label_apparent_power.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_apparent_power.setObjectName("label_apparent_power")
        self.gridLayout.addWidget(self.label_apparent_power, 2, 6, 1, 1)
        self.label_16 = QtWidgets.QLabel(EnergyMonitor)
        self.label_16.setObjectName("label_16")
        self.gridLayout.addWidget(self.label_16, 2, 7, 1, 1)
        self.label_17 = QtWidgets.QLabel(EnergyMonitor)
        self.label_17.setObjectName("label_17")
        self.gridLayout.addWidget(self.label_17, 3, 7, 1, 1)
        self.label_5 = QtWidgets.QLabel(EnergyMonitor)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 3, 5, 1, 1)
        self.layout_main.addLayout(self.gridLayout)
        self.line = QtWidgets.QFrame(EnergyMonitor)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.layout_main.addWidget(self.line)
        self.layout_graph = QtWidgets.QVBoxLayout()
        self.layout_graph.setObjectName("layout_graph")
        self.line_2 = QtWidgets.QFrame(EnergyMonitor)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.layout_graph.addWidget(self.line_2)
        self.layout_main.addLayout(self.layout_graph)
        self.verticalLayout.addLayout(self.layout_main)

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

    def retranslateUi(self, EnergyMonitor):
        _translate = QtCore.QCoreApplication.translate
        EnergyMonitor.setWindowTitle(_translate("EnergyMonitor", "Form"))
        self.label_6.setText(_translate("EnergyMonitor", "Power Factor:"))
        self.label.setText(_translate("EnergyMonitor", "Voltage:"))
        self.label_current.setText(_translate("EnergyMonitor", "TBD"))
        self.label_voltage.setText(_translate("EnergyMonitor", "TBD"))
        self.label_power_factor.setText(_translate("EnergyMonitor", "TBD"))
        self.label_13.setText(_translate("EnergyMonitor", "V"))
        self.label_14.setText(_translate("EnergyMonitor", "A"))
        self.button_energy.setText(_translate("EnergyMonitor", "Reset Energy"))
        self.label_12.setText(_translate("EnergyMonitor", "Transformer Current Ratio:"))
        self.label_2.setText(_translate("EnergyMonitor", "Current:"))
        self.button_transformer_settings.setText(_translate("EnergyMonitor", "Save Transformer Settings"))
        self.label_9.setText(_translate("EnergyMonitor", "Hz"))
        self.label_frequency.setText(_translate("EnergyMonitor", "TBD"))
        self.label_10.setText(_translate("EnergyMonitor", "Transformer Voltage Ratio:"))
        self.label_7.setText(_translate("EnergyMonitor", "Frequency:"))
        self.label_11.setText(_translate("EnergyMonitor", "Wh"))
        self.label_real_power.setText(_translate("EnergyMonitor", "TBD"))
        self.label_3.setText(_translate("EnergyMonitor", "Real Power:"))
        self.label_15.setText(_translate("EnergyMonitor", "W"))
        self.label_energy.setText(_translate("EnergyMonitor", "TBD"))
        self.label_8.setText(_translate("EnergyMonitor", "Energy:"))
        self.label_4.setText(_translate("EnergyMonitor", "Apparent Power:"))
        self.label_reactive_power.setText(_translate("EnergyMonitor", "TBD"))
        self.label_apparent_power.setText(_translate("EnergyMonitor", "TBD"))
        self.label_16.setText(_translate("EnergyMonitor", "VA"))
        self.label_17.setText(_translate("EnergyMonitor", "var"))
        self.label_5.setText(_translate("EnergyMonitor", "Reactive Power:"))
from brickv.fixed_size_label import FixedSizeLabel
