Accept-Changes-Button: Änderungen akzeptieren und automatisch zur nächsten Diff-PDF springen

Neuer Button zum Akzeptieren von PDF-Änderungen mit automatischem Workflow:
- Verschiebt new-PDF nach ref (alte ref-PDF wird gelöscht)
- Löscht diff-PDF
- Entfernt Diff-Icon beim aktuellen XML-Knoten
- Aktualisiert Diff-PDF-Anzahl auf übergeordneten Ebenen
- Lädt automatisch nächste Diff-PDF oder leert Viewer falls keine mehr vorhanden
- Wählt den entsprechenden XML-Knoten im Baum aus für visuelle Rückmeldung

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-15 21:10:15 +01:00
parent 1fc7decace
commit 5b64cf5890
3 changed files with 187 additions and 3 deletions
+25 -2
View File
@@ -341,6 +341,29 @@
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="accept_changes">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>✅ Änderungen übernehmen</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
@@ -354,8 +377,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>625</width>
<height>700</height>
<width>726</width>
<height>695</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">