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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/red/ui/red_tab_settings_datetime.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_REDTabSettingsDateTime(object):
    def setupUi(self, REDTabSettingsDateTime):
        REDTabSettingsDateTime.setObjectName("REDTabSettingsDateTime")
        REDTabSettingsDateTime.resize(615, 440)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(REDTabSettingsDateTime)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.scrollArea = QtWidgets.QScrollArea(REDTabSettingsDateTime)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 599, 424))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.groupBox_3 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox_3.setObjectName("groupBox_3")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.gridLayout_7 = QtWidgets.QGridLayout()
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.time_date_red = QtWidgets.QDateEdit(self.groupBox_3)
        self.time_date_red.setEnabled(True)
        self.time_date_red.setReadOnly(True)
        self.time_date_red.setCalendarPopup(False)
        self.time_date_red.setObjectName("time_date_red")
        self.gridLayout_7.addWidget(self.time_date_red, 0, 1, 1, 1)
        self.label_20 = QtWidgets.QLabel(self.groupBox_3)
        self.label_20.setObjectName("label_20")
        self.gridLayout_7.addWidget(self.label_20, 1, 0, 1, 1)
        self.label_19 = QtWidgets.QLabel(self.groupBox_3)
        self.label_19.setObjectName("label_19")
        self.gridLayout_7.addWidget(self.label_19, 0, 0, 1, 1)
        self.time_time_red = QtWidgets.QTimeEdit(self.groupBox_3)
        self.time_time_red.setEnabled(True)
        self.time_time_red.setReadOnly(True)
        self.time_time_red.setCalendarPopup(False)
        self.time_time_red.setObjectName("time_time_red")
        self.gridLayout_7.addWidget(self.time_time_red, 1, 1, 1, 1)
        self.time_timezone_red = QtWidgets.QComboBox(self.groupBox_3)
        self.time_timezone_red.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.time_timezone_red.sizePolicy().hasHeightForWidth())
        self.time_timezone_red.setSizePolicy(sizePolicy)
        self.time_timezone_red.setEditable(True)
        self.time_timezone_red.setCurrentText("")
        self.time_timezone_red.setInsertPolicy(QtWidgets.QComboBox.NoInsert)
        self.time_timezone_red.setObjectName("time_timezone_red")
        self.gridLayout_7.addWidget(self.time_timezone_red, 2, 1, 1, 1)
        self.save_timezone_button = QtWidgets.QPushButton(self.groupBox_3)
        self.save_timezone_button.setObjectName("save_timezone_button")
        self.gridLayout_7.addWidget(self.save_timezone_button, 3, 1, 1, 1)
        self.label_33 = QtWidgets.QLabel(self.groupBox_3)
        self.label_33.setObjectName("label_33")
        self.gridLayout_7.addWidget(self.label_33, 2, 0, 1, 1)
        self.horizontalLayout_7.addLayout(self.gridLayout_7)
        self.horizontalLayout_4.addWidget(self.groupBox_3)
        self.groupBox_2 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox_2.setObjectName("groupBox_2")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.gridLayout_10 = QtWidgets.QGridLayout()
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.label_36 = QtWidgets.QLabel(self.groupBox_2)
        self.label_36.setObjectName("label_36")
        self.gridLayout_10.addWidget(self.label_36, 2, 0, 1, 1)
        self.label_34 = QtWidgets.QLabel(self.groupBox_2)
        self.label_34.setObjectName("label_34")
        self.gridLayout_10.addWidget(self.label_34, 0, 0, 1, 1)
        self.label_35 = QtWidgets.QLabel(self.groupBox_2)
        self.label_35.setObjectName("label_35")
        self.gridLayout_10.addWidget(self.label_35, 1, 0, 1, 1)
        self.time_timezone_local = QtWidgets.QLineEdit(self.groupBox_2)
        self.time_timezone_local.setEnabled(True)
        self.time_timezone_local.setReadOnly(True)
        self.time_timezone_local.setObjectName("time_timezone_local")
        self.gridLayout_10.addWidget(self.time_timezone_local, 2, 1, 1, 1)
        self.time_date_local = QtWidgets.QDateEdit(self.groupBox_2)
        self.time_date_local.setEnabled(True)
        self.time_date_local.setReadOnly(True)
        self.time_date_local.setCalendarPopup(False)
        self.time_date_local.setObjectName("time_date_local")
        self.gridLayout_10.addWidget(self.time_date_local, 0, 1, 1, 1)
        self.time_time_local = QtWidgets.QTimeEdit(self.groupBox_2)
        self.time_time_local.setEnabled(True)
        self.time_time_local.setReadOnly(True)
        self.time_time_local.setCalendarPopup(False)
        self.time_time_local.setObjectName("time_time_local")
        self.gridLayout_10.addWidget(self.time_time_local, 1, 1, 1, 1)
        self.time_sync_button = QtWidgets.QPushButton(self.groupBox_2)
        self.time_sync_button.setObjectName("time_sync_button")
        self.gridLayout_10.addWidget(self.time_sync_button, 3, 1, 1, 1)
        self.horizontalLayout_8.addLayout(self.gridLayout_10)
        self.horizontalLayout_4.addWidget(self.groupBox_2)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.red_reconfigure_label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.red_reconfigure_label.setWordWrap(True)
        self.red_reconfigure_label.setObjectName("red_reconfigure_label")
        self.verticalLayout.addWidget(self.red_reconfigure_label)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        spacerItem = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_3.addWidget(self.scrollArea)
        self.label_20.setBuddy(self.time_time_red)
        self.label_19.setBuddy(self.time_date_red)
        self.label_36.setBuddy(self.time_timezone_local)
        self.label_34.setBuddy(self.time_date_local)
        self.label_35.setBuddy(self.time_time_local)

        self.retranslateUi(REDTabSettingsDateTime)
        QtCore.QMetaObject.connectSlotsByName(REDTabSettingsDateTime)
        REDTabSettingsDateTime.setTabOrder(self.scrollArea, self.time_date_red)
        REDTabSettingsDateTime.setTabOrder(self.time_date_red, self.time_date_local)
        REDTabSettingsDateTime.setTabOrder(self.time_date_local, self.time_time_red)
        REDTabSettingsDateTime.setTabOrder(self.time_time_red, self.time_time_local)
        REDTabSettingsDateTime.setTabOrder(self.time_time_local, self.time_timezone_local)

    def retranslateUi(self, REDTabSettingsDateTime):
        _translate = QtCore.QCoreApplication.translate
        REDTabSettingsDateTime.setWindowTitle(_translate("REDTabSettingsDateTime", "Form"))
        self.groupBox_3.setTitle(_translate("REDTabSettingsDateTime", "RED Brick"))
        self.time_date_red.setDisplayFormat(_translate("REDTabSettingsDateTime", "dd. MMMM yyyy"))
        self.label_20.setText(_translate("REDTabSettingsDateTime", "Time:"))
        self.label_19.setText(_translate("REDTabSettingsDateTime", "Date:"))
        self.time_time_red.setDisplayFormat(_translate("REDTabSettingsDateTime", "HH:mm:ss"))
        self.save_timezone_button.setText(_translate("REDTabSettingsDateTime", "Save Timezone"))
        self.label_33.setText(_translate("REDTabSettingsDateTime", "Timezone:"))
        self.groupBox_2.setTitle(_translate("REDTabSettingsDateTime", "Local"))
        self.label_36.setText(_translate("REDTabSettingsDateTime", "Timezone:"))
        self.label_34.setText(_translate("REDTabSettingsDateTime", "Date:"))
        self.label_35.setText(_translate("REDTabSettingsDateTime", "Time:"))
        self.time_timezone_local.setText(_translate("REDTabSettingsDateTime", "Collecting data..."))
        self.time_date_local.setDisplayFormat(_translate("REDTabSettingsDateTime", "dd. MMMM yyyy"))
        self.time_time_local.setDisplayFormat(_translate("REDTabSettingsDateTime", "HH:mm:ss"))
        self.time_sync_button.setText(_translate("REDTabSettingsDateTime", "Update Brick to Local Time"))
        self.red_reconfigure_label.setText(_translate("REDTabSettingsDateTime", "The RED Brick\'s timezone configuration is missing or incomplete. Please select a zone or synchronize with local time configuration."))
