Feature: Aktions-Menü mit Batch-Transformationen und UI-Bereinigung

- Neues Aktions-Menü mit Transformations- und Datenbankfunktionen
- Menü wird beim Projekt-Laden automatisch aktiviert
- Neue Aktion: Alle XML-Dateien transformieren (inkrementell)
- Neue Aktion: Alle XML-Dateien neu transformieren (force)
- Neue Aktion: Aus Datenbank laden (ersetzt Button)
- Entfernte obsolete Buttons (pushButton, pushButton_2, pB_lade_aus_fn2)
- UI-Bereinigung: Button-Frame unterhalb TreeWidget entfernt
- Batch-Transformationen sammeln rekursiv alle XML/XSL-Paare
- Bestätigungsdialoge mit Job-Anzahl und Warnungen
- Deutsche Log-Meldungen und Fehlertexte
This commit is contained in:
2026-01-25 15:23:32 +01:00
parent 2858d46ef1
commit 3bdc0a0daa
4 changed files with 206 additions and 126 deletions
+44 -75
View File
@@ -95,76 +95,6 @@
</column>
</widget>
</item>
<item>
<widget class="QFrame" name="frame_2">
<property name="frameShadow">
<enum>QFrame::Shadow::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="pushButton">
<property name="layoutDirection">
<enum>Qt::LayoutDirection::LeftToRight</enum>
</property>
<property name="text">
<string>nur geänderte generieren</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::MediaPlaybackStart"/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_2">
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="text">
<string>Alle generieren</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::MediaSeekForward"/>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<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>
<item>
<widget class="QPushButton" name="pB_lade_aus_fn2">
<property name="text">
<string>lade aus FN2</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::GoDown"/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QScrollArea" name="scrollArea">
@@ -188,8 +118,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>68</width>
<height>728</height>
<width>54</width>
<height>716</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
@@ -416,8 +346,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>726</width>
<height>697</height>
<width>881</width>
<height>684</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
@@ -449,7 +379,7 @@
<x>0</x>
<y>0</y>
<width>1263</width>
<height>22</height>
<height>33</height>
</rect>
</property>
<widget class="QMenu" name="menuProjekt">
@@ -469,7 +399,20 @@
<string>Thema</string>
</property>
</widget>
<widget class="QMenu" name="menuAktion">
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>Aktion</string>
</property>
<addaction name="actionAlle_XML_Dateien_transformieren"/>
<addaction name="actionAlle_XML_Dateien_neu_transformieren_force"/>
<addaction name="separator"/>
<addaction name="actionAus_Datenbank_laden"/>
</widget>
<addaction name="menuProjekt"/>
<addaction name="menuAktion"/>
<addaction name="menuThema"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
@@ -507,10 +450,36 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset theme="folder-open"/>
</property>
<property name="text">
<string>Vorhandene Projekte</string>
</property>
</action>
<action name="actionAlle_XML_Dateien_transformieren">
<property name="text">
<string>Alle XML-Dateien transformieren</string>
</property>
</action>
<action name="actionAlle_XML_Dateien_neu_transformieren_force">
<property name="icon">
<iconset theme="QIcon::ThemeIcon::ViewRefresh"/>
</property>
<property name="text">
<string>Alle XML-Dateien neu transformieren (force)</string>
</property>
</action>
<action name="actionFN2">
<property name="text">
<string>FN2</string>
</property>
</action>
<action name="actionAus_Datenbank_laden">
<property name="text">
<string>Aus Datenbank laden</string>
</property>
</action>
</widget>
<resources/>
<connections>