Neues Button
This commit is contained in:
@@ -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:
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
@@ -141,6 +141,16 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_3">
|
||||
<property name="text">
|
||||
<string>lade aus FN2</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="QIcon::ThemeIcon::GoDown"/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user