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

# Form implementation generated from reading ui file 'src/resources/_ui/multipointwidget.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_multipointwidget(object):
    def setupUi(self, multipointwidget):
        multipointwidget.setObjectName("multipointwidget")
        multipointwidget.resize(400, 300)
        self.gridLayout = QtWidgets.QGridLayout(multipointwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.loop_checkbox = QtWidgets.QCheckBox(multipointwidget)
        self.loop_checkbox.setObjectName("loop_checkbox")
        self.gridLayout.addWidget(self.loop_checkbox, 1, 0, 1, 2)
        self.addButton = QtWidgets.QPushButton(multipointwidget)
        self.addButton.setObjectName("addButton")
        self.gridLayout.addWidget(self.addButton, 3, 0, 1, 1)
        self.color_label = QtWidgets.QLabel(multipointwidget)
        self.color_label.setObjectName("color_label")
        self.gridLayout.addWidget(self.color_label, 0, 0, 1, 1)
        self.table_widget = QtWidgets.QTableWidget(multipointwidget)
        self.table_widget.setObjectName("table_widget")
        self.table_widget.setColumnCount(2)
        self.table_widget.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.table_widget.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.table_widget.setHorizontalHeaderItem(1, item)
        self.table_widget.horizontalHeader().setStretchLastSection(True)
        self.gridLayout.addWidget(self.table_widget, 2, 0, 1, 2)
        self.color_box = ColorListEditor(multipointwidget)
        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, 4, 0, 1, 1)
        self.removeButton = QtWidgets.QPushButton(multipointwidget)
        self.removeButton.setObjectName("removeButton")
        self.gridLayout.addWidget(self.removeButton, 3, 1, 1, 1)

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

    def retranslateUi(self, multipointwidget):
        _translate = QtCore.QCoreApplication.translate
        multipointwidget.setWindowTitle(_translate("multipointwidget", "Form"))
        self.loop_checkbox.setText(_translate("multipointwidget", "Close loop"))
        self.addButton.setText(_translate("multipointwidget", "Add point"))
        self.color_label.setText(_translate("multipointwidget", "Color"))
        item = self.table_widget.horizontalHeaderItem(0)
        item.setText(_translate("multipointwidget", "x"))
        item = self.table_widget.horizontalHeaderItem(1)
        item.setText(_translate("multipointwidget", "y"))
        self.removeButton.setText(_translate("multipointwidget", "Remove last point"))
from gui_qt.lib.delegates import ColorListEditor
