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

from PyQt5 import QtCore, QtGui, QtWidgets

__my_version__ = "3.3.6"

class Ui_TagRulesListEditor2(object):
    def setupUi(self, TagRulesListEditor):
        TagRulesListEditor.setObjectName("TagRulesListEditor2")
        TagRulesListEditor.resize(397, 335)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(I("config.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        TagRulesListEditor.setWindowIcon(icon)
        self.gridlayout = QtWidgets.QGridLayout(TagRulesListEditor)
        self.gridlayout.setObjectName("gridlayout")
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.search_button = QtWidgets.QToolButton(TagRulesListEditor)
        self.search_button.setObjectName("search_button")
        self.gridlayout.addLayout(self.horizontalLayout_11, 0, 1, 1, 1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.delete_button = QtWidgets.QToolButton(TagRulesListEditor)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(I("plus.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.delete_button.setIcon(icon1)
        self.delete_button.setIconSize(QtCore.QSize(32, 32))
        self.delete_button.setObjectName("delete_button")
        self.verticalLayout_2.addWidget(self.delete_button)
        self.rename_button = QtWidgets.QToolButton(TagRulesListEditor)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(I("edit_input.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.rename_button.setIcon(icon2)
        self.rename_button.setIconSize(QtCore.QSize(2, 2))
        self.rename_button.setObjectName("rename_button")
        self.gridlayout.addLayout(self.verticalLayout_2, 1, 0, 1, 1)
        self.table = QtWidgets.QTableWidget(TagRulesListEditor)
        self.table.setAlternatingRowColors(True)
        self.table.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.table.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.table.setObjectName("table")
        self.table.setColumnCount(0)
        self.table.setRowCount(0)
        self.gridlayout.addWidget(self.table, 1, 1, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(TagRulesListEditor)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setCenterButtons(True)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox, 3, 0, 1, 2)

        self.retranslateUi(TagRulesListEditor)
        self.buttonBox.accepted.connect(TagRulesListEditor.accept)
        self.buttonBox.rejected.connect(TagRulesListEditor.reject)
        QtCore.QMetaObject.connectSlotsByName(TagRulesListEditor)

    def retranslateUi(self, TagRulesListEditor):

        TagRulesListEditor.setWindowTitle(_("Quarantine And Scrub Easy-Add Tag-to-NEWTAG Mappings to Tag Rules Table"))
        self.delete_button.setToolTip(_("Add Mappings to Table '_tag_rules'."))
        self.delete_button.setText(_("..."))

