UI-Dateien für "kleine" Dialoge erstellt

This commit is contained in:
2025-06-13 21:05:26 +02:00
parent 96fa6cb8aa
commit 6779b96b83
11 changed files with 1121 additions and 185 deletions
+86
View File
@@ -0,0 +1,86 @@
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'XslDirConfigDialog.ui'
##
## Created by: Qt User Interface Compiler version 6.9.0
##
## 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, QDialog, QDialogButtonBox,
QFormLayout, QHBoxLayout, QLabel, QLineEdit,
QPushButton, QSizePolicy, QVBoxLayout, QWidget)
class Ui_XslDirConfigDialog(object):
def setupUi(self, XslDirConfigDialog):
if not XslDirConfigDialog.objectName():
XslDirConfigDialog.setObjectName(u"XslDirConfigDialog")
XslDirConfigDialog.resize(500, 103)
XslDirConfigDialog.setModal(True)
self.verticalLayout = QVBoxLayout(XslDirConfigDialog)
self.verticalLayout.setObjectName(u"verticalLayout")
self.formLayout = QFormLayout()
self.formLayout.setObjectName(u"formLayout")
self.nameLabel = QLabel(XslDirConfigDialog)
self.nameLabel.setObjectName(u"nameLabel")
self.formLayout.setWidget(0, QFormLayout.ItemRole.LabelRole, self.nameLabel)
self.nameEdit = QLineEdit(XslDirConfigDialog)
self.nameEdit.setObjectName(u"nameEdit")
self.formLayout.setWidget(0, QFormLayout.ItemRole.FieldRole, self.nameEdit)
self.pathLabel = QLabel(XslDirConfigDialog)
self.pathLabel.setObjectName(u"pathLabel")
self.formLayout.setWidget(1, QFormLayout.ItemRole.LabelRole, self.pathLabel)
self.pathLayout = QHBoxLayout()
self.pathLayout.setObjectName(u"pathLayout")
self.pathEdit = QLineEdit(XslDirConfigDialog)
self.pathEdit.setObjectName(u"pathEdit")
self.pathLayout.addWidget(self.pathEdit)
self.browseButton = QPushButton(XslDirConfigDialog)
self.browseButton.setObjectName(u"browseButton")
self.pathLayout.addWidget(self.browseButton)
self.formLayout.setLayout(1, QFormLayout.ItemRole.FieldRole, self.pathLayout)
self.verticalLayout.addLayout(self.formLayout)
self.buttonBox = QDialogButtonBox(XslDirConfigDialog)
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(XslDirConfigDialog)
self.buttonBox.accepted.connect(XslDirConfigDialog.accept)
self.buttonBox.rejected.connect(XslDirConfigDialog.reject)
QMetaObject.connectSlotsByName(XslDirConfigDialog)
# setupUi
def retranslateUi(self, XslDirConfigDialog):
XslDirConfigDialog.setWindowTitle(QCoreApplication.translate("XslDirConfigDialog", u"XSL-Verzeichnis Konfiguration", None))
self.nameLabel.setText(QCoreApplication.translate("XslDirConfigDialog", u"Name:", None))
self.pathLabel.setText(QCoreApplication.translate("XslDirConfigDialog", u"Pfad zum Root-Verzeichnis:", None))
self.browseButton.setText(QCoreApplication.translate("XslDirConfigDialog", u"Durchsuchen...", None))
# retranslateUi