You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
350 lines
20 KiB
Python
350 lines
20 KiB
Python
4 years ago
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
# Form implementation generated from reading ui file 'picture_importer.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_MainWindow(object):
|
||
|
def setupUi(self, MainWindow):
|
||
|
MainWindow.setObjectName("MainWindow")
|
||
|
MainWindow.resize(827, 777)
|
||
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
||
|
self.centralwidget.setEnabled(True)
|
||
|
self.centralwidget.setObjectName("centralwidget")
|
||
|
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
|
||
|
self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
|
||
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||
|
self.left_frame = QtWidgets.QFrame(self.centralwidget)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.left_frame.sizePolicy().hasHeightForWidth())
|
||
|
self.left_frame.setSizePolicy(sizePolicy)
|
||
|
self.left_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||
|
self.left_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
||
|
self.left_frame.setObjectName("left_frame")
|
||
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.left_frame)
|
||
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
||
|
self.presence_docker_button = QtWidgets.QToolButton(self.left_frame)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.presence_docker_button.sizePolicy().hasHeightForWidth())
|
||
|
self.presence_docker_button.setSizePolicy(sizePolicy)
|
||
|
self.presence_docker_button.setObjectName("presence_docker_button")
|
||
|
self.horizontalLayout_2.addWidget(self.presence_docker_button)
|
||
|
self.presence_docker_layout = QtWidgets.QVBoxLayout()
|
||
|
self.presence_docker_layout.setObjectName("presence_docker_layout")
|
||
|
self.horizontalLayout_2.addLayout(self.presence_docker_layout)
|
||
|
self.left_layout = QtWidgets.QVBoxLayout()
|
||
|
self.left_layout.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
|
||
|
self.left_layout.setObjectName("left_layout")
|
||
|
self.prev_image_button = QtWidgets.QToolButton(self.left_frame)
|
||
|
self.prev_image_button.setObjectName("prev_image_button")
|
||
|
self.left_layout.addWidget(self.prev_image_button)
|
||
|
self.horizontalLayout_2.addLayout(self.left_layout)
|
||
|
self.center_frame = QtWidgets.QFrame(self.left_frame)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.center_frame.sizePolicy().hasHeightForWidth())
|
||
|
self.center_frame.setSizePolicy(sizePolicy)
|
||
|
self.center_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||
|
self.center_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
||
|
self.center_frame.setObjectName("center_frame")
|
||
|
self.verticalLayout = QtWidgets.QVBoxLayout(self.center_frame)
|
||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||
|
self.frame = QtWidgets.QFrame(self.center_frame)
|
||
|
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||
|
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
||
|
self.frame.setObjectName("frame")
|
||
|
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.frame)
|
||
|
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
||
|
self.image_title_line = QtWidgets.QLineEdit(self.frame)
|
||
|
font = QtGui.QFont()
|
||
|
font.setPointSize(10)
|
||
|
font.setBold(True)
|
||
|
font.setWeight(75)
|
||
|
self.image_title_line.setFont(font)
|
||
|
self.image_title_line.setAutoFillBackground(False)
|
||
|
self.image_title_line.setAlignment(QtCore.Qt.AlignCenter)
|
||
|
self.image_title_line.setReadOnly(False)
|
||
|
self.image_title_line.setObjectName("image_title_line")
|
||
|
self.horizontalLayout_4.addWidget(self.image_title_line)
|
||
|
self.imageNumberSpinBox = QtWidgets.QSpinBox(self.frame)
|
||
|
self.imageNumberSpinBox.setObjectName("imageNumberSpinBox")
|
||
|
self.horizontalLayout_4.addWidget(self.imageNumberSpinBox)
|
||
|
self.verticalLayout.addWidget(self.frame)
|
||
|
self.image_file_label = QtWidgets.QLabel(self.center_frame)
|
||
|
self.image_file_label.setAlignment(QtCore.Qt.AlignCenter)
|
||
|
self.image_file_label.setObjectName("image_file_label")
|
||
|
self.verticalLayout.addWidget(self.image_file_label)
|
||
|
self.author_by = QtWidgets.QLabel(self.center_frame)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.author_by.sizePolicy().hasHeightForWidth())
|
||
|
self.author_by.setSizePolicy(sizePolicy)
|
||
|
font = QtGui.QFont()
|
||
|
font.setPointSize(7)
|
||
|
font.setBold(False)
|
||
|
font.setWeight(50)
|
||
|
self.author_by.setFont(font)
|
||
|
self.author_by.setAlignment(QtCore.Qt.AlignCenter)
|
||
|
self.author_by.setObjectName("author_by")
|
||
|
self.verticalLayout.addWidget(self.author_by)
|
||
|
self.image_author_label = QtWidgets.QLabel(self.center_frame)
|
||
|
font = QtGui.QFont()
|
||
|
font.setPointSize(10)
|
||
|
font.setBold(False)
|
||
|
font.setItalic(False)
|
||
|
font.setWeight(50)
|
||
|
self.image_author_label.setFont(font)
|
||
|
self.image_author_label.setAlignment(QtCore.Qt.AlignCenter)
|
||
|
self.image_author_label.setObjectName("image_author_label")
|
||
|
self.verticalLayout.addWidget(self.image_author_label)
|
||
|
self.image_frame = QtWidgets.QFrame(self.center_frame)
|
||
|
self.image_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||
|
self.image_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
||
|
self.image_frame.setObjectName("image_frame")
|
||
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.image_frame)
|
||
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
||
|
self.image_label = QtWidgets.QLabel(self.image_frame)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.image_label.sizePolicy().hasHeightForWidth())
|
||
|
self.image_label.setSizePolicy(sizePolicy)
|
||
|
self.image_label.setAlignment(QtCore.Qt.AlignCenter)
|
||
|
self.image_label.setObjectName("image_label")
|
||
|
self.verticalLayout_2.addWidget(self.image_label)
|
||
|
self.verticalLayout.addWidget(self.image_frame)
|
||
|
self.link_label = QtWidgets.QLabel(self.center_frame)
|
||
|
font = QtGui.QFont()
|
||
|
font.setPointSize(8)
|
||
|
font.setBold(True)
|
||
|
font.setWeight(75)
|
||
|
self.link_label.setFont(font)
|
||
|
self.link_label.setAlignment(QtCore.Qt.AlignCenter)
|
||
|
self.link_label.setObjectName("link_label")
|
||
|
self.verticalLayout.addWidget(self.link_label)
|
||
|
self.label_5 = QtWidgets.QLabel(self.center_frame)
|
||
|
self.label_5.setObjectName("label_5")
|
||
|
self.verticalLayout.addWidget(self.label_5)
|
||
|
self.link_line = QtWidgets.QLineEdit(self.center_frame)
|
||
|
font = QtGui.QFont()
|
||
|
font.setPointSize(7)
|
||
|
self.link_line.setFont(font)
|
||
|
self.link_line.setObjectName("link_line")
|
||
|
self.verticalLayout.addWidget(self.link_line)
|
||
|
self.horizontalLayout_2.addWidget(self.center_frame)
|
||
|
self.right_layout = QtWidgets.QVBoxLayout()
|
||
|
self.right_layout.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
|
||
|
self.right_layout.setObjectName("right_layout")
|
||
|
self.next_image_button = QtWidgets.QToolButton(self.left_frame)
|
||
|
self.next_image_button.setObjectName("next_image_button")
|
||
|
self.right_layout.addWidget(self.next_image_button)
|
||
|
self.horizontalLayout_2.addLayout(self.right_layout)
|
||
|
self.horizontalLayout.addWidget(self.left_frame)
|
||
|
self.right_frame = QtWidgets.QFrame(self.centralwidget)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.right_frame.sizePolicy().hasHeightForWidth())
|
||
|
self.right_frame.setSizePolicy(sizePolicy)
|
||
|
self.right_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||
|
self.right_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
||
|
self.right_frame.setObjectName("right_frame")
|
||
|
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.right_frame)
|
||
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
||
|
self.tag_layout = QtWidgets.QVBoxLayout()
|
||
|
self.tag_layout.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
|
||
|
self.tag_layout.setObjectName("tag_layout")
|
||
|
self.label = QtWidgets.QLabel(self.right_frame)
|
||
|
font = QtGui.QFont()
|
||
|
font.setBold(True)
|
||
|
font.setWeight(75)
|
||
|
self.label.setFont(font)
|
||
|
self.label.setObjectName("label")
|
||
|
self.tag_layout.addWidget(self.label)
|
||
|
self.tag_list_layout = QtWidgets.QVBoxLayout()
|
||
|
self.tag_list_layout.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
|
||
|
self.tag_list_layout.setObjectName("tag_list_layout")
|
||
|
self.tag_search_bar = QtWidgets.QLineEdit(self.right_frame)
|
||
|
self.tag_search_bar.setMaximumSize(QtCore.QSize(400, 16777215))
|
||
|
self.tag_search_bar.setObjectName("tag_search_bar")
|
||
|
self.tag_list_layout.addWidget(self.tag_search_bar)
|
||
|
self.search_result_list = QtWidgets.QListView(self.right_frame)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.search_result_list.sizePolicy().hasHeightForWidth())
|
||
|
self.search_result_list.setSizePolicy(sizePolicy)
|
||
|
self.search_result_list.setMinimumSize(QtCore.QSize(0, 0))
|
||
|
self.search_result_list.setMaximumSize(QtCore.QSize(400, 16777215))
|
||
|
self.search_result_list.setObjectName("search_result_list")
|
||
|
self.tag_list_layout.addWidget(self.search_result_list)
|
||
|
self.label_2 = QtWidgets.QLabel(self.right_frame)
|
||
|
font = QtGui.QFont()
|
||
|
font.setBold(True)
|
||
|
font.setWeight(75)
|
||
|
self.label_2.setFont(font)
|
||
|
self.label_2.setObjectName("label_2")
|
||
|
self.tag_list_layout.addWidget(self.label_2)
|
||
|
self.tag_list = QtWidgets.QListView(self.right_frame)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.tag_list.sizePolicy().hasHeightForWidth())
|
||
|
self.tag_list.setSizePolicy(sizePolicy)
|
||
|
self.tag_list.setMinimumSize(QtCore.QSize(100, 0))
|
||
|
self.tag_list.setMaximumSize(QtCore.QSize(400, 16777215))
|
||
|
self.tag_list.setObjectName("tag_list")
|
||
|
self.tag_list_layout.addWidget(self.tag_list)
|
||
|
self.label_3 = QtWidgets.QLabel(self.right_frame)
|
||
|
font = QtGui.QFont()
|
||
|
font.setPointSize(9)
|
||
|
font.setBold(True)
|
||
|
font.setWeight(75)
|
||
|
self.label_3.setFont(font)
|
||
|
self.label_3.setObjectName("label_3")
|
||
|
self.tag_list_layout.addWidget(self.label_3)
|
||
|
self.implied_tag_list = QtWidgets.QListView(self.right_frame)
|
||
|
self.implied_tag_list.setMinimumSize(QtCore.QSize(100, 0))
|
||
|
self.implied_tag_list.setMaximumSize(QtCore.QSize(400, 16777215))
|
||
|
self.implied_tag_list.setObjectName("implied_tag_list")
|
||
|
self.tag_list_layout.addWidget(self.implied_tag_list)
|
||
|
self.tag_layout.addLayout(self.tag_list_layout)
|
||
|
self.tag_button_layout = QtWidgets.QHBoxLayout()
|
||
|
self.tag_button_layout.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
|
||
|
self.tag_button_layout.setSpacing(5)
|
||
|
self.tag_button_layout.setObjectName("tag_button_layout")
|
||
|
self.save_button = QtWidgets.QPushButton(self.right_frame)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.save_button.sizePolicy().hasHeightForWidth())
|
||
|
self.save_button.setSizePolicy(sizePolicy)
|
||
|
self.save_button.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||
|
self.save_button.setObjectName("save_button")
|
||
|
self.tag_button_layout.addWidget(self.save_button)
|
||
|
self.import_button = QtWidgets.QPushButton(self.right_frame)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.import_button.sizePolicy().hasHeightForWidth())
|
||
|
self.import_button.setSizePolicy(sizePolicy)
|
||
|
self.import_button.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||
|
self.import_button.setObjectName("import_button")
|
||
|
self.tag_button_layout.addWidget(self.import_button)
|
||
|
self.prev_unknown_image_button = QtWidgets.QPushButton(self.right_frame)
|
||
|
self.prev_unknown_image_button.setObjectName("prev_unknown_image_button")
|
||
|
self.tag_button_layout.addWidget(self.prev_unknown_image_button)
|
||
|
self.next_unknown_image_button = QtWidgets.QPushButton(self.right_frame)
|
||
|
self.next_unknown_image_button.setObjectName("next_unknown_image_button")
|
||
|
self.tag_button_layout.addWidget(self.next_unknown_image_button)
|
||
|
self.delete_button = QtWidgets.QPushButton(self.right_frame)
|
||
|
self.delete_button.setObjectName("delete_button")
|
||
|
self.tag_button_layout.addWidget(self.delete_button)
|
||
|
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
||
|
self.tag_button_layout.addItem(spacerItem)
|
||
|
self.tag_layout.addLayout(self.tag_button_layout)
|
||
|
self.horizontalLayout_3.addLayout(self.tag_layout)
|
||
|
self.horizontalLayout.addWidget(self.right_frame)
|
||
|
MainWindow.setCentralWidget(self.centralwidget)
|
||
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
||
|
self.statusbar.setObjectName("statusbar")
|
||
|
MainWindow.setStatusBar(self.statusbar)
|
||
|
self.menuBar = QtWidgets.QMenuBar(MainWindow)
|
||
|
self.menuBar.setGeometry(QtCore.QRect(0, 0, 827, 19))
|
||
|
self.menuBar.setObjectName("menuBar")
|
||
|
self.menuArtNet = QtWidgets.QMenu(self.menuBar)
|
||
|
self.menuArtNet.setObjectName("menuArtNet")
|
||
|
self.menuTags = QtWidgets.QMenu(self.menuBar)
|
||
|
self.menuTags.setObjectName("menuTags")
|
||
|
self.menuCategory = QtWidgets.QMenu(self.menuBar)
|
||
|
self.menuCategory.setObjectName("menuCategory")
|
||
|
MainWindow.setMenuBar(self.menuBar)
|
||
|
self.actionChange_Connection_Details = QtWidgets.QAction(MainWindow)
|
||
|
self.actionChange_Connection_Details.setObjectName("actionChange_Connection_Details")
|
||
|
self.actionChange_ArtNet_Root_Folder = QtWidgets.QAction(MainWindow)
|
||
|
self.actionChange_ArtNet_Root_Folder.setObjectName("actionChange_ArtNet_Root_Folder")
|
||
|
self.actionCreate_New_Tag = QtWidgets.QAction(MainWindow)
|
||
|
self.actionCreate_New_Tag.setObjectName("actionCreate_New_Tag")
|
||
|
self.actionDelete_a_Tag = QtWidgets.QAction(MainWindow)
|
||
|
self.actionDelete_a_Tag.setObjectName("actionDelete_a_Tag")
|
||
|
self.actionEdit_a_Tag = QtWidgets.QAction(MainWindow)
|
||
|
self.actionEdit_a_Tag.setObjectName("actionEdit_a_Tag")
|
||
|
self.actionCreate_New_Category = QtWidgets.QAction(MainWindow)
|
||
|
self.actionCreate_New_Category.setObjectName("actionCreate_New_Category")
|
||
|
self.actionDelete_a_Category = QtWidgets.QAction(MainWindow)
|
||
|
self.actionDelete_a_Category.setObjectName("actionDelete_a_Category")
|
||
|
self.actionCreate_New_Category_2 = QtWidgets.QAction(MainWindow)
|
||
|
self.actionCreate_New_Category_2.setObjectName("actionCreate_New_Category_2")
|
||
|
self.actionDelete_a_Category_2 = QtWidgets.QAction(MainWindow)
|
||
|
self.actionDelete_a_Category_2.setObjectName("actionDelete_a_Category_2")
|
||
|
self.menuArtNet.addAction(self.actionChange_Connection_Details)
|
||
|
self.menuArtNet.addAction(self.actionChange_ArtNet_Root_Folder)
|
||
|
self.menuTags.addAction(self.actionCreate_New_Tag)
|
||
|
self.menuTags.addAction(self.actionDelete_a_Tag)
|
||
|
self.menuTags.addAction(self.actionEdit_a_Tag)
|
||
|
self.menuCategory.addAction(self.actionCreate_New_Category_2)
|
||
|
self.menuCategory.addAction(self.actionDelete_a_Category_2)
|
||
|
self.menuBar.addAction(self.menuArtNet.menuAction())
|
||
|
self.menuBar.addAction(self.menuTags.menuAction())
|
||
|
self.menuBar.addAction(self.menuCategory.menuAction())
|
||
|
|
||
|
self.retranslateUi(MainWindow)
|
||
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
||
|
|
||
|
def retranslateUi(self, MainWindow):
|
||
|
_translate = QtCore.QCoreApplication.translate
|
||
|
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
||
|
self.presence_docker_button.setText(_translate("MainWindow", "<"))
|
||
|
self.prev_image_button.setText(_translate("MainWindow", "<"))
|
||
|
self.image_title_line.setText(_translate("MainWindow", "Image_Title"))
|
||
|
self.image_file_label.setText(_translate("MainWindow", "file_name"))
|
||
|
self.author_by.setText(_translate("MainWindow", "by"))
|
||
|
self.image_author_label.setText(_translate("MainWindow", "author_name"))
|
||
|
self.image_label.setText(_translate("MainWindow", "No Image"))
|
||
|
self.link_label.setText(_translate("MainWindow", "Source_Link"))
|
||
|
self.label_5.setText(_translate("MainWindow", "Link:"))
|
||
|
self.next_image_button.setText(_translate("MainWindow", ">"))
|
||
|
self.label.setText(_translate("MainWindow", "Search Tags"))
|
||
|
self.label_2.setText(_translate("MainWindow", "Selected Tags:"))
|
||
|
self.label_3.setText(_translate("MainWindow", "Implied Tags:"))
|
||
|
self.save_button.setText(_translate("MainWindow", "Save"))
|
||
|
self.import_button.setText(_translate("MainWindow", "Import Tags"))
|
||
|
self.prev_unknown_image_button.setText(_translate("MainWindow", "prev Unknown"))
|
||
|
self.next_unknown_image_button.setText(_translate("MainWindow", "next Unknown"))
|
||
|
self.delete_button.setText(_translate("MainWindow", "Delete"))
|
||
|
self.menuArtNet.setTitle(_translate("MainWindow", "ArtNet"))
|
||
|
self.menuTags.setTitle(_translate("MainWindow", "Tags"))
|
||
|
self.menuCategory.setTitle(_translate("MainWindow", "Category"))
|
||
|
self.actionChange_Connection_Details.setText(_translate("MainWindow", "Change DB Connection"))
|
||
|
self.actionChange_ArtNet_Root_Folder.setText(_translate("MainWindow", "Change ArtNet Root"))
|
||
|
self.actionCreate_New_Tag.setText(_translate("MainWindow", "Create New Tag"))
|
||
|
self.actionDelete_a_Tag.setText(_translate("MainWindow", "Delete a Tag"))
|
||
|
self.actionEdit_a_Tag.setText(_translate("MainWindow", "Edit a Tag"))
|
||
|
self.actionCreate_New_Category.setText(_translate("MainWindow", "Create New Category"))
|
||
|
self.actionDelete_a_Category.setText(_translate("MainWindow", "Delete a Category"))
|
||
|
self.actionCreate_New_Category_2.setText(_translate("MainWindow", "Create New Category"))
|
||
|
self.actionDelete_a_Category_2.setText(_translate("MainWindow", "Delete a Category"))
|
||
|
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
import sys
|
||
|
app = QtWidgets.QApplication(sys.argv)
|
||
|
MainWindow = QtWidgets.QMainWindow()
|
||
|
ui = Ui_MainWindow()
|
||
|
ui.setupUi(MainWindow)
|
||
|
MainWindow.show()
|
||
|
sys.exit(app.exec_())
|