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

# Form implementation generated from reading ui file 'NewTaskWindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# 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_NewTaskWindow(object):
    def setupUi(self, NewTaskWindow):
        NewTaskWindow.setObjectName("NewTaskWindow")
        NewTaskWindow.resize(600, 850)
        NewTaskWindow.setMinimumSize(QtCore.QSize(150, 300))
        NewTaskWindow.setMaximumSize(QtCore.QSize(1920, 1080))
        font = QtGui.QFont()
        font.setPointSize(10)
        NewTaskWindow.setFont(font)
        self.centralwidget = QtWidgets.QWidget(NewTaskWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.task_name = QtWidgets.QLineEdit(self.centralwidget)
        self.task_name.setObjectName("task_name")
        self.gridLayout_2.addWidget(self.task_name, 1, 0, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 12, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem, 2, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 3, 0, 1, 1)
        self.task_details = QtWidgets.QTextEdit(self.centralwidget)
        self.task_details.setObjectName("task_details")
        self.gridLayout_2.addWidget(self.task_details, 4, 0, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(20, 16, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem1, 5, 0, 1, 1)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.deadline_date = QtWidgets.QDateEdit(self.centralwidget)
        self.deadline_date.setObjectName("deadline_date")
        self.gridLayout.addWidget(self.deadline_date, 1, 0, 1, 1)
        self.select_importance = QtWidgets.QComboBox(self.centralwidget)
        self.select_importance.setObjectName("select_importance")
        self.select_importance.addItem("")
        self.select_importance.addItem("")
        self.gridLayout.addWidget(self.select_importance, 1, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 1, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.centralwidget)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 0, 2, 1, 1)
        self.select_urgency = QtWidgets.QComboBox(self.centralwidget)
        self.select_urgency.setObjectName("select_urgency")
        self.select_urgency.addItem("")
        self.select_urgency.addItem("")
        self.gridLayout.addWidget(self.select_urgency, 1, 2, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.centralwidget)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 2, 0, 1, 3)
        self.select_main_task = QtWidgets.QComboBox(self.centralwidget)
        self.select_main_task.setObjectName("select_main_task")
        self.select_main_task.addItem("")
        self.gridLayout.addWidget(self.select_main_task, 3, 0, 1, 3)
        self.gridLayout_2.addLayout(self.gridLayout, 6, 0, 1, 1)
        spacerItem2 = QtWidgets.QSpacerItem(20, 64, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem2, 7, 0, 1, 1)
        self.buttons = QtWidgets.QDialogButtonBox(self.centralwidget)
        self.buttons.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttons.setObjectName("buttons")
        self.gridLayout_2.addWidget(self.buttons, 8, 0, 1, 1)
        spacerItem3 = QtWidgets.QSpacerItem(20, 8, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem3, 9, 0, 1, 1)
        NewTaskWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(NewTaskWindow)
        QtCore.QMetaObject.connectSlotsByName(NewTaskWindow)
        NewTaskWindow.setTabOrder(self.task_name, self.task_details)
        NewTaskWindow.setTabOrder(self.task_details, self.deadline_date)
        NewTaskWindow.setTabOrder(self.deadline_date, self.select_importance)
        NewTaskWindow.setTabOrder(self.select_importance, self.select_urgency)
        NewTaskWindow.setTabOrder(self.select_urgency, self.select_main_task)

    def retranslateUi(self, NewTaskWindow):
        _translate = QtCore.QCoreApplication.translate
        NewTaskWindow.setWindowTitle(_translate("NewTaskWindow", "Новая задача"))
        self.label.setText(_translate("NewTaskWindow", "Название задачи"))
        self.label_2.setText(_translate("NewTaskWindow", "Описание"))
        self.select_importance.setItemText(0, _translate("NewTaskWindow", "Высокая"))
        self.select_importance.setItemText(1, _translate("NewTaskWindow", "Низкая"))
        self.label_4.setText(_translate("NewTaskWindow", "Важность"))
        self.label_5.setText(_translate("NewTaskWindow", "Срочность"))
        self.select_urgency.setItemText(0, _translate("NewTaskWindow", "Высокая"))
        self.select_urgency.setItemText(1, _translate("NewTaskWindow", "Низкая"))
        self.label_3.setText(_translate("NewTaskWindow", "Закончить до"))
        self.label_6.setText(_translate("NewTaskWindow", "Подзадача для"))
        self.select_main_task.setItemText(0, _translate("NewTaskWindow", "Не является подзадачей"))
