diff --git a/src/ui/ApacheFopConfigDialog.ui b/src/ui/ApacheFopConfigDialog.ui
new file mode 100644
index 0000000..0906afe
--- /dev/null
+++ b/src/ui/ApacheFopConfigDialog.ui
@@ -0,0 +1,119 @@
+
+
+ ApacheFopConfigDialog
+
+
+
+ 0
+ 0
+ 500
+ 130
+
+
+
+ Apache FOP Konfiguration
+
+
+ true
+
+
+ -
+
+
+ QLayout::SizeConstraint::SetMaximumSize
+
+
-
+
+
+ Version:
+
+
+
+ -
+
+
+ -
+
+
+ FOP-Verzeichnis:
+
+
+
+ -
+
+
-
+
+
+ -
+
+
+ Durchsuchen...
+
+
+
+
+
+ -
+
+
+ Output-Dateierweiterung:
+
+
+
+ -
+
+
+ pdf
+
+
+
+
+
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+ QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok
+
+
+
+
+
+
+
+
+ buttonBox
+ accepted()
+ ApacheFopConfigDialog
+ accept()
+
+
+ 248
+ 254
+
+
+ 157
+ 274
+
+
+
+
+ buttonBox
+ rejected()
+ ApacheFopConfigDialog
+ reject()
+
+
+ 316
+ 260
+
+
+ 286
+ 274
+
+
+
+
+
diff --git a/src/ui/ApacheFopConfigDialog_ui.py b/src/ui/ApacheFopConfigDialog_ui.py
new file mode 100644
index 0000000..2ad9873
--- /dev/null
+++ b/src/ui/ApacheFopConfigDialog_ui.py
@@ -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
+
diff --git a/src/ui/AppSettings.py b/src/ui/AppSettings.py
index c991882..e5f51cb 100644
--- a/src/ui/AppSettings.py
+++ b/src/ui/AppSettings.py
@@ -1,9 +1,14 @@
-from PySide6.QtWidgets import QDialog, QTableWidgetItem, QMessageBox, QLineEdit, QPushButton, QFileDialog, QTextEdit, QVBoxLayout, QHBoxLayout, QFormLayout, QDialogButtonBox
+from PySide6.QtWidgets import QDialog, QTableWidgetItem, QMessageBox, QFileDialog
from PySide6.QtCore import Qt
from pathlib import Path
from typing import Optional
from ui.AppSettings_ui import Ui_Dialog
+from ui.JavaVmConfigDialog_ui import Ui_JavaVmConfigDialog
+from ui.DiffPdfConfigDialog_ui import Ui_DiffPdfConfigDialog
+from ui.SaxonJarConfigDialog_ui import Ui_SaxonJarConfigDialog
+from ui.ApacheFopConfigDialog_ui import Ui_ApacheFopConfigDialog
+from ui.XslDirConfigDialog_ui import Ui_XslDirConfigDialog
from conf import AppSettings, JavaVm, DiffPdf, SaxonJar, ApacheFop, XslDir
@@ -13,36 +18,13 @@ class JavaVmConfigDialog(QDialog):
def __init__(self, parent=None):
super().__init__(parent)
- self.setWindowTitle("Java VM Konfiguration")
- self.setModal(True)
- self.resize(500, 200)
- # Layout erstellen
- layout = QVBoxLayout()
- form_layout = QFormLayout()
+ # UI einrichten
+ self.ui = Ui_JavaVmConfigDialog()
+ self.ui.setupUi(self)
- # Version Eingabefeld
- self.version_edit = QLineEdit()
- form_layout.addRow("Version:", self.version_edit)
-
- # Pfad zur Binary-Datei
- path_layout = QHBoxLayout()
- self.path_edit = QLineEdit()
- self.browse_button = QPushButton("Durchsuchen...")
- self.browse_button.clicked.connect(self.browse_binary_file)
- path_layout.addWidget(self.path_edit)
- path_layout.addWidget(self.browse_button)
- form_layout.addRow("Pfad zur Binary-Datei:", path_layout)
-
- layout.addLayout(form_layout)
-
- # Dialog-Buttons
- button_box = QDialogButtonBox(QDialogButtonBox.StandardButton.Ok | QDialogButtonBox.StandardButton.Cancel)
- button_box.accepted.connect(self.accept)
- button_box.rejected.connect(self.reject)
- layout.addWidget(button_box)
-
- self.setLayout(layout)
+ # Signale verbinden
+ self.ui.browseButton.clicked.connect(self.browse_binary_file)
def browse_binary_file(self):
"""Öffnet einen Dateidialog für die Binary-Datei."""
@@ -51,16 +33,16 @@ class JavaVmConfigDialog(QDialog):
"Executable Files (*.exe);;All Files (*)"
)
if file_path:
- self.path_edit.setText(file_path)
+ self.ui.pathEdit.setText(file_path)
def get_data(self):
"""Gibt die eingegebenen Daten zurück."""
- if not self.version_edit.text().strip() or not self.path_edit.text().strip():
+ if not self.ui.versionEdit.text().strip() or not self.ui.pathEdit.text().strip():
return None
return {
- 'version': self.version_edit.text().strip(),
- 'path_to_binary_file': Path(self.path_edit.text().strip())
+ 'version': self.ui.versionEdit.text().strip(),
+ 'path_to_binary_file': Path(self.ui.pathEdit.text().strip())
}
@@ -69,46 +51,13 @@ class DiffPdfConfigDialog(QDialog):
def __init__(self, parent=None):
super().__init__(parent)
- self.setWindowTitle("DiffPdf Konfiguration")
- self.setModal(True)
- self.resize(500, 300)
- # Layout erstellen
- layout = QVBoxLayout()
- form_layout = QFormLayout()
+ # UI einrichten
+ self.ui = Ui_DiffPdfConfigDialog()
+ self.ui.setupUi(self)
- # Version Eingabefeld
- self.version_edit = QLineEdit()
- form_layout.addRow("Version:", self.version_edit)
-
- # Pfad zur Binary-Datei
- path_layout = QHBoxLayout()
- self.path_edit = QLineEdit()
- self.browse_button = QPushButton("Durchsuchen...")
- self.browse_button.clicked.connect(self.browse_binary_file)
- path_layout.addWidget(self.path_edit)
- path_layout.addWidget(self.browse_button)
- form_layout.addRow("Pfad zur Binary-Datei:", path_layout)
-
- # Standard-Parameter (als mehrzeiliger Text)
- self.params_edit = QTextEdit()
- self.params_edit.setMaximumHeight(80)
- form_layout.addRow("Standard-Parameter\n(ein Parameter pro Zeile):", self.params_edit)
-
- # Output-Dateierweiterung
- self.extension_edit = QLineEdit()
- self.extension_edit.setText("pdf")
- form_layout.addRow("Output-Dateierweiterung:", self.extension_edit)
-
- layout.addLayout(form_layout)
-
- # Dialog-Buttons
- button_box = QDialogButtonBox(QDialogButtonBox.StandardButton.Ok | QDialogButtonBox.StandardButton.Cancel)
- button_box.accepted.connect(self.accept)
- button_box.rejected.connect(self.reject)
- layout.addWidget(button_box)
-
- self.setLayout(layout)
+ # Signale verbinden
+ self.ui.browseButton.clicked.connect(self.browse_binary_file)
def browse_binary_file(self):
"""Öffnet einen Dateidialog für die Binary-Datei."""
@@ -117,22 +66,22 @@ class DiffPdfConfigDialog(QDialog):
"Executable Files (*.exe);;All Files (*)"
)
if file_path:
- self.path_edit.setText(file_path)
+ self.ui.pathEdit.setText(file_path)
def get_data(self):
"""Gibt die eingegebenen Daten zurück."""
- if not self.version_edit.text().strip() or not self.path_edit.text().strip():
+ if not self.ui.versionEdit.text().strip() or not self.ui.pathEdit.text().strip():
return None
# Parameter aus dem Text extrahieren
- params_text = self.params_edit.toPlainText().strip()
+ params_text = self.ui.paramsEdit.toPlainText().strip()
params = [line.strip() for line in params_text.split('\n') if line.strip()] if params_text else []
return {
- 'version': self.version_edit.text().strip(),
- 'path_to_binary_file': Path(self.path_edit.text().strip()),
+ 'version': self.ui.versionEdit.text().strip(),
+ 'path_to_binary_file': Path(self.ui.pathEdit.text().strip()),
'default_params': params,
- 'output_file_extension': self.extension_edit.text().strip() or "pdf"
+ 'output_file_extension': self.ui.extensionEdit.text().strip() or "pdf"
}
@@ -141,41 +90,13 @@ class SaxonJarConfigDialog(QDialog):
def __init__(self, parent=None):
super().__init__(parent)
- self.setWindowTitle("Saxon JAR Konfiguration")
- self.setModal(True)
- self.resize(500, 200)
- # Layout erstellen
- layout = QVBoxLayout()
- form_layout = QFormLayout()
+ # UI einrichten
+ self.ui = Ui_SaxonJarConfigDialog()
+ self.ui.setupUi(self)
- # Version Eingabefeld
- self.version_edit = QLineEdit()
- form_layout.addRow("Version:", self.version_edit)
-
- # Pfad zur JAR-Datei
- path_layout = QHBoxLayout()
- self.path_edit = QLineEdit()
- self.browse_button = QPushButton("Durchsuchen...")
- self.browse_button.clicked.connect(self.browse_jar_file)
- path_layout.addWidget(self.path_edit)
- path_layout.addWidget(self.browse_button)
- form_layout.addRow("Pfad zur JAR-Datei:", path_layout)
-
- # Output-Dateierweiterung
- self.extension_edit = QLineEdit()
- self.extension_edit.setText("fo")
- form_layout.addRow("Output-Dateierweiterung:", self.extension_edit)
-
- layout.addLayout(form_layout)
-
- # Dialog-Buttons
- button_box = QDialogButtonBox(QDialogButtonBox.StandardButton.Ok | QDialogButtonBox.StandardButton.Cancel)
- button_box.accepted.connect(self.accept)
- button_box.rejected.connect(self.reject)
- layout.addWidget(button_box)
-
- self.setLayout(layout)
+ # Signale verbinden
+ self.ui.browseButton.clicked.connect(self.browse_jar_file)
def browse_jar_file(self):
"""Öffnet einen Dateidialog für die JAR-Datei."""
@@ -184,17 +105,17 @@ class SaxonJarConfigDialog(QDialog):
"JAR Files (*.jar);;All Files (*)"
)
if file_path:
- self.path_edit.setText(file_path)
+ self.ui.pathEdit.setText(file_path)
def get_data(self):
"""Gibt die eingegebenen Daten zurück."""
- if not self.version_edit.text().strip() or not self.path_edit.text().strip():
+ if not self.ui.versionEdit.text().strip() or not self.ui.pathEdit.text().strip():
return None
return {
- 'version': self.version_edit.text().strip(),
- 'path_to_jar_file': Path(self.path_edit.text().strip()),
- 'output_file_extension': self.extension_edit.text().strip() or "fo"
+ 'version': self.ui.versionEdit.text().strip(),
+ 'path_to_jar_file': Path(self.ui.pathEdit.text().strip()),
+ 'output_file_extension': self.ui.extensionEdit.text().strip() or "fo"
}
@@ -203,41 +124,13 @@ class ApacheFopConfigDialog(QDialog):
def __init__(self, parent=None):
super().__init__(parent)
- self.setWindowTitle("Apache FOP Konfiguration")
- self.setModal(True)
- self.resize(500, 200)
- # Layout erstellen
- layout = QVBoxLayout()
- form_layout = QFormLayout()
+ # UI einrichten
+ self.ui = Ui_ApacheFopConfigDialog()
+ self.ui.setupUi(self)
- # Version Eingabefeld
- self.version_edit = QLineEdit()
- form_layout.addRow("Version:", self.version_edit)
-
- # Pfad zum Verzeichnis
- path_layout = QHBoxLayout()
- self.path_edit = QLineEdit()
- self.browse_button = QPushButton("Durchsuchen...")
- self.browse_button.clicked.connect(self.browse_directory)
- path_layout.addWidget(self.path_edit)
- path_layout.addWidget(self.browse_button)
- form_layout.addRow("Pfad zum FOP-Verzeichnis:", path_layout)
-
- # Output-Dateierweiterung
- self.extension_edit = QLineEdit()
- self.extension_edit.setText("pdf")
- form_layout.addRow("Output-Dateierweiterung:", self.extension_edit)
-
- layout.addLayout(form_layout)
-
- # Dialog-Buttons
- button_box = QDialogButtonBox(QDialogButtonBox.StandardButton.Ok | QDialogButtonBox.StandardButton.Cancel)
- button_box.accepted.connect(self.accept)
- button_box.rejected.connect(self.reject)
- layout.addWidget(button_box)
-
- self.setLayout(layout)
+ # Signale verbinden
+ self.ui.browseButton.clicked.connect(self.browse_directory)
def browse_directory(self):
"""Öffnet einen Verzeichnisdialog."""
@@ -245,17 +138,17 @@ class ApacheFopConfigDialog(QDialog):
self, "Apache FOP Verzeichnis auswählen"
)
if dir_path:
- self.path_edit.setText(dir_path)
+ self.ui.pathEdit.setText(dir_path)
def get_data(self):
"""Gibt die eingegebenen Daten zurück."""
- if not self.version_edit.text().strip() or not self.path_edit.text().strip():
+ if not self.ui.versionEdit.text().strip() or not self.ui.pathEdit.text().strip():
return None
return {
- 'version': self.version_edit.text().strip(),
- 'path_to_dir': Path(self.path_edit.text().strip()),
- 'output_file_extension': self.extension_edit.text().strip() or "pdf"
+ 'version': self.ui.versionEdit.text().strip(),
+ 'path_to_dir': Path(self.ui.pathEdit.text().strip()),
+ 'output_file_extension': self.ui.extensionEdit.text().strip() or "pdf"
}
@@ -264,36 +157,13 @@ class XslDirConfigDialog(QDialog):
def __init__(self, parent=None):
super().__init__(parent)
- self.setWindowTitle("XSL-Verzeichnis Konfiguration")
- self.setModal(True)
- self.resize(500, 150)
- # Layout erstellen
- layout = QVBoxLayout()
- form_layout = QFormLayout()
+ # UI einrichten
+ self.ui = Ui_XslDirConfigDialog()
+ self.ui.setupUi(self)
- # Name Eingabefeld
- self.name_edit = QLineEdit()
- form_layout.addRow("Name:", self.name_edit)
-
- # Pfad zum Root-Verzeichnis
- path_layout = QHBoxLayout()
- self.path_edit = QLineEdit()
- self.browse_button = QPushButton("Durchsuchen...")
- self.browse_button.clicked.connect(self.browse_directory)
- path_layout.addWidget(self.path_edit)
- path_layout.addWidget(self.browse_button)
- form_layout.addRow("Pfad zum Root-Verzeichnis:", path_layout)
-
- layout.addLayout(form_layout)
-
- # Dialog-Buttons
- button_box = QDialogButtonBox(QDialogButtonBox.StandardButton.Ok | QDialogButtonBox.StandardButton.Cancel)
- button_box.accepted.connect(self.accept)
- button_box.rejected.connect(self.reject)
- layout.addWidget(button_box)
-
- self.setLayout(layout)
+ # Signale verbinden
+ self.ui.browseButton.clicked.connect(self.browse_directory)
def browse_directory(self):
"""Öffnet einen Verzeichnisdialog."""
@@ -301,16 +171,16 @@ class XslDirConfigDialog(QDialog):
self, "XSL Root-Verzeichnis auswählen"
)
if dir_path:
- self.path_edit.setText(dir_path)
+ self.ui.pathEdit.setText(dir_path)
def get_data(self):
"""Gibt die eingegebenen Daten zurück."""
- if not self.name_edit.text().strip() or not self.path_edit.text().strip():
+ if not self.ui.nameEdit.text().strip() or not self.ui.pathEdit.text().strip():
return None
return {
- 'name': self.name_edit.text().strip(),
- 'path_to_root_dir': Path(self.path_edit.text().strip())
+ 'name': self.ui.nameEdit.text().strip(),
+ 'path_to_root_dir': Path(self.ui.pathEdit.text().strip())
}
diff --git a/src/ui/DiffPdfConfigDialog.ui b/src/ui/DiffPdfConfigDialog.ui
new file mode 100644
index 0000000..8ae7462
--- /dev/null
+++ b/src/ui/DiffPdfConfigDialog.ui
@@ -0,0 +1,140 @@
+
+
+ DiffPdfConfigDialog
+
+
+
+ 0
+ 0
+ 500
+ 211
+
+
+
+ DiffPdf Konfiguration
+
+
+ true
+
+
+ -
+
+
-
+
+
+ Version:
+
+
+
+ -
+
+
+ -
+
+
+ Pfad zur Binary-Datei:
+
+
+
+ -
+
+
-
+
+
+ -
+
+
+ Durchsuchen...
+
+
+
+
+
+ -
+
+
+ Standard-Parameter
+(ein Parameter pro Zeile):
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 16777215
+ 80
+
+
+
+
+ -
+
+
+ Output-Dateierweiterung:
+
+
+
+ -
+
+
+ pdf
+
+
+
+
+
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+ QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok
+
+
+
+
+
+
+
+
+ buttonBox
+ accepted()
+ DiffPdfConfigDialog
+ accept()
+
+
+ 248
+ 254
+
+
+ 157
+ 274
+
+
+
+
+ buttonBox
+ rejected()
+ DiffPdfConfigDialog
+ reject()
+
+
+ 316
+ 260
+
+
+ 286
+ 274
+
+
+
+
+
diff --git a/src/ui/DiffPdfConfigDialog_ui.py b/src/ui/DiffPdfConfigDialog_ui.py
new file mode 100644
index 0000000..a6cd91e
--- /dev/null
+++ b/src/ui/DiffPdfConfigDialog_ui.py
@@ -0,0 +1,117 @@
+# -*- coding: utf-8 -*-
+
+################################################################################
+## Form generated from reading UI file 'DiffPdfConfigDialog.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, QTextEdit, QVBoxLayout,
+ QWidget)
+
+class Ui_DiffPdfConfigDialog(object):
+ def setupUi(self, DiffPdfConfigDialog):
+ if not DiffPdfConfigDialog.objectName():
+ DiffPdfConfigDialog.setObjectName(u"DiffPdfConfigDialog")
+ DiffPdfConfigDialog.resize(500, 211)
+ DiffPdfConfigDialog.setModal(True)
+ self.verticalLayout = QVBoxLayout(DiffPdfConfigDialog)
+ self.verticalLayout.setObjectName(u"verticalLayout")
+ self.formLayout = QFormLayout()
+ self.formLayout.setObjectName(u"formLayout")
+ self.versionLabel = QLabel(DiffPdfConfigDialog)
+ self.versionLabel.setObjectName(u"versionLabel")
+
+ self.formLayout.setWidget(0, QFormLayout.ItemRole.LabelRole, self.versionLabel)
+
+ self.versionEdit = QLineEdit(DiffPdfConfigDialog)
+ self.versionEdit.setObjectName(u"versionEdit")
+
+ self.formLayout.setWidget(0, QFormLayout.ItemRole.FieldRole, self.versionEdit)
+
+ self.pathLabel = QLabel(DiffPdfConfigDialog)
+ 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(DiffPdfConfigDialog)
+ self.pathEdit.setObjectName(u"pathEdit")
+
+ self.pathLayout.addWidget(self.pathEdit)
+
+ self.browseButton = QPushButton(DiffPdfConfigDialog)
+ self.browseButton.setObjectName(u"browseButton")
+
+ self.pathLayout.addWidget(self.browseButton)
+
+
+ self.formLayout.setLayout(1, QFormLayout.ItemRole.FieldRole, self.pathLayout)
+
+ self.paramsLabel = QLabel(DiffPdfConfigDialog)
+ self.paramsLabel.setObjectName(u"paramsLabel")
+
+ self.formLayout.setWidget(2, QFormLayout.ItemRole.LabelRole, self.paramsLabel)
+
+ self.paramsEdit = QTextEdit(DiffPdfConfigDialog)
+ self.paramsEdit.setObjectName(u"paramsEdit")
+ sizePolicy = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Maximum)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.paramsEdit.sizePolicy().hasHeightForWidth())
+ self.paramsEdit.setSizePolicy(sizePolicy)
+ self.paramsEdit.setMaximumSize(QSize(16777215, 80))
+
+ self.formLayout.setWidget(2, QFormLayout.ItemRole.FieldRole, self.paramsEdit)
+
+ self.extensionLabel = QLabel(DiffPdfConfigDialog)
+ self.extensionLabel.setObjectName(u"extensionLabel")
+
+ self.formLayout.setWidget(3, QFormLayout.ItemRole.LabelRole, self.extensionLabel)
+
+ self.extensionEdit = QLineEdit(DiffPdfConfigDialog)
+ self.extensionEdit.setObjectName(u"extensionEdit")
+
+ self.formLayout.setWidget(3, QFormLayout.ItemRole.FieldRole, self.extensionEdit)
+
+
+ self.verticalLayout.addLayout(self.formLayout)
+
+ self.buttonBox = QDialogButtonBox(DiffPdfConfigDialog)
+ 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(DiffPdfConfigDialog)
+ self.buttonBox.accepted.connect(DiffPdfConfigDialog.accept)
+ self.buttonBox.rejected.connect(DiffPdfConfigDialog.reject)
+
+ QMetaObject.connectSlotsByName(DiffPdfConfigDialog)
+ # setupUi
+
+ def retranslateUi(self, DiffPdfConfigDialog):
+ DiffPdfConfigDialog.setWindowTitle(QCoreApplication.translate("DiffPdfConfigDialog", u"DiffPdf Konfiguration", None))
+ self.versionLabel.setText(QCoreApplication.translate("DiffPdfConfigDialog", u"Version:", None))
+ self.pathLabel.setText(QCoreApplication.translate("DiffPdfConfigDialog", u"Pfad zur Binary-Datei:", None))
+ self.browseButton.setText(QCoreApplication.translate("DiffPdfConfigDialog", u"Durchsuchen...", None))
+ self.paramsLabel.setText(QCoreApplication.translate("DiffPdfConfigDialog", u"Standard-Parameter\n"
+"(ein Parameter pro Zeile):", None))
+ self.extensionLabel.setText(QCoreApplication.translate("DiffPdfConfigDialog", u"Output-Dateierweiterung:", None))
+ self.extensionEdit.setText(QCoreApplication.translate("DiffPdfConfigDialog", u"pdf", None))
+ # retranslateUi
+
diff --git a/src/ui/JavaVmConfigDialog.ui b/src/ui/JavaVmConfigDialog.ui
new file mode 100644
index 0000000..bb41666
--- /dev/null
+++ b/src/ui/JavaVmConfigDialog.ui
@@ -0,0 +1,102 @@
+
+
+ JavaVmConfigDialog
+
+
+
+ 0
+ 0
+ 500
+ 103
+
+
+
+ Java VM Konfiguration
+
+
+ true
+
+
+ -
+
+
-
+
+
+ Version:
+
+
+
+ -
+
+
+ -
+
+
+ Pfad zur Binary-Datei:
+
+
+
+ -
+
+
-
+
+
+ -
+
+
+ Durchsuchen...
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+ QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok
+
+
+
+
+
+
+
+
+ buttonBox
+ accepted()
+ JavaVmConfigDialog
+ accept()
+
+
+ 248
+ 254
+
+
+ 157
+ 274
+
+
+
+
+ buttonBox
+ rejected()
+ JavaVmConfigDialog
+ reject()
+
+
+ 316
+ 260
+
+
+ 286
+ 274
+
+
+
+
+
diff --git a/src/ui/JavaVmConfigDialog_ui.py b/src/ui/JavaVmConfigDialog_ui.py
new file mode 100644
index 0000000..1c6d14f
--- /dev/null
+++ b/src/ui/JavaVmConfigDialog_ui.py
@@ -0,0 +1,86 @@
+# -*- coding: utf-8 -*-
+
+################################################################################
+## Form generated from reading UI file 'JavaVmConfigDialog.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_JavaVmConfigDialog(object):
+ def setupUi(self, JavaVmConfigDialog):
+ if not JavaVmConfigDialog.objectName():
+ JavaVmConfigDialog.setObjectName(u"JavaVmConfigDialog")
+ JavaVmConfigDialog.resize(500, 103)
+ JavaVmConfigDialog.setModal(True)
+ self.verticalLayout = QVBoxLayout(JavaVmConfigDialog)
+ self.verticalLayout.setObjectName(u"verticalLayout")
+ self.formLayout = QFormLayout()
+ self.formLayout.setObjectName(u"formLayout")
+ self.versionLabel = QLabel(JavaVmConfigDialog)
+ self.versionLabel.setObjectName(u"versionLabel")
+
+ self.formLayout.setWidget(0, QFormLayout.ItemRole.LabelRole, self.versionLabel)
+
+ self.versionEdit = QLineEdit(JavaVmConfigDialog)
+ self.versionEdit.setObjectName(u"versionEdit")
+
+ self.formLayout.setWidget(0, QFormLayout.ItemRole.FieldRole, self.versionEdit)
+
+ self.pathLabel = QLabel(JavaVmConfigDialog)
+ 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(JavaVmConfigDialog)
+ self.pathEdit.setObjectName(u"pathEdit")
+
+ self.pathLayout.addWidget(self.pathEdit)
+
+ self.browseButton = QPushButton(JavaVmConfigDialog)
+ 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(JavaVmConfigDialog)
+ 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(JavaVmConfigDialog)
+ self.buttonBox.accepted.connect(JavaVmConfigDialog.accept)
+ self.buttonBox.rejected.connect(JavaVmConfigDialog.reject)
+
+ QMetaObject.connectSlotsByName(JavaVmConfigDialog)
+ # setupUi
+
+ def retranslateUi(self, JavaVmConfigDialog):
+ JavaVmConfigDialog.setWindowTitle(QCoreApplication.translate("JavaVmConfigDialog", u"Java VM Konfiguration", None))
+ self.versionLabel.setText(QCoreApplication.translate("JavaVmConfigDialog", u"Version:", None))
+ self.pathLabel.setText(QCoreApplication.translate("JavaVmConfigDialog", u"Pfad zur Binary-Datei:", None))
+ self.browseButton.setText(QCoreApplication.translate("JavaVmConfigDialog", u"Durchsuchen...", None))
+ # retranslateUi
+
diff --git a/src/ui/SaxonJarConfigDialog.ui b/src/ui/SaxonJarConfigDialog.ui
new file mode 100644
index 0000000..14aee82
--- /dev/null
+++ b/src/ui/SaxonJarConfigDialog.ui
@@ -0,0 +1,116 @@
+
+
+ SaxonJarConfigDialog
+
+
+
+ 0
+ 0
+ 500
+ 130
+
+
+
+ Saxon JAR Konfiguration
+
+
+ true
+
+
+ -
+
+
-
+
+
+ Version:
+
+
+
+ -
+
+
+ -
+
+
+ Pfad zur JAR-Datei:
+
+
+
+ -
+
+
-
+
+
+ -
+
+
+ Durchsuchen...
+
+
+
+
+
+ -
+
+
+ Output-Dateierweiterung:
+
+
+
+ -
+
+
+ fo
+
+
+
+
+
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+ QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok
+
+
+
+
+
+
+
+
+ buttonBox
+ accepted()
+ SaxonJarConfigDialog
+ accept()
+
+
+ 248
+ 254
+
+
+ 157
+ 274
+
+
+
+
+ buttonBox
+ rejected()
+ SaxonJarConfigDialog
+ reject()
+
+
+ 316
+ 260
+
+
+ 286
+ 274
+
+
+
+
+
diff --git a/src/ui/SaxonJarConfigDialog_ui.py b/src/ui/SaxonJarConfigDialog_ui.py
new file mode 100644
index 0000000..03281b5
--- /dev/null
+++ b/src/ui/SaxonJarConfigDialog_ui.py
@@ -0,0 +1,98 @@
+# -*- coding: utf-8 -*-
+
+################################################################################
+## Form generated from reading UI file 'SaxonJarConfigDialog.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_SaxonJarConfigDialog(object):
+ def setupUi(self, SaxonJarConfigDialog):
+ if not SaxonJarConfigDialog.objectName():
+ SaxonJarConfigDialog.setObjectName(u"SaxonJarConfigDialog")
+ SaxonJarConfigDialog.resize(500, 130)
+ SaxonJarConfigDialog.setModal(True)
+ self.verticalLayout = QVBoxLayout(SaxonJarConfigDialog)
+ self.verticalLayout.setObjectName(u"verticalLayout")
+ self.formLayout = QFormLayout()
+ self.formLayout.setObjectName(u"formLayout")
+ self.versionLabel = QLabel(SaxonJarConfigDialog)
+ self.versionLabel.setObjectName(u"versionLabel")
+
+ self.formLayout.setWidget(0, QFormLayout.ItemRole.LabelRole, self.versionLabel)
+
+ self.versionEdit = QLineEdit(SaxonJarConfigDialog)
+ self.versionEdit.setObjectName(u"versionEdit")
+
+ self.formLayout.setWidget(0, QFormLayout.ItemRole.FieldRole, self.versionEdit)
+
+ self.pathLabel = QLabel(SaxonJarConfigDialog)
+ 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(SaxonJarConfigDialog)
+ self.pathEdit.setObjectName(u"pathEdit")
+
+ self.pathLayout.addWidget(self.pathEdit)
+
+ self.browseButton = QPushButton(SaxonJarConfigDialog)
+ self.browseButton.setObjectName(u"browseButton")
+
+ self.pathLayout.addWidget(self.browseButton)
+
+
+ self.formLayout.setLayout(1, QFormLayout.ItemRole.FieldRole, self.pathLayout)
+
+ self.extensionLabel = QLabel(SaxonJarConfigDialog)
+ self.extensionLabel.setObjectName(u"extensionLabel")
+
+ self.formLayout.setWidget(2, QFormLayout.ItemRole.LabelRole, self.extensionLabel)
+
+ self.extensionEdit = QLineEdit(SaxonJarConfigDialog)
+ self.extensionEdit.setObjectName(u"extensionEdit")
+
+ self.formLayout.setWidget(2, QFormLayout.ItemRole.FieldRole, self.extensionEdit)
+
+
+ self.verticalLayout.addLayout(self.formLayout)
+
+ self.buttonBox = QDialogButtonBox(SaxonJarConfigDialog)
+ 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(SaxonJarConfigDialog)
+ self.buttonBox.accepted.connect(SaxonJarConfigDialog.accept)
+ self.buttonBox.rejected.connect(SaxonJarConfigDialog.reject)
+
+ QMetaObject.connectSlotsByName(SaxonJarConfigDialog)
+ # setupUi
+
+ def retranslateUi(self, SaxonJarConfigDialog):
+ SaxonJarConfigDialog.setWindowTitle(QCoreApplication.translate("SaxonJarConfigDialog", u"Saxon JAR Konfiguration", None))
+ self.versionLabel.setText(QCoreApplication.translate("SaxonJarConfigDialog", u"Version:", None))
+ self.pathLabel.setText(QCoreApplication.translate("SaxonJarConfigDialog", u"Pfad zur JAR-Datei:", None))
+ self.browseButton.setText(QCoreApplication.translate("SaxonJarConfigDialog", u"Durchsuchen...", None))
+ self.extensionLabel.setText(QCoreApplication.translate("SaxonJarConfigDialog", u"Output-Dateierweiterung:", None))
+ self.extensionEdit.setText(QCoreApplication.translate("SaxonJarConfigDialog", u"fo", None))
+ # retranslateUi
+
diff --git a/src/ui/XslDirConfigDialog.ui b/src/ui/XslDirConfigDialog.ui
new file mode 100644
index 0000000..13edab5
--- /dev/null
+++ b/src/ui/XslDirConfigDialog.ui
@@ -0,0 +1,102 @@
+
+
+ XslDirConfigDialog
+
+
+
+ 0
+ 0
+ 500
+ 103
+
+
+
+ XSL-Verzeichnis Konfiguration
+
+
+ true
+
+
+ -
+
+
-
+
+
+ Name:
+
+
+
+ -
+
+
+ -
+
+
+ Pfad zum Root-Verzeichnis:
+
+
+
+ -
+
+
-
+
+
+ -
+
+
+ Durchsuchen...
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+ QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok
+
+
+
+
+
+
+
+
+ buttonBox
+ accepted()
+ XslDirConfigDialog
+ accept()
+
+
+ 248
+ 254
+
+
+ 157
+ 274
+
+
+
+
+ buttonBox
+ rejected()
+ XslDirConfigDialog
+ reject()
+
+
+ 316
+ 260
+
+
+ 286
+ 274
+
+
+
+
+
diff --git a/src/ui/XslDirConfigDialog_ui.py b/src/ui/XslDirConfigDialog_ui.py
new file mode 100644
index 0000000..ba8ffbb
--- /dev/null
+++ b/src/ui/XslDirConfigDialog_ui.py
@@ -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
+