Files
esl-reader/ui/Preferences.py
Christopher T. Johnson 793d758377 I18N Code Work done.
2024-02-14 10:02:27 -05:00

71 lines
4.0 KiB
Python

# Form implementation generated from reading ui file 'Preferences.ui'
#
# Created by: PyQt6 UI code generator 6.6.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_Preferences(object):
def setupUi(self, Preferences):
Preferences.setObjectName("Preferences")
Preferences.resize(601, 298)
self.verticalLayout = QtWidgets.QVBoxLayout(Preferences)
self.verticalLayout.setObjectName("verticalLayout")
self.formLayout = QtWidgets.QFormLayout()
self.formLayout.setObjectName("formLayout")
self.label = QtWidgets.QLabel(parent=Preferences)
self.label.setObjectName("label")
self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label)
self.readerCombo = QtWidgets.QFontComboBox(parent=Preferences)
self.readerCombo.setObjectName("readerCombo")
self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.FieldRole, self.readerCombo)
self.label_2 = QtWidgets.QLabel(parent=Preferences)
self.label_2.setObjectName("label_2")
self.formLayout.setWidget(2, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_2)
self.phoneticsCombo = QtWidgets.QFontComboBox(parent=Preferences)
self.phoneticsCombo.setObjectName("phoneticsCombo")
self.formLayout.setWidget(2, QtWidgets.QFormLayout.ItemRole.FieldRole, self.phoneticsCombo)
self.label_3 = QtWidgets.QLabel(parent=Preferences)
self.label_3.setObjectName("label_3")
self.formLayout.setWidget(3, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_3)
self.alertList = QtWidgets.QListWidget(parent=Preferences)
self.alertList.setObjectName("alertList")
self.formLayout.setWidget(3, QtWidgets.QFormLayout.ItemRole.FieldRole, self.alertList)
self.label_4 = QtWidgets.QLabel(parent=Preferences)
self.label_4.setObjectName("label_4")
self.formLayout.setWidget(4, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_4)
self.playerList = QtWidgets.QListWidget(parent=Preferences)
self.playerList.setObjectName("playerList")
self.formLayout.setWidget(4, QtWidgets.QFormLayout.ItemRole.FieldRole, self.playerList)
self.label_5 = QtWidgets.QLabel(parent=Preferences)
self.label_5.setObjectName("label_5")
self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_5)
self.languageCombo = QtWidgets.QComboBox(parent=Preferences)
self.languageCombo.setObjectName("languageCombo")
self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.languageCombo)
self.verticalLayout.addLayout(self.formLayout)
self.buttonBox = QtWidgets.QDialogButtonBox(parent=Preferences)
self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
self.buttonBox.setObjectName("buttonBox")
self.verticalLayout.addWidget(self.buttonBox)
self.retranslateUi(Preferences)
self.buttonBox.accepted.connect(Preferences.accept) # type: ignore
self.buttonBox.rejected.connect(Preferences.reject) # type: ignore
QtCore.QMetaObject.connectSlotsByName(Preferences)
def retranslateUi(self, Preferences):
_translate = QtCore.QCoreApplication.translate
Preferences.setWindowTitle(_translate("Preferences", "Dialog"))
self.label.setText(_translate("Preferences", "Reader"))
self.label_2.setText(_translate("Preferences", "Phonetics"))
self.label_3.setText(_translate("Preferences", "Alert Outputs"))
self.label_4.setText(_translate("Preferences", "Player Outputs"))
self.label_5.setText(_translate("Preferences", "Language"))
self.languageCombo.setPlaceholderText(_translate("Preferences", "English"))