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

# Form implementation generated from reading ui file 'src/resources/_ui/rectanglewidget.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# 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_rectanglewidget(object):
    def setupUi(self, rectanglewidget):
        rectanglewidget.setObjectName("rectanglewidget")
        rectanglewidget.resize(400, 300)
        self.gridLayout = QtWidgets.QGridLayout(rectanglewidget)
        self.gridLayout.setObjectName("gridLayout")
        self.color_label = QtWidgets.QLabel(rectanglewidget)
        self.color_label.setObjectName("color_label")
        self.gridLayout.addWidget(self.color_label, 0, 0, 1, 1)
        self.left_x = QtWidgets.QLineEdit(rectanglewidget)
        self.left_x.setObjectName("left_x")
        self.gridLayout.addWidget(self.left_x, 2, 1, 1, 1)
        self.left_y = QtWidgets.QLineEdit(rectanglewidget)
        self.left_y.setObjectName("left_y")
        self.gridLayout.addWidget(self.left_y, 2, 2, 1, 1)
        self.right_x = QtWidgets.QLineEdit(rectanglewidget)
        self.right_x.setObjectName("right_x")
        self.gridLayout.addWidget(self.right_x, 3, 1, 1, 1)
        self.color_box = ColorListEditor(rectanglewidget)
        self.color_box.setObjectName("color_box")
        self.gridLayout.addWidget(self.color_box, 0, 1, 1, 2)
        self.left_label = QtWidgets.QLabel(rectanglewidget)
        self.left_label.setObjectName("left_label")
        self.gridLayout.addWidget(self.left_label, 2, 0, 1, 1)
        self.right_y = QtWidgets.QLineEdit(rectanglewidget)
        self.right_y.setObjectName("right_y")
        self.gridLayout.addWidget(self.right_y, 3, 2, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 4, 0, 1, 1)
        self.right_label = QtWidgets.QLabel(rectanglewidget)
        self.right_label.setObjectName("right_label")
        self.gridLayout.addWidget(self.right_label, 3, 0, 1, 1)
        self.fill_label = QtWidgets.QLabel(rectanglewidget)
        self.fill_label.setObjectName("fill_label")
        self.gridLayout.addWidget(self.fill_label, 1, 0, 1, 1)
        self.fill_box = ColorListEditor(rectanglewidget)
        self.fill_box.setObjectName("fill_box")
        self.gridLayout.addWidget(self.fill_box, 1, 1, 1, 2)

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

    def retranslateUi(self, rectanglewidget):
        _translate = QtCore.QCoreApplication.translate
        rectanglewidget.setWindowTitle(_translate("rectanglewidget", "Form"))
        self.color_label.setText(_translate("rectanglewidget", "Color"))
        self.left_x.setPlaceholderText(_translate("rectanglewidget", "x"))
        self.left_y.setPlaceholderText(_translate("rectanglewidget", "y"))
        self.right_x.setPlaceholderText(_translate("rectanglewidget", "x"))
        self.left_label.setText(_translate("rectanglewidget", "Lower left"))
        self.right_y.setPlaceholderText(_translate("rectanglewidget", "y"))
        self.right_label.setText(_translate("rectanglewidget", "Upper right"))
        self.fill_label.setText(_translate("rectanglewidget", "Fill color"))
from gui_qt.lib.delegates import ColorListEditor
