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

# Form implementation generated from reading ui file 'ui/tagManager.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# 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_TagManager(object):
    def setupUi(self, TagManager):
        TagManager.setObjectName("TagManager")
        TagManager.setWindowModality(QtCore.Qt.ApplicationModal)
        TagManager.resize(650, 650)
        TagManager.setModal(True)
        self.gridLayout = QtWidgets.QGridLayout(TagManager)
        self.gridLayout.setContentsMargins(9, 9, 9, 9)
        self.gridLayout.setHorizontalSpacing(12)
        self.gridLayout.setVerticalSpacing(9)
        self.gridLayout.setObjectName("gridLayout")
        self.comboFrame = QtWidgets.QFrame(TagManager)
        self.comboFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.comboFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.comboFrame.setObjectName("comboFrame")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.comboFrame)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.tagChildDropDown = QtWidgets.QComboBox(self.comboFrame)
        self.tagChildDropDown.setObjectName("tagChildDropDown")
        self.tagChildDropDown.addItem("")
        self.tagChildDropDown.addItem("")
        self.horizontalLayout_2.addWidget(self.tagChildDropDown)
        self.tagTypeDropDown = QtWidgets.QComboBox(self.comboFrame)
        self.tagTypeDropDown.setObjectName("tagTypeDropDown")
        self.tagTypeDropDown.addItem("")
        self.tagTypeDropDown.addItem("")
        self.horizontalLayout_2.addWidget(self.tagTypeDropDown)
        self.tagSortDropDown = QtWidgets.QComboBox(self.comboFrame)
        self.tagSortDropDown.setObjectName("tagSortDropDown")
        self.tagSortDropDown.addItem("")
        self.tagSortDropDown.addItem("")
        self.horizontalLayout_2.addWidget(self.tagSortDropDown)
        self.tagSortDirDropDown = QtWidgets.QComboBox(self.comboFrame)
        self.tagSortDirDropDown.setObjectName("tagSortDirDropDown")
        self.tagSortDirDropDown.addItem("")
        self.tagSortDirDropDown.addItem("")
        self.horizontalLayout_2.addWidget(self.tagSortDirDropDown)
        self.gridLayout.addWidget(self.comboFrame, 0, 0, 1, 2)
        self.rightFrame = QtWidgets.QFrame(TagManager)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rightFrame.sizePolicy().hasHeightForWidth())
        self.rightFrame.setSizePolicy(sizePolicy)
        self.rightFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.rightFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.rightFrame.setObjectName("rightFrame")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.rightFrame)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.parentTagSearchBar = QtWidgets.QLineEdit(self.rightFrame)
        self.parentTagSearchBar.setText("")
        self.parentTagSearchBar.setClearButtonEnabled(True)
        self.parentTagSearchBar.setObjectName("parentTagSearchBar")
        self.verticalLayout_2.addWidget(self.parentTagSearchBar)
        self.parentTagListAlpha = QtWidgets.QListView(self.rightFrame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(2)
        sizePolicy.setHeightForWidth(self.parentTagListAlpha.sizePolicy().hasHeightForWidth())
        self.parentTagListAlpha.setSizePolicy(sizePolicy)
        self.parentTagListAlpha.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.parentTagListAlpha.setObjectName("parentTagListAlpha")
        self.verticalLayout_2.addWidget(self.parentTagListAlpha)
        self.parentTagListBeta = QtWidgets.QListView(self.rightFrame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.parentTagListBeta.sizePolicy().hasHeightForWidth())
        self.parentTagListBeta.setSizePolicy(sizePolicy)
        self.parentTagListBeta.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.parentTagListBeta.setObjectName("parentTagListBeta")
        self.verticalLayout_2.addWidget(self.parentTagListBeta)
        self.gridLayout.addWidget(self.rightFrame, 1, 1, 1, 1)
        self.buttonFrame = QtWidgets.QFrame(TagManager)
        self.buttonFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.buttonFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.buttonFrame.setObjectName("buttonFrame")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.buttonFrame)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.okButton = QtWidgets.QPushButton(self.buttonFrame)
        self.okButton.setAutoDefault(False)
        self.okButton.setDefault(False)
        self.okButton.setObjectName("okButton")
        self.horizontalLayout.addWidget(self.okButton)
        self.applyButton = QtWidgets.QPushButton(self.buttonFrame)
        self.applyButton.setAutoDefault(False)
        self.applyButton.setObjectName("applyButton")
        self.horizontalLayout.addWidget(self.applyButton)
        self.cancelButton = QtWidgets.QPushButton(self.buttonFrame)
        self.cancelButton.setAutoDefault(False)
        self.cancelButton.setObjectName("cancelButton")
        self.horizontalLayout.addWidget(self.cancelButton)
        self.gridLayout.addWidget(self.buttonFrame, 2, 0, 1, 2)
        self.leftFrame = QtWidgets.QFrame(TagManager)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.leftFrame.sizePolicy().hasHeightForWidth())
        self.leftFrame.setSizePolicy(sizePolicy)
        self.leftFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.leftFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.leftFrame.setObjectName("leftFrame")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.leftFrame)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setHorizontalSpacing(6)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.tagList = QtWidgets.QListView(self.leftFrame)
        self.tagList.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.tagList.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.tagList.setObjectName("tagList")
        self.gridLayout_2.addWidget(self.tagList, 1, 0, 1, 2)
        self.removeTagButton = QtWidgets.QPushButton(self.leftFrame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.removeTagButton.sizePolicy().hasHeightForWidth())
        self.removeTagButton.setSizePolicy(sizePolicy)
        self.removeTagButton.setCheckable(False)
        self.removeTagButton.setChecked(False)
        self.removeTagButton.setAutoDefault(False)
        self.removeTagButton.setFlat(False)
        self.removeTagButton.setObjectName("removeTagButton")
        self.gridLayout_2.addWidget(self.removeTagButton, 3, 1, 1, 1)
        self.renameTagButton = QtWidgets.QPushButton(self.leftFrame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.renameTagButton.sizePolicy().hasHeightForWidth())
        self.renameTagButton.setSizePolicy(sizePolicy)
        self.renameTagButton.setAutoDefault(False)
        self.renameTagButton.setObjectName("renameTagButton")
        self.gridLayout_2.addWidget(self.renameTagButton, 4, 1, 1, 1)
        self.tagSearchBar = QtWidgets.QLineEdit(self.leftFrame)
        self.tagSearchBar.setClearButtonEnabled(True)
        self.tagSearchBar.setObjectName("tagSearchBar")
        self.gridLayout_2.addWidget(self.tagSearchBar, 0, 0, 1, 2)
        self.newTagName = QtWidgets.QLineEdit(self.leftFrame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.newTagName.sizePolicy().hasHeightForWidth())
        self.newTagName.setSizePolicy(sizePolicy)
        self.newTagName.setClearButtonEnabled(True)
        self.newTagName.setObjectName("newTagName")
        self.gridLayout_2.addWidget(self.newTagName, 4, 0, 1, 1)
        self.oldTagName = QtWidgets.QLineEdit(self.leftFrame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.oldTagName.sizePolicy().hasHeightForWidth())
        self.oldTagName.setSizePolicy(sizePolicy)
        self.oldTagName.setMouseTracking(False)
        self.oldTagName.setAutoFillBackground(False)
        self.oldTagName.setReadOnly(True)
        self.oldTagName.setObjectName("oldTagName")
        self.gridLayout_2.addWidget(self.oldTagName, 3, 0, 1, 1)
        self.gridLayout.addWidget(self.leftFrame, 1, 0, 1, 1)

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

    def retranslateUi(self, TagManager):
        _translate = QtCore.QCoreApplication.translate
        TagManager.setWindowTitle(_translate("TagManager", "Tag Manager"))
        self.tagChildDropDown.setItemText(0, _translate("TagManager", "show all"))
        self.tagChildDropDown.setItemText(1, _translate("TagManager", "show child"))
        self.tagTypeDropDown.setItemText(0, _translate("TagManager", "tags"))
        self.tagTypeDropDown.setItemText(1, _translate("TagManager", "yt tags"))
        self.tagSortDropDown.setItemText(0, _translate("TagManager", "by name"))
        self.tagSortDropDown.setItemText(1, _translate("TagManager", "by video count"))
        self.tagSortDirDropDown.setItemText(0, _translate("TagManager", "ascending"))
        self.tagSortDirDropDown.setItemText(1, _translate("TagManager", "descending"))
        self.parentTagSearchBar.setToolTip(_translate("TagManager", "Filter tag list by typing"))
        self.parentTagSearchBar.setPlaceholderText(_translate("TagManager", "Search parents"))
        self.okButton.setText(_translate("TagManager", "OK"))
        self.applyButton.setText(_translate("TagManager", "Apply"))
        self.cancelButton.setText(_translate("TagManager", "Cancel"))
        self.removeTagButton.setText(_translate("TagManager", "Remove tag(s)"))
        self.renameTagButton.setText(_translate("TagManager", "Rename tag"))
        self.tagSearchBar.setToolTip(_translate("TagManager", "Filter tag list by typing"))
        self.tagSearchBar.setPlaceholderText(_translate("TagManager", "Search tags"))
        self.newTagName.setPlaceholderText(_translate("TagManager", "New tag name"))
        self.oldTagName.setPlaceholderText(_translate("TagManager", "Old tag name"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    TagManager = QtWidgets.QDialog()
    ui = Ui_TagManager()
    ui.setupUi(TagManager)
    TagManager.show()
    sys.exit(app.exec_())
