Sampled Instrument Player with static and monolithic design. All instruments are built-in.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

150 lines
8.6 KiB

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'about.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_TemplateAbout(object):
def setupUi(self, TemplateAbout):
TemplateAbout.setObjectName("TemplateAbout")
TemplateAbout.resize(374, 436)
TemplateAbout.setMinimumSize(QtCore.QSize(374, 436))
TemplateAbout.setMaximumSize(QtCore.QSize(374, 436))
self.verticalLayout = QtWidgets.QVBoxLayout(TemplateAbout)
self.verticalLayout.setObjectName("verticalLayout")
self.widget = QtWidgets.QWidget(TemplateAbout)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
self.widget.setSizePolicy(sizePolicy)
self.widget.setMinimumSize(QtCore.QSize(0, 151))
self.widget.setMaximumSize(QtCore.QSize(16777215, 151))
self.widget.setObjectName("widget")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.widget)
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.goldenratioLabel = QtWidgets.QLabel(self.widget)
self.goldenratioLabel.setMinimumSize(QtCore.QSize(300, 151))
self.goldenratioLabel.setMaximumSize(QtCore.QSize(300, 151))
self.goldenratioLabel.setText("")
self.goldenratioLabel.setAlignment(QtCore.Qt.AlignCenter)
self.goldenratioLabel.setObjectName("goldenratioLabel")
self.horizontalLayout_3.addWidget(self.goldenratioLabel)
self.verticalLayout.addWidget(self.widget)
self.layoutWidget = QtWidgets.QWidget(TemplateAbout)
self.layoutWidget.setObjectName("layoutWidget")
self.formLayout = QtWidgets.QFormLayout(self.layoutWidget)
self.formLayout.setContentsMargins(-1, -1, -1, 0)
self.formLayout.setObjectName("formLayout")
self.frame_2 = QtWidgets.QFrame(self.layoutWidget)
self.frame_2.setMinimumSize(QtCore.QSize(0, 0))
self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame)
self.frame_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.frame_2.setLineWidth(0)
self.frame_2.setObjectName("frame_2")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_2)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.numberLabel = QtWidgets.QLabel(self.frame_2)
self.numberLabel.setText("Trick 0/10")
self.numberLabel.setObjectName("numberLabel")
self.horizontalLayout.addWidget(self.numberLabel)
self.numberSlider = QtWidgets.QSlider(self.frame_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.numberSlider.sizePolicy().hasHeightForWidth())
self.numberSlider.setSizePolicy(sizePolicy)
self.numberSlider.setFocusPolicy(QtCore.Qt.ClickFocus)
self.numberSlider.setOrientation(QtCore.Qt.Horizontal)
self.numberSlider.setObjectName("numberSlider")
self.horizontalLayout.addWidget(self.numberSlider)
self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.frame_2)
self.groupBox = QtWidgets.QGroupBox(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
self.groupBox.setSizePolicy(sizePolicy)
self.groupBox.setMinimumSize(QtCore.QSize(0, 150))
self.groupBox.setMaximumSize(QtCore.QSize(16777215, 150))
self.groupBox.setObjectName("groupBox")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.didyouknowLabel = QtWidgets.QLabel(self.groupBox)
self.didyouknowLabel.setText("This is an example text. If it gets too long you get line breaks.")
self.didyouknowLabel.setWordWrap(True)
self.didyouknowLabel.setOpenExternalLinks(True)
self.didyouknowLabel.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
self.didyouknowLabel.setObjectName("didyouknowLabel")
self.verticalLayout_2.addWidget(self.didyouknowLabel)
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_2.addItem(spacerItem)
self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.groupBox)
self.verticalLayout.addWidget(self.layoutWidget)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setContentsMargins(-1, 0, -1, -1)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.showOnStartup = QtWidgets.QCheckBox(TemplateAbout)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.showOnStartup.sizePolicy().hasHeightForWidth())
self.showOnStartup.setSizePolicy(sizePolicy)
self.showOnStartup.setFocusPolicy(QtCore.Qt.ClickFocus)
self.showOnStartup.setChecked(True)
self.showOnStartup.setObjectName("showOnStartup")
self.horizontalLayout_2.addWidget(self.showOnStartup)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem1)
self.closeButton = QtWidgets.QDialogButtonBox(TemplateAbout)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.closeButton.sizePolicy().hasHeightForWidth())
self.closeButton.setSizePolicy(sizePolicy)
self.closeButton.setFocusPolicy(QtCore.Qt.WheelFocus)
self.closeButton.setOrientation(QtCore.Qt.Horizontal)
self.closeButton.setStandardButtons(QtWidgets.QDialogButtonBox.Close)
self.closeButton.setCenterButtons(False)
self.closeButton.setObjectName("closeButton")
self.horizontalLayout_2.addWidget(self.closeButton)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.widget_2 = QtWidgets.QWidget(TemplateAbout)
self.widget_2.setObjectName("widget_2")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.widget_2)
self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_4.setSpacing(0)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.aboutLabel = QtWidgets.QLabel(self.widget_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.aboutLabel.sizePolicy().hasHeightForWidth())
self.aboutLabel.setSizePolicy(sizePolicy)
self.aboutLabel.setText("Laborejo URL and other Data will be displayed here")
self.aboutLabel.setTextFormat(QtCore.Qt.AutoText)
self.aboutLabel.setAlignment(QtCore.Qt.AlignCenter)
self.aboutLabel.setWordWrap(True)
self.aboutLabel.setOpenExternalLinks(True)
self.aboutLabel.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
self.aboutLabel.setObjectName("aboutLabel")
self.horizontalLayout_4.addWidget(self.aboutLabel)
self.verticalLayout.addWidget(self.widget_2)
self.retranslateUi(TemplateAbout)
self.closeButton.accepted.connect(TemplateAbout.accept)
self.closeButton.rejected.connect(TemplateAbout.reject)
QtCore.QMetaObject.connectSlotsByName(TemplateAbout)
def retranslateUi(self, TemplateAbout):
_translate = QtCore.QCoreApplication.translate
TemplateAbout.setWindowTitle(_translate("TemplateAbout", "About"))
self.groupBox.setTitle(_translate("TemplateAbout", "Did you know...?"))
self.showOnStartup.setText(_translate("TemplateAbout", "show on startup"))