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

# Form implementation generated from reading ui file 'dlg_tag_editor.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_DlgTagEditor(object):
    def setupUi(self, DlgTagEditor):
        DlgTagEditor.setObjectName("DlgTagEditor")
        DlgTagEditor.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgTagEditor.resize(392, 270)
        DlgTagEditor.setMinimumSize(QtCore.QSize(392, 270))
        font = QtGui.QFont()
        font.setFamily("Verdana")
        font.setPointSize(8)
        DlgTagEditor.setFont(font)
        self.horizontalLayout = QtWidgets.QHBoxLayout(DlgTagEditor)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(DlgTagEditor)
        font = QtGui.QFont()
        font.setFamily("Verdana")
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.tagsTable = TagsTable(DlgTagEditor)
        self.tagsTable.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.tagsTable.setEditTriggers(QtWidgets.QAbstractItemView.DoubleClicked)
        self.tagsTable.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
        self.tagsTable.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.tagsTable.setGridStyle(QtCore.Qt.NoPen)
        self.tagsTable.setObjectName("tagsTable")
        self.tagsTable.setColumnCount(3)
        self.tagsTable.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.tagsTable.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignCenter)
        self.tagsTable.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.tagsTable.setHorizontalHeaderItem(2, item)
        self.tagsTable.horizontalHeader().setVisible(False)
        self.tagsTable.horizontalHeader().setDefaultSectionSize(45)
        self.tagsTable.horizontalHeader().setStretchLastSection(True)
        self.tagsTable.verticalHeader().setVisible(False)
        self.verticalLayout.addWidget(self.tagsTable)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.btnCancel = QtWidgets.QPushButton(DlgTagEditor)
        self.btnCancel.setMinimumSize(QtCore.QSize(120, 32))
        self.btnCancel.setMaximumSize(QtCore.QSize(120, 32))
        self.btnCancel.setObjectName("btnCancel")
        self.horizontalLayout_2.addWidget(self.btnCancel)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.btnOk = QtWidgets.QPushButton(DlgTagEditor)
        self.btnOk.setMinimumSize(QtCore.QSize(140, 32))
        self.btnOk.setMaximumSize(QtCore.QSize(140, 32))
        self.btnOk.setObjectName("btnOk")
        self.horizontalLayout_2.addWidget(self.btnOk)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout.addLayout(self.verticalLayout)

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

    def retranslateUi(self, DlgTagEditor):
        _translate = QtCore.QCoreApplication.translate
        DlgTagEditor.setWindowTitle(_translate("DlgTagEditor", "Mes étiquettes"))
        self.label.setText(_translate("DlgTagEditor", "Mes étiquettes"))
        item = self.tagsTable.horizontalHeaderItem(0)
        item.setText(_translate("DlgTagEditor", "id"))
        item = self.tagsTable.horizontalHeaderItem(1)
        item.setText(_translate("DlgTagEditor", "checked"))
        item = self.tagsTable.horizontalHeaderItem(2)
        item.setText(_translate("DlgTagEditor", "label"))
        self.btnCancel.setText(_translate("DlgTagEditor", "Annuler"))
        self.btnOk.setText(_translate("DlgTagEditor", "Enregistrer"))
from .widgets.tags_table import TagsTable
