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.

167 lines
8.3 KiB
Python

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'dialogs/image_info_dialog/image_info_dialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# 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(679, 325)
self.verticalLayout = QtWidgets.QVBoxLayout(Dialog)
self.verticalLayout.setObjectName("verticalLayout")
self.main_frame = QtWidgets.QFrame(Dialog)
self.main_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.main_frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.main_frame.setObjectName("main_frame")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.main_frame)
self.horizontalLayout.setObjectName("horizontalLayout")
self.left_frame = QtWidgets.QVBoxLayout()
self.left_frame.setObjectName("left_frame")
self.title_label = QtWidgets.QLabel(self.main_frame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.title_label.sizePolicy().hasHeightForWidth())
self.title_label.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setUnderline(True)
font.setWeight(75)
self.title_label.setFont(font)
self.title_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.title_label.setObjectName("title_label")
self.left_frame.addWidget(self.title_label)
self.presence_label = QtWidgets.QLabel(self.main_frame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.presence_label.sizePolicy().hasHeightForWidth())
self.presence_label.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setUnderline(True)
font.setWeight(75)
self.presence_label.setFont(font)
self.presence_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.presence_label.setObjectName("presence_label")
self.left_frame.addWidget(self.presence_label)
self.artist_label = QtWidgets.QLabel(self.main_frame)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setUnderline(True)
font.setWeight(75)
self.artist_label.setFont(font)
self.artist_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.artist_label.setObjectName("artist_label")
self.left_frame.addWidget(self.artist_label)
self.collections_label = QtWidgets.QLabel(self.main_frame)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setUnderline(True)
font.setWeight(75)
self.collections_label.setFont(font)
self.collections_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.collections_label.setObjectName("collections_label")
self.left_frame.addWidget(self.collections_label)
self.paths_label = QtWidgets.QLabel(self.main_frame)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setUnderline(True)
font.setWeight(75)
self.paths_label.setFont(font)
self.paths_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.paths_label.setObjectName("paths_label")
self.left_frame.addWidget(self.paths_label)
self.source_label = QtWidgets.QLabel(self.main_frame)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setUnderline(True)
font.setWeight(75)
self.source_label.setFont(font)
self.source_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.source_label.setObjectName("source_label")
self.left_frame.addWidget(self.source_label)
self.horizontalLayout.addLayout(self.left_frame)
self.right_frame = QtWidgets.QVBoxLayout()
self.right_frame.setObjectName("right_frame")
self.title_text_label = QtWidgets.QLabel(self.main_frame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.title_text_label.sizePolicy().hasHeightForWidth())
self.title_text_label.setSizePolicy(sizePolicy)
self.title_text_label.setObjectName("title_text_label")
self.right_frame.addWidget(self.title_text_label)
self.presence_text_label = QtWidgets.QLabel(self.main_frame)
self.presence_text_label.setObjectName("presence_text_label")
self.right_frame.addWidget(self.presence_text_label)
self.artist_text_label = QtWidgets.QLabel(self.main_frame)
self.artist_text_label.setObjectName("artist_text_label")
self.right_frame.addWidget(self.artist_text_label)
self.collection_text_label = QtWidgets.QLabel(self.main_frame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.collection_text_label.sizePolicy().hasHeightForWidth())
self.collection_text_label.setSizePolicy(sizePolicy)
self.collection_text_label.setObjectName("collection_text_label")
self.right_frame.addWidget(self.collection_text_label)
self.path_text_label = QtWidgets.QLabel(self.main_frame)
self.path_text_label.setObjectName("path_text_label")
self.right_frame.addWidget(self.path_text_label)
self.source_text_label = QtWidgets.QLabel(self.main_frame)
self.source_text_label.setObjectName("source_text_label")
self.right_frame.addWidget(self.source_text_label)
self.horizontalLayout.addLayout(self.right_frame)
self.verticalLayout.addWidget(self.main_frame)
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(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.title_label.setText(_translate("Dialog", "Image Title:"))
self.presence_label.setText(_translate("Dialog", "Presences:"))
self.artist_label.setText(_translate("Dialog", "Artists:"))
self.collections_label.setText(_translate("Dialog", "Collections:"))
self.paths_label.setText(_translate("Dialog", "Path:"))
self.source_label.setText(_translate("Dialog", "Source"))
self.title_text_label.setText(_translate("Dialog", "title_text"))
self.presence_text_label.setText(_translate("Dialog", "presence_text"))
self.artist_text_label.setText(_translate("Dialog", "artist_text"))
self.collection_text_label.setText(_translate("Dialog", "collection_text"))
self.path_text_label.setText(_translate("Dialog", "path_text"))
self.source_text_label.setText(_translate("Dialog", "source_text"))
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_())