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

# Form implementation generated from reading ui file 'src/resources/_ui/textdrawidget.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_textwidget(object):
    def setupUi(self, textwidget):
        textwidget.setObjectName("textwidget")
        textwidget.resize(400, 300)
        self.gridLayout = QtWidgets.QGridLayout(textwidget)
        self.gridLayout.setObjectName("gridLayout")
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 0, 1, 1)
        self.color_label = QtWidgets.QLabel(textwidget)
        self.color_label.setObjectName("color_label")
        self.gridLayout.addWidget(self.color_label, 0, 0, 1, 1)
        self.center_x = QtWidgets.QLineEdit(textwidget)
        self.center_x.setObjectName("center_x")
        self.gridLayout.addWidget(self.center_x, 1, 1, 1, 1)
        self.center_y = QtWidgets.QLineEdit(textwidget)
        self.center_y.setObjectName("center_y")
        self.gridLayout.addWidget(self.center_y, 1, 2, 1, 1)
        self.center_label = QtWidgets.QLabel(textwidget)
        self.center_label.setObjectName("center_label")
        self.gridLayout.addWidget(self.center_label, 1, 0, 1, 1)
        self.color_box = ColorListEditor(textwidget)
        self.color_box.setObjectName("color_box")
        self.gridLayout.addWidget(self.color_box, 0, 1, 1, 2)
        self.text_label = QtWidgets.QLabel(textwidget)
        self.text_label.setObjectName("text_label")
        self.gridLayout.addWidget(self.text_label, 2, 0, 1, 1)
        self.text_lineedit = QtWidgets.QLineEdit(textwidget)
        self.text_lineedit.setObjectName("text_lineedit")
        self.gridLayout.addWidget(self.text_lineedit, 2, 1, 1, 2)

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

    def retranslateUi(self, textwidget):
        _translate = QtCore.QCoreApplication.translate
        textwidget.setWindowTitle(_translate("textwidget", "Form"))
        self.color_label.setText(_translate("textwidget", "Color"))
        self.center_x.setPlaceholderText(_translate("textwidget", "x"))
        self.center_y.setPlaceholderText(_translate("textwidget", "y"))
        self.center_label.setText(_translate("textwidget", "Center"))
        self.text_label.setText(_translate("textwidget", "Text"))
from gui_qt.lib.delegates import ColorListEditor
