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.
226 lines
13 KiB
Python
226 lines
13 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'dialogs/image_select_dialog/image_select_dialog.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.15.6
|
|
#
|
|
# 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_Dialog(object):
|
|
def setupUi(self, Dialog):
|
|
Dialog.setObjectName("Dialog")
|
|
Dialog.resize(1326, 952)
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(Dialog)
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.frame = QtWidgets.QFrame(Dialog)
|
|
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.frame.setObjectName("frame")
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame)
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
self.display_frame = QtWidgets.QFrame(self.frame)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.display_frame.sizePolicy().hasHeightForWidth())
|
|
self.display_frame.setSizePolicy(sizePolicy)
|
|
self.display_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.display_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.display_frame.setObjectName("display_frame")
|
|
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.display_frame)
|
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
|
self.art_name_label = QtWidgets.QLabel(self.display_frame)
|
|
self.art_name_label.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.art_name_label.setObjectName("art_name_label")
|
|
self.verticalLayout_4.addWidget(self.art_name_label)
|
|
self.art_by_label = QtWidgets.QLabel(self.display_frame)
|
|
font = QtGui.QFont()
|
|
font.setPointSize(8)
|
|
self.art_by_label.setFont(font)
|
|
self.art_by_label.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.art_by_label.setObjectName("art_by_label")
|
|
self.verticalLayout_4.addWidget(self.art_by_label)
|
|
self.art_presence_label = QtWidgets.QLabel(self.display_frame)
|
|
self.art_presence_label.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.art_presence_label.setObjectName("art_presence_label")
|
|
self.verticalLayout_4.addWidget(self.art_presence_label)
|
|
self.art_frame = QtWidgets.QFrame(self.display_frame)
|
|
self.art_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.art_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.art_frame.setObjectName("art_frame")
|
|
self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.art_frame)
|
|
self.verticalLayout_8.setObjectName("verticalLayout_8")
|
|
self.art_placeholder_label = QtWidgets.QLabel(self.art_frame)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.art_placeholder_label.sizePolicy().hasHeightForWidth())
|
|
self.art_placeholder_label.setSizePolicy(sizePolicy)
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.art_placeholder_label.setFont(font)
|
|
self.art_placeholder_label.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.art_placeholder_label.setObjectName("art_placeholder_label")
|
|
self.verticalLayout_8.addWidget(self.art_placeholder_label)
|
|
self.art_selection_list = QtWidgets.QListView(self.art_frame)
|
|
self.art_selection_list.setObjectName("art_selection_list")
|
|
self.verticalLayout_8.addWidget(self.art_selection_list)
|
|
self.verticalLayout_4.addWidget(self.art_frame)
|
|
self.horizontalLayout.addWidget(self.display_frame)
|
|
self.select_frame = QtWidgets.QFrame(self.frame)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.select_frame.sizePolicy().hasHeightForWidth())
|
|
self.select_frame.setSizePolicy(sizePolicy)
|
|
self.select_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.select_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.select_frame.setObjectName("select_frame")
|
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.select_frame)
|
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
|
self.select_tag_frame = QtWidgets.QFrame(self.select_frame)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.select_tag_frame.sizePolicy().hasHeightForWidth())
|
|
self.select_tag_frame.setSizePolicy(sizePolicy)
|
|
self.select_tag_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.select_tag_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.select_tag_frame.setObjectName("select_tag_frame")
|
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.select_tag_frame)
|
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
self.search_tag_label = QtWidgets.QLabel(self.select_tag_frame)
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.search_tag_label.setFont(font)
|
|
self.search_tag_label.setObjectName("search_tag_label")
|
|
self.verticalLayout_2.addWidget(self.search_tag_label)
|
|
self.search_tag_line = QtWidgets.QLineEdit(self.select_tag_frame)
|
|
self.search_tag_line.setObjectName("search_tag_line")
|
|
self.verticalLayout_2.addWidget(self.search_tag_line)
|
|
self.search_tag_list = QtWidgets.QListView(self.select_tag_frame)
|
|
self.search_tag_list.setObjectName("search_tag_list")
|
|
self.verticalLayout_2.addWidget(self.search_tag_list)
|
|
self.selected_tag_label = QtWidgets.QLabel(self.select_tag_frame)
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.selected_tag_label.setFont(font)
|
|
self.selected_tag_label.setObjectName("selected_tag_label")
|
|
self.verticalLayout_2.addWidget(self.selected_tag_label)
|
|
self.selected_tag_list = QtWidgets.QListView(self.select_tag_frame)
|
|
self.selected_tag_list.setObjectName("selected_tag_list")
|
|
self.verticalLayout_2.addWidget(self.selected_tag_list)
|
|
self.verticalLayout_3.addWidget(self.select_tag_frame)
|
|
self.select_presence_frame = QtWidgets.QFrame(self.select_frame)
|
|
self.select_presence_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.select_presence_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.select_presence_frame.setObjectName("select_presence_frame")
|
|
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.select_presence_frame)
|
|
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
|
self.search_presence_label = QtWidgets.QLabel(self.select_presence_frame)
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.search_presence_label.setFont(font)
|
|
self.search_presence_label.setObjectName("search_presence_label")
|
|
self.verticalLayout_5.addWidget(self.search_presence_label)
|
|
self.search_presence_frame = QtWidgets.QFrame(self.select_presence_frame)
|
|
self.search_presence_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.search_presence_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.search_presence_frame.setObjectName("search_presence_frame")
|
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.search_presence_frame)
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
self.search_presence_name_frame = QtWidgets.QFrame(self.search_presence_frame)
|
|
self.search_presence_name_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.search_presence_name_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.search_presence_name_frame.setObjectName("search_presence_name_frame")
|
|
self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.search_presence_name_frame)
|
|
self.verticalLayout_7.setObjectName("verticalLayout_7")
|
|
self.search_presence_name_label = QtWidgets.QLabel(self.search_presence_name_frame)
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.search_presence_name_label.setFont(font)
|
|
self.search_presence_name_label.setObjectName("search_presence_name_label")
|
|
self.verticalLayout_7.addWidget(self.search_presence_name_label)
|
|
self.search_presence_name_line = QtWidgets.QLineEdit(self.search_presence_name_frame)
|
|
self.search_presence_name_line.setObjectName("search_presence_name_line")
|
|
self.verticalLayout_7.addWidget(self.search_presence_name_line)
|
|
self.horizontalLayout_2.addWidget(self.search_presence_name_frame)
|
|
self.search_presence_domain_frame = QtWidgets.QFrame(self.search_presence_frame)
|
|
self.search_presence_domain_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.search_presence_domain_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.search_presence_domain_frame.setObjectName("search_presence_domain_frame")
|
|
self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.search_presence_domain_frame)
|
|
self.verticalLayout_6.setObjectName("verticalLayout_6")
|
|
self.search_presence_domain_label = QtWidgets.QLabel(self.search_presence_domain_frame)
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.search_presence_domain_label.setFont(font)
|
|
self.search_presence_domain_label.setObjectName("search_presence_domain_label")
|
|
self.verticalLayout_6.addWidget(self.search_presence_domain_label)
|
|
self.search_presence_domain_line = QtWidgets.QLineEdit(self.search_presence_domain_frame)
|
|
self.search_presence_domain_line.setObjectName("search_presence_domain_line")
|
|
self.verticalLayout_6.addWidget(self.search_presence_domain_line)
|
|
self.horizontalLayout_2.addWidget(self.search_presence_domain_frame)
|
|
self.verticalLayout_5.addWidget(self.search_presence_frame)
|
|
self.search_presence_list = QtWidgets.QListView(self.select_presence_frame)
|
|
self.search_presence_list.setObjectName("search_presence_list")
|
|
self.verticalLayout_5.addWidget(self.search_presence_list)
|
|
self.selected_presence_label = QtWidgets.QLabel(self.select_presence_frame)
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.selected_presence_label.setFont(font)
|
|
self.selected_presence_label.setObjectName("selected_presence_label")
|
|
self.verticalLayout_5.addWidget(self.selected_presence_label)
|
|
self.selected_presence_list = QtWidgets.QListView(self.select_presence_frame)
|
|
self.selected_presence_list.setObjectName("selected_presence_list")
|
|
self.verticalLayout_5.addWidget(self.selected_presence_list)
|
|
self.verticalLayout_3.addWidget(self.select_presence_frame)
|
|
self.horizontalLayout.addWidget(self.select_frame)
|
|
self.verticalLayout.addWidget(self.frame)
|
|
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
|
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
|
self.buttonBox.setObjectName("buttonBox")
|
|
self.verticalLayout.addWidget(self.buttonBox)
|
|
|
|
self.retranslateUi(Dialog)
|
|
self.buttonBox.accepted.connect(Dialog.accept) # type: ignore
|
|
self.buttonBox.rejected.connect(Dialog.reject) # type: ignore
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
|
|
def retranslateUi(self, Dialog):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
|
|
self.art_name_label.setText(_translate("Dialog", "image_name"))
|
|
self.art_by_label.setText(_translate("Dialog", "by"))
|
|
self.art_presence_label.setText(_translate("Dialog", "presences"))
|
|
self.art_placeholder_label.setText(_translate("Dialog", "NO_ART"))
|
|
self.search_tag_label.setText(_translate("Dialog", "Search Tag"))
|
|
self.selected_tag_label.setText(_translate("Dialog", "Selected Tags"))
|
|
self.search_presence_label.setText(_translate("Dialog", "Search Presence"))
|
|
self.search_presence_name_label.setText(_translate("Dialog", "Name"))
|
|
self.search_presence_domain_label.setText(_translate("Dialog", "Domain"))
|
|
self.selected_presence_label.setText(_translate("Dialog", "Selected Presences"))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
import sys
|
|
app = QtWidgets.QApplication(sys.argv)
|
|
Dialog = QtWidgets.QDialog()
|
|
ui = Ui_Dialog()
|
|
ui.setupUi(Dialog)
|
|
Dialog.show()
|
|
sys.exit(app.exec_())
|