diff --git a/src/conf.py b/src/conf.py index 7e35fd4..f6a03af 100644 --- a/src/conf.py +++ b/src/conf.py @@ -201,9 +201,6 @@ class PdfProjectSettings(BaseModel): yaml = YAML(typ='safe') yaml_data = yaml.load(f) return cls.model_validate(yaml_data) - # yaml_content = f.read() - - # Parse mit pydantic-yaml def writeSettings(self, project_dir: Path): with open(project_dir / "project.yaml", "w", encoding="utf8") as f: diff --git a/src/readCsv.py b/src/readCsv.py index fdb0d0c..d69a663 100644 --- a/src/readCsv.py +++ b/src/readCsv.py @@ -36,7 +36,7 @@ for r1 in ebene_1.rows(named=True): id=(r3["reporttyp"], r3["report"], r3["repfile"]), bez=r3["repfile_bez"], xsl_file=Path(r3["xsl_datei"]), - xmls=[XmlFile(xml=Path("test.xml"))], + xmls=[XmlFile(xml=Path("test.xml"))], # nur als Beispiel ) tn_2.children.append(x) diff --git a/src/ui/MainWinddow.ui b/src/ui/MainWinddow.ui index a9fe07b..58c9604 100644 --- a/src/ui/MainWinddow.ui +++ b/src/ui/MainWinddow.ui @@ -141,6 +141,16 @@ + + + + lade aus FN2 + + + + + + diff --git a/src/ui/MainWinddow_ui.py b/src/ui/MainWinddow_ui.py index b17f907..98a8f1e 100644 --- a/src/ui/MainWinddow_ui.py +++ b/src/ui/MainWinddow_ui.py @@ -110,6 +110,13 @@ class Ui_MainWindow(object): self.horizontalLayout_2.addItem(self.horizontalSpacer) + self.pushButton_3 = QPushButton(self.frame_2) + self.pushButton_3.setObjectName(u"pushButton_3") + icon6 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.GoDown)) + self.pushButton_3.setIcon(icon6) + + self.horizontalLayout_2.addWidget(self.pushButton_3) + self.verticalLayout.addWidget(self.frame_2) @@ -279,6 +286,7 @@ class Ui_MainWindow(object): self.actionVorhandene_Projekte.setText(QCoreApplication.translate("MainWindow", u"Vorhandene Projekte", None)) self.pushButton.setText(QCoreApplication.translate("MainWindow", u"nur ge\u00e4nderte generieren", None)) self.pushButton_2.setText(QCoreApplication.translate("MainWindow", u"Alle generieren", None)) + self.pushButton_3.setText(QCoreApplication.translate("MainWindow", u"lade aus FN2", None)) self.label.setText("") self.label_2.setText("") self.label_6.setText(QCoreApplication.translate("MainWindow", u"Vorher (Referenz)", None))