Bei allen Dialogen werden "OK" und "Abbrechen" Bittons zentriert

This commit is contained in:
2025-06-18 18:19:33 +02:00
parent 76b5182a53
commit 703addf846
12 changed files with 183 additions and 156 deletions
+3
View File
@@ -77,6 +77,9 @@
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
+4 -2
View File
@@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'ApacheFopConfigDialog.ui'
##
## Created by: Qt User Interface Compiler version 6.9.0
## Created by: Qt User Interface Compiler version 6.9.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
@@ -78,6 +78,7 @@ class Ui_ApacheFopConfigDialog(object):
self.buttonBox.setObjectName(u"buttonBox")
self.buttonBox.setOrientation(Qt.Orientation.Horizontal)
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
self.buttonBox.setCenterButtons(True)
self.verticalLayout.addWidget(self.buttonBox)
@@ -94,6 +95,7 @@ class Ui_ApacheFopConfigDialog(object):
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"Dateierweiterung:", None))
self.extensionLabel.setText(QCoreApplication.translate("ApacheFopConfigDialog", u"Output-Dateierweiterung:", None))
self.extensionEdit.setText(QCoreApplication.translate("ApacheFopConfigDialog", u"pdf", None))
# retranslateUi
+3
View File
@@ -98,6 +98,9 @@
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
+4 -2
View File
@@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'DiffPdfConfigDialog.ui'
##
## Created by: Qt User Interface Compiler version 6.9.0
## Created by: Qt User Interface Compiler version 6.9.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
@@ -93,6 +93,7 @@ class Ui_DiffPdfConfigDialog(object):
self.buttonBox.setObjectName(u"buttonBox")
self.buttonBox.setOrientation(Qt.Orientation.Horizontal)
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
self.buttonBox.setCenterButtons(True)
self.verticalLayout.addWidget(self.buttonBox)
@@ -111,6 +112,7 @@ class Ui_DiffPdfConfigDialog(object):
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"Dateierweiterung:", None))
self.extensionLabel.setText(QCoreApplication.translate("DiffPdfConfigDialog", u"Output-Dateierweiterung:", None))
self.extensionEdit.setText(QCoreApplication.translate("DiffPdfConfigDialog", u"pdf", None))
# retranslateUi
+3
View File
@@ -60,6 +60,9 @@
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
+2 -1
View File
@@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'JavaVmConfigDialog.ui'
##
## Created by: Qt User Interface Compiler version 6.9.0
## Created by: Qt User Interface Compiler version 6.9.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
@@ -66,6 +66,7 @@ class Ui_JavaVmConfigDialog(object):
self.buttonBox.setObjectName(u"buttonBox")
self.buttonBox.setOrientation(Qt.Orientation.Horizontal)
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
self.buttonBox.setCenterButtons(True)
self.verticalLayout.addWidget(self.buttonBox)
+3
View File
@@ -129,6 +129,9 @@
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
+1
View File
@@ -123,6 +123,7 @@ class Ui_projectDlg(object):
self.buttonBox.setObjectName(u"buttonBox")
self.buttonBox.setOrientation(Qt.Orientation.Horizontal)
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
self.buttonBox.setCenterButtons(True)
self.verticalLayout.addWidget(self.buttonBox)
+3
View File
@@ -74,6 +74,9 @@
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
+4 -2
View File
@@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'SaxonJarConfigDialog.ui'
##
## Created by: Qt User Interface Compiler version 6.9.0
## Created by: Qt User Interface Compiler version 6.9.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
@@ -76,6 +76,7 @@ class Ui_SaxonJarConfigDialog(object):
self.buttonBox.setObjectName(u"buttonBox")
self.buttonBox.setOrientation(Qt.Orientation.Horizontal)
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
self.buttonBox.setCenterButtons(True)
self.verticalLayout.addWidget(self.buttonBox)
@@ -92,6 +93,7 @@ class Ui_SaxonJarConfigDialog(object):
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"Dateierweiterung:", None))
self.extensionLabel.setText(QCoreApplication.translate("SaxonJarConfigDialog", u"Output-Dateierweiterung:", None))
self.extensionEdit.setText(QCoreApplication.translate("SaxonJarConfigDialog", u"fo", None))
# retranslateUi
+3
View File
@@ -60,6 +60,9 @@
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
+2 -1
View File
@@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'XslDirConfigDialog.ui'
##
## Created by: Qt User Interface Compiler version 6.9.0
## Created by: Qt User Interface Compiler version 6.9.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
@@ -66,6 +66,7 @@ class Ui_XslDirConfigDialog(object):
self.buttonBox.setObjectName(u"buttonBox")
self.buttonBox.setOrientation(Qt.Orientation.Horizontal)
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
self.buttonBox.setCenterButtons(True)
self.verticalLayout.addWidget(self.buttonBox)