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

# Form implementation generated from reading ui file 'src/resources/_ui/linedrawwidget.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_linewidget(object):
    def setupUi(self, linewidget):
        linewidget.setObjectName("linewidget")
        linewidget.resize(400, 300)
        self.gridLayout = QtWidgets.QGridLayout(linewidget)
        self.gridLayout.setObjectName("gridLayout")
        self.pos_lineedit = QtWidgets.QLineEdit(linewidget)
        self.pos_lineedit.setObjectName("pos_lineedit")
        self.gridLayout.addWidget(self.pos_lineedit, 1, 1, 1, 1)
        self.orientation_label = QtWidgets.QLabel(linewidget)
        self.orientation_label.setObjectName("orientation_label")
        self.gridLayout.addWidget(self.orientation_label, 2, 0, 1, 1)
        self.orient_combobox = QtWidgets.QComboBox(linewidget)
        self.orient_combobox.setObjectName("orient_combobox")
        self.orient_combobox.addItem("")
        self.orient_combobox.addItem("")
        self.gridLayout.addWidget(self.orient_combobox, 2, 1, 1, 1)
        self.color_label = QtWidgets.QLabel(linewidget)
        self.color_label.setObjectName("color_label")
        self.gridLayout.addWidget(self.color_label, 0, 0, 1, 1)
        self.pos_label = QtWidgets.QLabel(linewidget)
        self.pos_label.setObjectName("pos_label")
        self.gridLayout.addWidget(self.pos_label, 1, 0, 1, 1)
        self.color_box = ColorListEditor(linewidget)
        self.color_box.setObjectName("color_box")
        self.gridLayout.addWidget(self.color_box, 0, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 1, 1, 1)

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

    def retranslateUi(self, linewidget):
        _translate = QtCore.QCoreApplication.translate
        linewidget.setWindowTitle(_translate("linewidget", "Form"))
        self.orientation_label.setText(_translate("linewidget", "Orientation"))
        self.orient_combobox.setItemText(0, _translate("linewidget", "Horizontal"))
        self.orient_combobox.setItemText(1, _translate("linewidget", "Vertical"))
        self.color_label.setText(_translate("linewidget", "Color"))
        self.pos_label.setText(_translate("linewidget", "Position"))
from gui_qt.lib.delegates import ColorListEditor
