Feat: Projektweite XSLT-Parameter mit Vererbungshierarchie (v1.4.0)
Ermöglicht die Definition von XSLT-Parametern auf Projektebene, die als Basis für alle Transformationen dienen und von TreeNode- bzw. XslFile- Parametern überschrieben werden können (Projekt < TreeNode < XslFile). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,106 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'ProjectXsltParamsDialog.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, QDialog, QDialogButtonBox,
|
||||
QFrame, QGroupBox, QHBoxLayout, QHeaderView,
|
||||
QPushButton, QSizePolicy, QSpacerItem, QTableWidget,
|
||||
QTableWidgetItem, QVBoxLayout, QWidget)
|
||||
|
||||
class Ui_ProjectXsltParamsDialog(object):
|
||||
def setupUi(self, ProjectXsltParamsDialog):
|
||||
if not ProjectXsltParamsDialog.objectName():
|
||||
ProjectXsltParamsDialog.setObjectName(u"ProjectXsltParamsDialog")
|
||||
ProjectXsltParamsDialog.resize(600, 400)
|
||||
ProjectXsltParamsDialog.setModal(True)
|
||||
self.verticalLayout = QVBoxLayout(ProjectXsltParamsDialog)
|
||||
self.verticalLayout.setObjectName(u"verticalLayout")
|
||||
self.xsltParamsGroupBox = QGroupBox(ProjectXsltParamsDialog)
|
||||
self.xsltParamsGroupBox.setObjectName(u"xsltParamsGroupBox")
|
||||
self.xsltParamsLayout = QVBoxLayout(self.xsltParamsGroupBox)
|
||||
self.xsltParamsLayout.setObjectName(u"xsltParamsLayout")
|
||||
self.xsltParamsLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.xsltParamsTable = QTableWidget(self.xsltParamsGroupBox)
|
||||
if (self.xsltParamsTable.columnCount() < 2):
|
||||
self.xsltParamsTable.setColumnCount(2)
|
||||
__qtablewidgetitem = QTableWidgetItem()
|
||||
self.xsltParamsTable.setHorizontalHeaderItem(0, __qtablewidgetitem)
|
||||
__qtablewidgetitem1 = QTableWidgetItem()
|
||||
self.xsltParamsTable.setHorizontalHeaderItem(1, __qtablewidgetitem1)
|
||||
self.xsltParamsTable.setObjectName(u"xsltParamsTable")
|
||||
self.xsltParamsTable.setFrameShape(QFrame.Shape.NoFrame)
|
||||
self.xsltParamsTable.setColumnCount(2)
|
||||
self.xsltParamsTable.horizontalHeader().setVisible(True)
|
||||
|
||||
self.xsltParamsLayout.addWidget(self.xsltParamsTable)
|
||||
|
||||
self.xsltParamsButtonLayout = QHBoxLayout()
|
||||
self.xsltParamsButtonLayout.setObjectName(u"xsltParamsButtonLayout")
|
||||
self.horizontalSpacer_left = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
||||
|
||||
self.xsltParamsButtonLayout.addItem(self.horizontalSpacer_left)
|
||||
|
||||
self.addParamButton = QPushButton(self.xsltParamsGroupBox)
|
||||
self.addParamButton.setObjectName(u"addParamButton")
|
||||
icon = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.ListAdd))
|
||||
self.addParamButton.setIcon(icon)
|
||||
|
||||
self.xsltParamsButtonLayout.addWidget(self.addParamButton)
|
||||
|
||||
self.removeParamButton = QPushButton(self.xsltParamsGroupBox)
|
||||
self.removeParamButton.setObjectName(u"removeParamButton")
|
||||
icon1 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.ListRemove))
|
||||
self.removeParamButton.setIcon(icon1)
|
||||
|
||||
self.xsltParamsButtonLayout.addWidget(self.removeParamButton)
|
||||
|
||||
self.horizontalSpacer_right = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
||||
|
||||
self.xsltParamsButtonLayout.addItem(self.horizontalSpacer_right)
|
||||
|
||||
|
||||
self.xsltParamsLayout.addLayout(self.xsltParamsButtonLayout)
|
||||
|
||||
|
||||
self.verticalLayout.addWidget(self.xsltParamsGroupBox)
|
||||
|
||||
self.buttonBox = QDialogButtonBox(ProjectXsltParamsDialog)
|
||||
self.buttonBox.setObjectName(u"buttonBox")
|
||||
self.buttonBox.setOrientation(Qt.Orientation.Horizontal)
|
||||
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
|
||||
self.buttonBox.setCenterButtons(True)
|
||||
|
||||
self.verticalLayout.addWidget(self.buttonBox)
|
||||
|
||||
|
||||
self.retranslateUi(ProjectXsltParamsDialog)
|
||||
self.buttonBox.accepted.connect(ProjectXsltParamsDialog.accept)
|
||||
self.buttonBox.rejected.connect(ProjectXsltParamsDialog.reject)
|
||||
|
||||
QMetaObject.connectSlotsByName(ProjectXsltParamsDialog)
|
||||
# setupUi
|
||||
|
||||
def retranslateUi(self, ProjectXsltParamsDialog):
|
||||
ProjectXsltParamsDialog.setWindowTitle(QCoreApplication.translate("ProjectXsltParamsDialog", u"Projektweite XSLT-Parameter", None))
|
||||
self.xsltParamsGroupBox.setTitle(QCoreApplication.translate("ProjectXsltParamsDialog", u"XSLT-Parameter", None))
|
||||
___qtablewidgetitem = self.xsltParamsTable.horizontalHeaderItem(0)
|
||||
___qtablewidgetitem.setText(QCoreApplication.translate("ProjectXsltParamsDialog", u"Parameter", None));
|
||||
___qtablewidgetitem1 = self.xsltParamsTable.horizontalHeaderItem(1)
|
||||
___qtablewidgetitem1.setText(QCoreApplication.translate("ProjectXsltParamsDialog", u"Wert", None));
|
||||
self.addParamButton.setText(QCoreApplication.translate("ProjectXsltParamsDialog", u"Parameter hinzuf\u00fcgen", None))
|
||||
self.removeParamButton.setText(QCoreApplication.translate("ProjectXsltParamsDialog", u"Parameter entfernen", None))
|
||||
# retranslateUi
|
||||
|
||||
Reference in New Issue
Block a user