Fri, 07 Jun 2024 10:05:06 +0200
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnDiffDialog.ui' # # Created by: PyQt6 UI code generator 6.7.0 # # WARNING: Any manual changes made to this file will be lost when pyuic6 is # run again. Do not edit this file unless you know what you are doing. from PyQt6 import QtCore, QtGui, QtWidgets class Ui_SvnDiffDialog(object): def setupUi(self, SvnDiffDialog): SvnDiffDialog.setObjectName("SvnDiffDialog") SvnDiffDialog.resize(749, 646) self.vboxlayout = QtWidgets.QVBoxLayout(SvnDiffDialog) self.vboxlayout.setObjectName("vboxlayout") self.contentsGroup = QtWidgets.QGroupBox(parent=SvnDiffDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(4) sizePolicy.setHeightForWidth(self.contentsGroup.sizePolicy().hasHeightForWidth()) self.contentsGroup.setSizePolicy(sizePolicy) self.contentsGroup.setObjectName("contentsGroup") self.verticalLayout = QtWidgets.QVBoxLayout(self.contentsGroup) self.verticalLayout.setObjectName("verticalLayout") self.filesCombo = QtWidgets.QComboBox(parent=self.contentsGroup) self.filesCombo.setObjectName("filesCombo") self.verticalLayout.addWidget(self.filesCombo) self.searchWidget = EricTextEditSearchWidget(parent=self.contentsGroup) self.searchWidget.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus) self.searchWidget.setObjectName("searchWidget") self.verticalLayout.addWidget(self.searchWidget) self.contents = QtWidgets.QPlainTextEdit(parent=self.contentsGroup) self.contents.setLineWrapMode(QtWidgets.QPlainTextEdit.LineWrapMode.NoWrap) self.contents.setReadOnly(True) self.contents.setTabStopDistance(8.0) self.contents.setObjectName("contents") self.verticalLayout.addWidget(self.contents) self.vboxlayout.addWidget(self.contentsGroup) self.errorGroup = QtWidgets.QGroupBox(parent=SvnDiffDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth(self.errorGroup.sizePolicy().hasHeightForWidth()) self.errorGroup.setSizePolicy(sizePolicy) self.errorGroup.setObjectName("errorGroup") self.vboxlayout1 = QtWidgets.QVBoxLayout(self.errorGroup) self.vboxlayout1.setObjectName("vboxlayout1") self.errors = QtWidgets.QTextEdit(parent=self.errorGroup) self.errors.setReadOnly(True) self.errors.setAcceptRichText(False) self.errors.setObjectName("errors") self.vboxlayout1.addWidget(self.errors) self.vboxlayout.addWidget(self.errorGroup) self.buttonBox = QtWidgets.QDialogButtonBox(parent=SvnDiffDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close|QtWidgets.QDialogButtonBox.StandardButton.Save) self.buttonBox.setObjectName("buttonBox") self.vboxlayout.addWidget(self.buttonBox) self.retranslateUi(SvnDiffDialog) QtCore.QMetaObject.connectSlotsByName(SvnDiffDialog) SvnDiffDialog.setTabOrder(self.filesCombo, self.searchWidget) SvnDiffDialog.setTabOrder(self.searchWidget, self.contents) SvnDiffDialog.setTabOrder(self.contents, self.errors) def retranslateUi(self, SvnDiffDialog): _translate = QtCore.QCoreApplication.translate SvnDiffDialog.setWindowTitle(_translate("SvnDiffDialog", "Subversion Diff")) self.contentsGroup.setTitle(_translate("SvnDiffDialog", "Difference")) self.contents.setWhatsThis(_translate("SvnDiffDialog", "<b>Subversion Diff</b><p>This shows the output of the svn diff command.</p>")) self.errorGroup.setTitle(_translate("SvnDiffDialog", "Errors")) from eric7.EricWidgets.EricTextEditSearchWidget import EricTextEditSearchWidget