Source code for src.visuals.ui.generated.ui_settings

# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'settings.ui'
##
## Created by: Qt User Interface Compiler version 6.10.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QAbstractButton, QApplication, QCheckBox, QComboBox,
    QDialog, QDialogButtonBox, QFormLayout, QHBoxLayout,
    QLabel, QLineEdit, QSizePolicy, QVBoxLayout,
    QWidget)

[docs] class Ui_settings_dialog(object):
[docs] def setupUi(self, settings_dialog): if not settings_dialog.objectName(): settings_dialog.setObjectName(u"settings_dialog") settings_dialog.resize(389, 220) settings_dialog.setMinimumSize(QSize(389, 220)) settings_dialog.setMaximumSize(QSize(389, 220)) self.verticalLayout = QVBoxLayout(settings_dialog) self.verticalLayout.setObjectName(u"verticalLayout") self.formLayout = QFormLayout() self.formLayout.setObjectName(u"formLayout") self.formLayout.setFieldGrowthPolicy(QFormLayout.FieldGrowthPolicy.AllNonFixedFieldsGrow) self.formLayout.setLabelAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter) self.formLayout.setFormAlignment(Qt.AlignmentFlag.AlignCenter) self.formLayout.setHorizontalSpacing(7) self.formLayout.setVerticalSpacing(0) self.formLayout.setContentsMargins(0, -1, -1, -1) self.label_old_patch = QLabel(settings_dialog) self.label_old_patch.setObjectName(u"label_old_patch") self.formLayout.setWidget(1, QFormLayout.ItemRole.LabelRole, self.label_old_patch) self.checkBox_old_patch = QCheckBox(settings_dialog) self.checkBox_old_patch.setObjectName(u"checkBox_old_patch") self.formLayout.setWidget(1, QFormLayout.ItemRole.FieldRole, self.checkBox_old_patch) self.label_mariadb_activated = QLabel(settings_dialog) self.label_mariadb_activated.setObjectName(u"label_mariadb_activated") self.formLayout.setWidget(2, QFormLayout.ItemRole.LabelRole, self.label_mariadb_activated) self.checkbox_mariadb_activated = QCheckBox(settings_dialog) self.checkbox_mariadb_activated.setObjectName(u"checkbox_mariadb_activated") self.checkbox_mariadb_activated.setText(u"") self.formLayout.setWidget(2, QFormLayout.ItemRole.FieldRole, self.checkbox_mariadb_activated) self.label_csv_path = QLabel(settings_dialog) self.label_csv_path.setObjectName(u"label_csv_path") self.formLayout.setWidget(3, QFormLayout.ItemRole.LabelRole, self.label_csv_path) self.lineEdit_csv_path = QLineEdit(settings_dialog) self.lineEdit_csv_path.setObjectName(u"lineEdit_csv_path") self.formLayout.setWidget(3, QFormLayout.ItemRole.FieldRole, self.lineEdit_csv_path) self.label_API = QLabel(settings_dialog) self.label_API.setObjectName(u"label_API") self.formLayout.setWidget(4, QFormLayout.ItemRole.LabelRole, self.label_API) self.lineEdit_API = QLineEdit(settings_dialog) self.lineEdit_API.setObjectName(u"lineEdit_API") self.formLayout.setWidget(4, QFormLayout.ItemRole.FieldRole, self.lineEdit_API) self.label_imported = QLabel(settings_dialog) self.label_imported.setObjectName(u"label_imported") self.formLayout.setWidget(5, QFormLayout.ItemRole.LabelRole, self.label_imported) self.comboBox_imported = QComboBox(settings_dialog) self.comboBox_imported.addItem("") self.comboBox_imported.addItem("") self.comboBox_imported.setObjectName(u"comboBox_imported") self.formLayout.setWidget(5, QFormLayout.ItemRole.FieldRole, self.comboBox_imported) self.label_V5 = QLabel(settings_dialog) self.label_V5.setObjectName(u"label_V5") self.formLayout.setWidget(0, QFormLayout.ItemRole.LabelRole, self.label_V5) self.checkBox_V5 = QCheckBox(settings_dialog) self.checkBox_V5.setObjectName(u"checkBox_V5") self.formLayout.setWidget(0, QFormLayout.ItemRole.FieldRole, self.checkBox_V5) self.verticalLayout.addLayout(self.formLayout) self.horizontalLayout = QHBoxLayout() self.horizontalLayout.setObjectName(u"horizontalLayout") self.settings_buttons = QDialogButtonBox(settings_dialog) self.settings_buttons.setObjectName(u"settings_buttons") self.settings_buttons.setOrientation(Qt.Orientation.Horizontal) self.settings_buttons.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok) self.horizontalLayout.addWidget(self.settings_buttons) self.verticalLayout.addLayout(self.horizontalLayout) self.retranslateUi(settings_dialog) self.settings_buttons.accepted.connect(settings_dialog.accept) self.settings_buttons.rejected.connect(settings_dialog.reject) QMetaObject.connectSlotsByName(settings_dialog)
# setupUi
[docs] def retranslateUi(self, settings_dialog): settings_dialog.setWindowTitle(QCoreApplication.translate("settings_dialog", u"settings", None)) self.label_old_patch.setText(QCoreApplication.translate("settings_dialog", u"activate old patch support", None)) self.checkBox_old_patch.setText("") self.label_mariadb_activated.setText(QCoreApplication.translate("settings_dialog", u"activate MariaDB integration", None)) self.label_csv_path.setText(QCoreApplication.translate("settings_dialog", u".csv directory (fallback to DB)", None)) self.label_API.setText(QCoreApplication.translate("settings_dialog", u"API KEY for riot games API", None)) self.label_imported.setText(QCoreApplication.translate("settings_dialog", u"Imported label", None)) self.comboBox_imported.setItemText(0, QCoreApplication.translate("settings_dialog", u"gameid", None)) self.comboBox_imported.setItemText(1, QCoreApplication.translate("settings_dialog", u"date", None)) self.label_V5.setText(QCoreApplication.translate("settings_dialog", u"Use V5 (instead of client)", None)) self.checkBox_V5.setText("")
# retranslateUi