# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'maria_dialog.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, QDialog,
QDialogButtonBox, QFormLayout, QGroupBox, QHBoxLayout,
QLabel, QLineEdit, QPushButton, QSizePolicy,
QVBoxLayout, QWidget)
[docs]
class Ui_Dialog(object):
[docs]
def setupUi(self, Dialog):
if not Dialog.objectName():
Dialog.setObjectName(u"Dialog")
Dialog.resize(392, 350)
Dialog.setMinimumSize(QSize(392, 350))
Dialog.setMaximumSize(QSize(392, 350))
self.verticalLayout = QVBoxLayout(Dialog)
self.verticalLayout.setObjectName(u"verticalLayout")
self.group_activate = QGroupBox(Dialog)
self.group_activate.setObjectName(u"group_activate")
self.verticalLayout_3 = QVBoxLayout(self.group_activate)
self.verticalLayout_3.setObjectName(u"verticalLayout_3")
self.checkBox_maria = QCheckBox(self.group_activate)
self.checkBox_maria.setObjectName(u"checkBox_maria")
self.checkBox_maria.setMaximumSize(QSize(300, 500))
self.verticalLayout_3.addWidget(self.checkBox_maria)
self.verticalLayout.addWidget(self.group_activate)
self.group_connect = QGroupBox(Dialog)
self.group_connect.setObjectName(u"group_connect")
self.verticalLayout_2 = QVBoxLayout(self.group_connect)
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
self.lineEdit = QLineEdit(self.group_connect)
self.lineEdit.setObjectName(u"lineEdit")
self.verticalLayout_2.addWidget(self.lineEdit)
self.formLayout = QFormLayout()
self.formLayout.setObjectName(u"formLayout")
self.formLayout.setFieldGrowthPolicy(QFormLayout.FieldGrowthPolicy.AllNonFixedFieldsGrow)
self.formLayout.setLabelAlignment(Qt.AlignmentFlag.AlignCenter)
self.formLayout.setFormAlignment(Qt.AlignmentFlag.AlignCenter)
self.formLayout.setHorizontalSpacing(7)
self.formLayout.setVerticalSpacing(2)
self.formLayout.setContentsMargins(0, -1, -1, -1)
self.label_adress = QLabel(self.group_connect)
self.label_adress.setObjectName(u"label_adress")
self.formLayout.setWidget(0, QFormLayout.ItemRole.LabelRole, self.label_adress)
self.lineEdit_adress = QLineEdit(self.group_connect)
self.lineEdit_adress.setObjectName(u"lineEdit_adress")
self.formLayout.setWidget(0, QFormLayout.ItemRole.FieldRole, self.lineEdit_adress)
self.label_port = QLabel(self.group_connect)
self.label_port.setObjectName(u"label_port")
self.formLayout.setWidget(1, QFormLayout.ItemRole.LabelRole, self.label_port)
self.label_un = QLabel(self.group_connect)
self.label_un.setObjectName(u"label_un")
self.formLayout.setWidget(2, QFormLayout.ItemRole.LabelRole, self.label_un)
self.lineEdit_un = QLineEdit(self.group_connect)
self.lineEdit_un.setObjectName(u"lineEdit_un")
self.formLayout.setWidget(2, QFormLayout.ItemRole.FieldRole, self.lineEdit_un)
self.label_pw = QLabel(self.group_connect)
self.label_pw.setObjectName(u"label_pw")
self.formLayout.setWidget(3, QFormLayout.ItemRole.LabelRole, self.label_pw)
self.lineEdit_pw = QLineEdit(self.group_connect)
self.lineEdit_pw.setObjectName(u"lineEdit_pw")
self.formLayout.setWidget(3, QFormLayout.ItemRole.FieldRole, self.lineEdit_pw)
self.label_db = QLabel(self.group_connect)
self.label_db.setObjectName(u"label_db")
self.formLayout.setWidget(4, QFormLayout.ItemRole.LabelRole, self.label_db)
self.lineEdit_db = QLineEdit(self.group_connect)
self.lineEdit_db.setObjectName(u"lineEdit_db")
self.formLayout.setWidget(4, QFormLayout.ItemRole.FieldRole, self.lineEdit_db)
self.lineEdit_port = QLineEdit(self.group_connect)
self.lineEdit_port.setObjectName(u"lineEdit_port")
self.formLayout.setWidget(1, QFormLayout.ItemRole.FieldRole, self.lineEdit_port)
self.verticalLayout_2.addLayout(self.formLayout)
self.horizontalLayout = QHBoxLayout()
self.horizontalLayout.setObjectName(u"horizontalLayout")
self.pushButton_connection = QPushButton(self.group_connect)
self.pushButton_connection.setObjectName(u"pushButton_connection")
self.horizontalLayout.addWidget(self.pushButton_connection)
self.pushButton_add = QPushButton(self.group_connect)
self.pushButton_add.setObjectName(u"pushButton_add")
self.horizontalLayout.addWidget(self.pushButton_add)
self.verticalLayout_2.addLayout(self.horizontalLayout)
self.verticalLayout.addWidget(self.group_connect)
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)
QMetaObject.connectSlotsByName(Dialog)
# setupUi
[docs]
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"MariaDB configuration", None))
self.group_activate.setTitle(QCoreApplication.translate("Dialog", u"General:", None))
self.checkBox_maria.setText(QCoreApplication.translate("Dialog", u"Activate MariaDB Support", None))
self.group_connect.setTitle(QCoreApplication.translate("Dialog", u"Add Connection:", None))
self.lineEdit.setPlaceholderText(QCoreApplication.translate("Dialog", u"Name of the connection", None))
self.label_adress.setText(QCoreApplication.translate("Dialog", u"Server Adress", None))
self.label_port.setText(QCoreApplication.translate("Dialog", u"Port", None))
self.label_un.setText(QCoreApplication.translate("Dialog", u"Username", None))
self.label_pw.setText(QCoreApplication.translate("Dialog", u"Password", None))
self.label_db.setText(QCoreApplication.translate("Dialog", u"Database", None))
self.lineEdit_port.setText("")
self.pushButton_connection.setText(QCoreApplication.translate("Dialog", u"Connect", None))
self.pushButton_add.setText(QCoreApplication.translate("Dialog", u"Add to profiles", None))
# retranslateUi