# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'dialogs/collection_select_dialog/collection_select_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(570, 446) self.verticalLayout_2 = QtWidgets.QVBoxLayout(Dialog) self.verticalLayout_2.setObjectName("verticalLayout_2") self.frame = QtWidgets.QFrame(Dialog) self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.frame.setFrameShadow(QtWidgets.QFrame.Raised) self.frame.setObjectName("frame") self.verticalLayout = QtWidgets.QVBoxLayout(self.frame) self.verticalLayout.setObjectName("verticalLayout") self.top_frame = QtWidgets.QFrame(self.frame) self.top_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.top_frame.setFrameShadow(QtWidgets.QFrame.Raised) self.top_frame.setObjectName("top_frame") self.horizontalLayout = QtWidgets.QHBoxLayout(self.top_frame) self.horizontalLayout.setObjectName("horizontalLayout") self.name_select_frame = QtWidgets.QFrame(self.top_frame) self.name_select_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.name_select_frame.setFrameShadow(QtWidgets.QFrame.Raised) self.name_select_frame.setObjectName("name_select_frame") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.name_select_frame) self.verticalLayout_3.setObjectName("verticalLayout_3") self.collection_name_label = QtWidgets.QLabel(self.name_select_frame) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.collection_name_label.sizePolicy().hasHeightForWidth()) self.collection_name_label.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.collection_name_label.setFont(font) self.collection_name_label.setObjectName("collection_name_label") self.verticalLayout_3.addWidget(self.collection_name_label) self.collection_name_line = QtWidgets.QLineEdit(self.name_select_frame) self.collection_name_line.setObjectName("collection_name_line") self.verticalLayout_3.addWidget(self.collection_name_line) self.horizontalLayout.addWidget(self.name_select_frame) self.presence_name_frame = QtWidgets.QFrame(self.top_frame) self.presence_name_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.presence_name_frame.setFrameShadow(QtWidgets.QFrame.Raised) self.presence_name_frame.setObjectName("presence_name_frame") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.presence_name_frame) self.verticalLayout_4.setObjectName("verticalLayout_4") self.presence_name_label = QtWidgets.QLabel(self.presence_name_frame) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.presence_name_label.sizePolicy().hasHeightForWidth()) self.presence_name_label.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.presence_name_label.setFont(font) self.presence_name_label.setObjectName("presence_name_label") self.verticalLayout_4.addWidget(self.presence_name_label) self.presence_name_line = QtWidgets.QLineEdit(self.presence_name_frame) self.presence_name_line.setObjectName("presence_name_line") self.verticalLayout_4.addWidget(self.presence_name_line) self.horizontalLayout.addWidget(self.presence_name_frame) self.presence_domain_frame = QtWidgets.QFrame(self.top_frame) self.presence_domain_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.presence_domain_frame.setFrameShadow(QtWidgets.QFrame.Raised) self.presence_domain_frame.setObjectName("presence_domain_frame") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.presence_domain_frame) self.verticalLayout_5.setObjectName("verticalLayout_5") self.presence_domain_label = QtWidgets.QLabel(self.presence_domain_frame) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.presence_domain_label.sizePolicy().hasHeightForWidth()) self.presence_domain_label.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.presence_domain_label.setFont(font) self.presence_domain_label.setObjectName("presence_domain_label") self.verticalLayout_5.addWidget(self.presence_domain_label) self.presence_domain_line = QtWidgets.QLineEdit(self.presence_domain_frame) self.presence_domain_line.setObjectName("presence_domain_line") self.verticalLayout_5.addWidget(self.presence_domain_line) self.horizontalLayout.addWidget(self.presence_domain_frame) self.art_frame = QtWidgets.QFrame(self.top_frame) self.art_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.art_frame.setFrameShadow(QtWidgets.QFrame.Raised) self.art_frame.setObjectName("art_frame") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.art_frame) self.verticalLayout_6.setObjectName("verticalLayout_6") self.art_name_label = QtWidgets.QLabel(self.art_frame) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.art_name_label.setFont(font) self.art_name_label.setObjectName("art_name_label") self.verticalLayout_6.addWidget(self.art_name_label) self.art_name_line = QtWidgets.QLineEdit(self.art_frame) self.art_name_line.setObjectName("art_name_line") self.verticalLayout_6.addWidget(self.art_name_line) self.horizontalLayout.addWidget(self.art_frame) self.verticalLayout.addWidget(self.top_frame) self.collection_list = QtWidgets.QListView(self.frame) self.collection_list.setObjectName("collection_list") self.verticalLayout.addWidget(self.collection_list) self.verticalLayout_2.addWidget(self.frame) self.button_frame = QtWidgets.QFrame(Dialog) self.button_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.button_frame.setFrameShadow(QtWidgets.QFrame.Raised) self.button_frame.setObjectName("button_frame") self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.button_frame) self.horizontalLayout_2.setObjectName("horizontalLayout_2") spacerItem = QtWidgets.QSpacerItem(133, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.create_collection_button = QtWidgets.QPushButton(self.button_frame) self.create_collection_button.setObjectName("create_collection_button") self.horizontalLayout_2.addWidget(self.create_collection_button) self.edit_collection_button = QtWidgets.QPushButton(self.button_frame) self.edit_collection_button.setObjectName("edit_collection_button") self.horizontalLayout_2.addWidget(self.edit_collection_button) self.delete_collection_button = QtWidgets.QPushButton(self.button_frame) self.delete_collection_button.setObjectName("delete_collection_button") self.horizontalLayout_2.addWidget(self.delete_collection_button) self.verticalLayout_2.addWidget(self.button_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_2.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.collection_name_label.setText(_translate("Dialog", "Collection Name")) self.presence_name_label.setText(_translate("Dialog", "Presence Name")) self.presence_domain_label.setText(_translate("Dialog", "Presence Domain")) self.art_name_label.setText(_translate("Dialog", "Art Name")) self.create_collection_button.setText(_translate("Dialog", "Create Collection")) self.edit_collection_button.setText(_translate("Dialog", "Edit Collection")) self.delete_collection_button.setText(_translate("Dialog", "Delete Collection")) 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_())