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.
102 lines
5.0 KiB
Python
102 lines
5.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'dialogs/artist_modify_dialog/artist_modify_dialog.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.15.0
|
|
#
|
|
# 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_Mod_Dialog(object):
|
|
def setupUi(self, Artist_Mod_Dialog):
|
|
Artist_Mod_Dialog.setObjectName("Artist_Mod_Dialog")
|
|
Artist_Mod_Dialog.resize(311, 205)
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(Artist_Mod_Dialog)
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.dialog_frame = QtWidgets.QFrame(Artist_Mod_Dialog)
|
|
self.dialog_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.dialog_frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.dialog_frame.setObjectName("dialog_frame")
|
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.dialog_frame)
|
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
self.dialog_topic = QtWidgets.QLabel(self.dialog_frame)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.dialog_topic.sizePolicy().hasHeightForWidth())
|
|
self.dialog_topic.setSizePolicy(sizePolicy)
|
|
font = QtGui.QFont()
|
|
font.setPointSize(11)
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.dialog_topic.setFont(font)
|
|
self.dialog_topic.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.dialog_topic.setObjectName("dialog_topic")
|
|
self.verticalLayout_2.addWidget(self.dialog_topic)
|
|
self.frame = QtWidgets.QFrame(self.dialog_frame)
|
|
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.frame.setObjectName("frame")
|
|
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.frame)
|
|
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
|
self.id_label = QtWidgets.QLabel(self.frame)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.id_label.sizePolicy().hasHeightForWidth())
|
|
self.id_label.setSizePolicy(sizePolicy)
|
|
self.id_label.setObjectName("id_label")
|
|
self.verticalLayout_5.addWidget(self.id_label)
|
|
self.id_layout = QtWidgets.QVBoxLayout()
|
|
self.id_layout.setObjectName("id_layout")
|
|
self.id_spinbox = QtWidgets.QDoubleSpinBox(self.frame)
|
|
self.id_spinbox.setDecimals(0)
|
|
self.id_spinbox.setMaximum(10000.0)
|
|
self.id_spinbox.setObjectName("id_spinbox")
|
|
self.id_layout.addWidget(self.id_spinbox)
|
|
self.verticalLayout_5.addLayout(self.id_layout)
|
|
self.description_label = QtWidgets.QLabel(self.frame)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.description_label.sizePolicy().hasHeightForWidth())
|
|
self.description_label.setSizePolicy(sizePolicy)
|
|
self.description_label.setObjectName("description_label")
|
|
self.verticalLayout_5.addWidget(self.description_label)
|
|
self.description_line = QtWidgets.QLineEdit(self.frame)
|
|
self.description_line.setObjectName("description_line")
|
|
self.verticalLayout_5.addWidget(self.description_line)
|
|
self.verticalLayout_2.addWidget(self.frame)
|
|
self.verticalLayout.addWidget(self.dialog_frame)
|
|
self.buttonBox = QtWidgets.QDialogButtonBox(Artist_Mod_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(Artist_Mod_Dialog)
|
|
self.buttonBox.accepted.connect(Artist_Mod_Dialog.accept)
|
|
self.buttonBox.rejected.connect(Artist_Mod_Dialog.reject)
|
|
QtCore.QMetaObject.connectSlotsByName(Artist_Mod_Dialog)
|
|
|
|
def retranslateUi(self, Artist_Mod_Dialog):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
Artist_Mod_Dialog.setWindowTitle(_translate("Artist_Mod_Dialog", "Dialog"))
|
|
self.dialog_topic.setText(_translate("Artist_Mod_Dialog", "Artist Topic"))
|
|
self.id_label.setText(_translate("Artist_Mod_Dialog", "Artist ID:"))
|
|
self.description_label.setText(_translate("Artist_Mod_Dialog", "Artist Description:"))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
import sys
|
|
app = QtWidgets.QApplication(sys.argv)
|
|
Artist_Mod_Dialog = QtWidgets.QDialog()
|
|
ui = Ui_Artist_Mod_Dialog()
|
|
ui.setupUi(Artist_Mod_Dialog)
|
|
Artist_Mod_Dialog.show()
|
|
sys.exit(app.exec_())
|