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
+100
View File
@@ -0,0 +1,100 @@
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'ApacheFopConfigDialog.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, QLayout,
QLineEdit, QPushButton, QSizePolicy, QVBoxLayout,
QWidget)
class Ui_ApacheFopConfigDialog(object):
def setupUi(self, ApacheFopConfigDialog):
if not ApacheFopConfigDialog.objectName():
ApacheFopConfigDialog.setObjectName(u"ApacheFopConfigDialog")
ApacheFopConfigDialog.resize(500, 130)
ApacheFopConfigDialog.setModal(True)
self.verticalLayout = QVBoxLayout(ApacheFopConfigDialog)
self.verticalLayout.setObjectName(u"verticalLayout")
self.formLayout = QFormLayout()
self.formLayout.setObjectName(u"formLayout")
self.formLayout.setSizeConstraint(QLayout.SizeConstraint.SetMaximumSize)
self.versionLabel = QLabel(ApacheFopConfigDialog)
self.versionLabel.setObjectName(u"versionLabel")
self.formLayout.setWidget(0, QFormLayout.ItemRole.LabelRole, self.versionLabel)
self.versionEdit = QLineEdit(ApacheFopConfigDialog)
self.versionEdit.setObjectName(u"versionEdit")
self.formLayout.setWidget(0, QFormLayout.ItemRole.FieldRole, self.versionEdit)
self.pathLabel = QLabel(ApacheFopConfigDialog)
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(ApacheFopConfigDialog)
self.pathEdit.setObjectName(u"pathEdit")
self.pathLayout.addWidget(self.pathEdit)
self.browseButton = QPushButton(ApacheFopConfigDialog)
self.browseButton.setObjectName(u"browseButton")
self.pathLayout.addWidget(self.browseButton)
self.formLayout.setLayout(1, QFormLayout.ItemRole.FieldRole, self.pathLayout)
self.extensionLabel = QLabel(ApacheFopConfigDialog)
self.extensionLabel.setObjectName(u"extensionLabel")
self.formLayout.setWidget(2, QFormLayout.ItemRole.LabelRole, self.extensionLabel)
self.extensionEdit = QLineEdit(ApacheFopConfigDialog)
self.extensionEdit.setObjectName(u"extensionEdit")
self.formLayout.setWidget(2, QFormLayout.ItemRole.FieldRole, self.extensionEdit)
self.verticalLayout.addLayout(self.formLayout)
self.buttonBox = QDialogButtonBox(ApacheFopConfigDialog)
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(ApacheFopConfigDialog)
self.buttonBox.accepted.connect(ApacheFopConfigDialog.accept)
self.buttonBox.rejected.connect(ApacheFopConfigDialog.reject)
QMetaObject.connectSlotsByName(ApacheFopConfigDialog)
# setupUi
def retranslateUi(self, ApacheFopConfigDialog):
ApacheFopConfigDialog.setWindowTitle(QCoreApplication.translate("ApacheFopConfigDialog", u"Apache FOP Konfiguration", None))
self.versionLabel.setText(QCoreApplication.translate("ApacheFopConfigDialog", u"Version:", None))
self.pathLabel.setText(QCoreApplication.translate("ApacheFopConfigDialog", u" FOP-Verzeichnis:", None))
self.browseButton.setText(QCoreApplication.translate("ApacheFopConfigDialog", u"Durchsuchen...", None))
self.extensionLabel.setText(QCoreApplication.translate("ApacheFopConfigDialog", u"Output-Dateierweiterung:", None))
self.extensionEdit.setText(QCoreApplication.translate("ApacheFopConfigDialog", u"pdf", None))
# retranslateUi