# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'profiles.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, QComboBox, QDialog,
QDialogButtonBox, QFormLayout, QLabel, QLineEdit,
QSizePolicy, QVBoxLayout, QWidget)
[docs]
class Ui_Dialog(object):
[docs]
def setupUi(self, Dialog):
if not Dialog.objectName():
Dialog.setObjectName(u"Dialog")
Dialog.resize(400, 180)
Dialog.setMinimumSize(QSize(400, 180))
Dialog.setMaximumSize(QSize(400, 180))
self.verticalLayout = QVBoxLayout(Dialog)
self.verticalLayout.setObjectName(u"verticalLayout")
self.formLayout = QFormLayout()
self.formLayout.setObjectName(u"formLayout")
self.label_filemode = QLabel(Dialog)
self.label_filemode.setObjectName(u"label_filemode")
self.formLayout.setWidget(1, QFormLayout.ItemRole.LabelRole, self.label_filemode)
self.comboBox_filemode = QComboBox(Dialog)
self.comboBox_filemode.addItem("")
self.comboBox_filemode.addItem("")
self.comboBox_filemode.setObjectName(u"comboBox_filemode")
self.formLayout.setWidget(1, QFormLayout.ItemRole.FieldRole, self.comboBox_filemode)
self.label_gamefile = QLabel(Dialog)
self.label_gamefile.setObjectName(u"label_gamefile")
self.formLayout.setWidget(3, QFormLayout.ItemRole.LabelRole, self.label_gamefile)
self.comboBox_gamefile = QComboBox(Dialog)
self.comboBox_gamefile.addItem("")
self.comboBox_gamefile.addItem("")
self.comboBox_gamefile.setObjectName(u"comboBox_gamefile")
self.formLayout.setWidget(3, QFormLayout.ItemRole.FieldRole, self.comboBox_gamefile)
self.comboBox_connection = QComboBox(Dialog)
self.comboBox_connection.setObjectName(u"comboBox_connection")
self.formLayout.setWidget(2, QFormLayout.ItemRole.FieldRole, self.comboBox_connection)
self.label_connection = QLabel(Dialog)
self.label_connection.setObjectName(u"label_connection")
self.formLayout.setWidget(2, QFormLayout.ItemRole.LabelRole, self.label_connection)
self.label_name = QLabel(Dialog)
self.label_name.setObjectName(u"label_name")
self.formLayout.setWidget(0, QFormLayout.ItemRole.LabelRole, self.label_name)
self.lineEdit_profilename = QLineEdit(Dialog)
self.lineEdit_profilename.setObjectName(u"lineEdit_profilename")
self.formLayout.setWidget(0, QFormLayout.ItemRole.FieldRole, self.lineEdit_profilename)
self.verticalLayout.addLayout(self.formLayout)
self.buttonBox = QDialogButtonBox(Dialog)
self.buttonBox.setObjectName(u"buttonBox")
self.buttonBox.setOrientation(Qt.Orientation.Horizontal)
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
self.verticalLayout.addWidget(self.buttonBox)
self.retranslateUi(Dialog)
self.buttonBox.accepted.connect(Dialog.accept)
self.buttonBox.rejected.connect(Dialog.reject)
self.comboBox_filemode.setCurrentIndex(0)
self.comboBox_gamefile.setCurrentIndex(1)
QMetaObject.connectSlotsByName(Dialog)
# setupUi
[docs]
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"Dialog", None))
self.label_filemode.setText(QCoreApplication.translate("Dialog", u"File Save Mode:", None))
self.comboBox_filemode.setItemText(0, QCoreApplication.translate("Dialog", u"csv", None))
self.comboBox_filemode.setItemText(1, QCoreApplication.translate("Dialog", u"db", None))
self.label_gamefile.setText(QCoreApplication.translate("Dialog", u"Matchfile Format:", None))
self.comboBox_gamefile.setItemText(0, QCoreApplication.translate("Dialog", u"matchv5", None))
self.comboBox_gamefile.setItemText(1, QCoreApplication.translate("Dialog", u"client", None))
self.label_connection.setText(QCoreApplication.translate("Dialog", u"Name of the Connection:", None))
self.label_name.setText(QCoreApplication.translate("Dialog", u"Profile Name:", None))
# retranslateUi