# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'dockers/presence/presence_docker.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_presence_docker(object): def setupUi(self, presence_docker): presence_docker.setObjectName("presence_docker") presence_docker.resize(338, 576) self.verticalLayout = QtWidgets.QVBoxLayout(presence_docker) self.verticalLayout.setObjectName("verticalLayout") self.frame = QtWidgets.QFrame(presence_docker) self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.frame.setFrameShadow(QtWidgets.QFrame.Raised) self.frame.setObjectName("frame") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame) self.verticalLayout_2.setObjectName("verticalLayout_2") self.docker_topic_label = QtWidgets.QLabel(self.frame) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.docker_topic_label.sizePolicy().hasHeightForWidth()) self.docker_topic_label.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setPointSize(13) font.setBold(True) font.setWeight(75) self.docker_topic_label.setFont(font) self.docker_topic_label.setAlignment(QtCore.Qt.AlignCenter) self.docker_topic_label.setObjectName("docker_topic_label") self.verticalLayout_2.addWidget(self.docker_topic_label) self.search_author_label = QtWidgets.QLabel(self.frame) font = QtGui.QFont() font.setPointSize(10) font.setBold(True) font.setWeight(75) self.search_author_label.setFont(font) self.search_author_label.setObjectName("search_author_label") self.verticalLayout_2.addWidget(self.search_author_label) self.search_frame = QtWidgets.QFrame(self.frame) self.search_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.search_frame.setFrameShadow(QtWidgets.QFrame.Raised) self.search_frame.setObjectName("search_frame") self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.search_frame) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.name_frame = QtWidgets.QFrame(self.search_frame) self.name_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.name_frame.setFrameShadow(QtWidgets.QFrame.Raised) self.name_frame.setObjectName("name_frame") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.name_frame) self.verticalLayout_3.setObjectName("verticalLayout_3") self.name_label = QtWidgets.QLabel(self.name_frame) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.name_label.setFont(font) self.name_label.setObjectName("name_label") self.verticalLayout_3.addWidget(self.name_label) self.name_line = QtWidgets.QLineEdit(self.name_frame) self.name_line.setObjectName("name_line") self.verticalLayout_3.addWidget(self.name_line) self.horizontalLayout_3.addWidget(self.name_frame) self.domain_frame = QtWidgets.QFrame(self.search_frame) self.domain_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.domain_frame.setFrameShadow(QtWidgets.QFrame.Raised) self.domain_frame.setObjectName("domain_frame") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.domain_frame) self.verticalLayout_4.setObjectName("verticalLayout_4") self.domain_label = QtWidgets.QLabel(self.domain_frame) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.domain_label.setFont(font) self.domain_label.setObjectName("domain_label") self.verticalLayout_4.addWidget(self.domain_label) self.domain_line = QtWidgets.QLineEdit(self.domain_frame) self.domain_line.setObjectName("domain_line") self.verticalLayout_4.addWidget(self.domain_line) self.horizontalLayout_3.addWidget(self.domain_frame) self.verticalLayout_2.addWidget(self.search_frame) self.search_author_list = QtWidgets.QListView(self.frame) self.search_author_list.setObjectName("search_author_list") self.verticalLayout_2.addWidget(self.search_author_list) self.selected_presence_label = QtWidgets.QLabel(self.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_2.addWidget(self.selected_presence_label) self.selected_presence_list = QtWidgets.QListView(self.frame) self.selected_presence_list.setObjectName("selected_presence_list") self.verticalLayout_2.addWidget(self.selected_presence_list) self.presence_docker_button_frame = QtWidgets.QFrame(self.frame) self.presence_docker_button_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.presence_docker_button_frame.setFrameShadow(QtWidgets.QFrame.Raised) self.presence_docker_button_frame.setObjectName("presence_docker_button_frame") self.horizontalLayout = QtWidgets.QHBoxLayout(self.presence_docker_button_frame) self.horizontalLayout.setObjectName("horizontalLayout") self.create_presence_button = QtWidgets.QPushButton(self.presence_docker_button_frame) self.create_presence_button.setObjectName("create_presence_button") self.horizontalLayout.addWidget(self.create_presence_button) self.edit_presence_button = QtWidgets.QPushButton(self.presence_docker_button_frame) self.edit_presence_button.setObjectName("edit_presence_button") self.horizontalLayout.addWidget(self.edit_presence_button) self.delete_presence_button = QtWidgets.QPushButton(self.presence_docker_button_frame) self.delete_presence_button.setObjectName("delete_presence_button") self.horizontalLayout.addWidget(self.delete_presence_button) self.verticalLayout_2.addWidget(self.presence_docker_button_frame) self.verticalLayout.addWidget(self.frame) self.retranslateUi(presence_docker) QtCore.QMetaObject.connectSlotsByName(presence_docker) def retranslateUi(self, presence_docker): _translate = QtCore.QCoreApplication.translate presence_docker.setWindowTitle(_translate("presence_docker", "Form")) self.docker_topic_label.setText(_translate("presence_docker", "Author (Presence)")) self.search_author_label.setText(_translate("presence_docker", "Search Authors:")) self.name_label.setText(_translate("presence_docker", "Name:")) self.domain_label.setText(_translate("presence_docker", "Domain:")) self.selected_presence_label.setText(_translate("presence_docker", "Selected Presences:")) self.create_presence_button.setText(_translate("presence_docker", "Create Presence")) self.edit_presence_button.setText(_translate("presence_docker", "Edit Presence")) self.delete_presence_button.setText(_translate("presence_docker", "Delete Presence")) if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) presence_docker = QtWidgets.QWidget() ui = Ui_presence_docker() ui.setupUi(presence_docker) presence_docker.show() sys.exit(app.exec_())