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.
174 lines
9.9 KiB
Python
174 lines
9.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'dockers/topic/artist_topic_docker.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_artist_docker(object):
|
|
def setupUi(self, artist_docker):
|
|
artist_docker.setObjectName("artist_docker")
|
|
artist_docker.resize(369, 735)
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(artist_docker)
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.frame = QtWidgets.QFrame(artist_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_artist_frame = QtWidgets.QFrame(self.frame)
|
|
self.search_artist_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.search_artist_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.search_artist_frame.setObjectName("search_artist_frame")
|
|
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.search_artist_frame)
|
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
|
self.search_artist_name_frame = QtWidgets.QFrame(self.search_artist_frame)
|
|
self.search_artist_name_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.search_artist_name_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.search_artist_name_frame.setObjectName("search_artist_name_frame")
|
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.search_artist_name_frame)
|
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
|
self.search_artist_name_label = QtWidgets.QLabel(self.search_artist_name_frame)
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.search_artist_name_label.setFont(font)
|
|
self.search_artist_name_label.setObjectName("search_artist_name_label")
|
|
self.verticalLayout_3.addWidget(self.search_artist_name_label)
|
|
self.search_artist_name_line = QtWidgets.QLineEdit(self.search_artist_name_frame)
|
|
self.search_artist_name_line.setObjectName("search_artist_name_line")
|
|
self.verticalLayout_3.addWidget(self.search_artist_name_line)
|
|
self.verticalLayout_4.addWidget(self.search_artist_name_frame)
|
|
self.search_artist_list = QtWidgets.QListView(self.search_artist_frame)
|
|
self.search_artist_list.setObjectName("search_artist_list")
|
|
self.verticalLayout_4.addWidget(self.search_artist_list)
|
|
self.selected_artist_label = QtWidgets.QLabel(self.search_artist_frame)
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.selected_artist_label.setFont(font)
|
|
self.selected_artist_label.setObjectName("selected_artist_label")
|
|
self.verticalLayout_4.addWidget(self.selected_artist_label)
|
|
self.selected_artist_frame = QtWidgets.QFrame(self.search_artist_frame)
|
|
self.selected_artist_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.selected_artist_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.selected_artist_frame.setObjectName("selected_artist_frame")
|
|
self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.selected_artist_frame)
|
|
self.verticalLayout_6.setObjectName("verticalLayout_6")
|
|
self.selected_artist_box = QtWidgets.QCheckBox(self.selected_artist_frame)
|
|
self.selected_artist_box.setObjectName("selected_artist_box")
|
|
self.verticalLayout_6.addWidget(self.selected_artist_box)
|
|
self.selected_artist_topic_list = QtWidgets.QListView(self.selected_artist_frame)
|
|
self.selected_artist_topic_list.setObjectName("selected_artist_topic_list")
|
|
self.verticalLayout_6.addWidget(self.selected_artist_topic_list)
|
|
self.verticalLayout_4.addWidget(self.selected_artist_frame)
|
|
self.verticalLayout_2.addWidget(self.search_artist_frame)
|
|
self.search_topic_frame = QtWidgets.QFrame(self.frame)
|
|
self.search_topic_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.search_topic_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.search_topic_frame.setObjectName("search_topic_frame")
|
|
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.search_topic_frame)
|
|
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
|
self.topic_label = QtWidgets.QLabel(self.search_topic_frame)
|
|
font = QtGui.QFont()
|
|
font.setPointSize(13)
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.topic_label.setFont(font)
|
|
self.topic_label.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.topic_label.setObjectName("topic_label")
|
|
self.verticalLayout_5.addWidget(self.topic_label)
|
|
self.search_topic_name_frame = QtWidgets.QFrame(self.search_topic_frame)
|
|
self.search_topic_name_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.search_topic_name_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.search_topic_name_frame.setObjectName("search_topic_name_frame")
|
|
self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.search_topic_name_frame)
|
|
self.verticalLayout_7.setObjectName("verticalLayout_7")
|
|
self.search_topic_name_label = QtWidgets.QLabel(self.search_topic_name_frame)
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.search_topic_name_label.setFont(font)
|
|
self.search_topic_name_label.setObjectName("search_topic_name_label")
|
|
self.verticalLayout_7.addWidget(self.search_topic_name_label)
|
|
self.search_topic_name_line = QtWidgets.QLineEdit(self.search_topic_name_frame)
|
|
self.search_topic_name_line.setObjectName("search_topic_name_line")
|
|
self.verticalLayout_7.addWidget(self.search_topic_name_line)
|
|
self.verticalLayout_5.addWidget(self.search_topic_name_frame)
|
|
self.selected_topic_label = QtWidgets.QLabel(self.search_topic_frame)
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.selected_topic_label.setFont(font)
|
|
self.selected_topic_label.setObjectName("selected_topic_label")
|
|
self.verticalLayout_5.addWidget(self.selected_topic_label)
|
|
self.selected_topic_list = QtWidgets.QListView(self.search_topic_frame)
|
|
self.selected_topic_list.setObjectName("selected_topic_list")
|
|
self.verticalLayout_5.addWidget(self.selected_topic_list)
|
|
self.topic_button_frame = QtWidgets.QFrame(self.search_topic_frame)
|
|
self.topic_button_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.topic_button_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.topic_button_frame.setObjectName("topic_button_frame")
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout(self.topic_button_frame)
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
self.create_topic_button = QtWidgets.QPushButton(self.topic_button_frame)
|
|
self.create_topic_button.setObjectName("create_topic_button")
|
|
self.horizontalLayout.addWidget(self.create_topic_button)
|
|
self.edit_topic_button = QtWidgets.QPushButton(self.topic_button_frame)
|
|
self.edit_topic_button.setObjectName("edit_topic_button")
|
|
self.horizontalLayout.addWidget(self.edit_topic_button)
|
|
self.delete_topic_button = QtWidgets.QPushButton(self.topic_button_frame)
|
|
self.delete_topic_button.setObjectName("delete_topic_button")
|
|
self.horizontalLayout.addWidget(self.delete_topic_button)
|
|
self.verticalLayout_5.addWidget(self.topic_button_frame)
|
|
self.verticalLayout_2.addWidget(self.search_topic_frame)
|
|
self.verticalLayout.addWidget(self.frame)
|
|
|
|
self.retranslateUi(artist_docker)
|
|
QtCore.QMetaObject.connectSlotsByName(artist_docker)
|
|
|
|
def retranslateUi(self, artist_docker):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
artist_docker.setWindowTitle(_translate("artist_docker", "Form"))
|
|
self.docker_topic_label.setText(_translate("artist_docker", "Artist"))
|
|
self.search_artist_name_label.setText(_translate("artist_docker", "Name:"))
|
|
self.selected_artist_label.setText(_translate("artist_docker", "Selected Artist:"))
|
|
self.selected_artist_box.setText(_translate("artist_docker", "artist_name #ID"))
|
|
self.topic_label.setText(_translate("artist_docker", "Topic"))
|
|
self.search_topic_name_label.setText(_translate("artist_docker", "Name:"))
|
|
self.selected_topic_label.setText(_translate("artist_docker", "Selected Topics:"))
|
|
self.create_topic_button.setText(_translate("artist_docker", "Create Topic"))
|
|
self.edit_topic_button.setText(_translate("artist_docker", "Edit Topic"))
|
|
self.delete_topic_button.setText(_translate("artist_docker", "Delete Topic"))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
import sys
|
|
app = QtWidgets.QApplication(sys.argv)
|
|
artist_docker = QtWidgets.QWidget()
|
|
ui = Ui_artist_docker()
|
|
ui.setupUi(artist_docker)
|
|
artist_docker.show()
|
|
sys.exit(app.exec_())
|