Sat, 26 Oct 2024 15:54:44 +0200
Recompiled the forms and made some modal dialog usages clearer with respect to parent relationship.
# Form implementation generated from reading ui file 'RefactoringRope/HelpDialog.ui' # # Created by: PyQt6 UI code generator 6.7.1 # # 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_HelpDialog(object): def setupUi(self, HelpDialog): HelpDialog.setObjectName("HelpDialog") HelpDialog.resize(700, 650) HelpDialog.setSizeGripEnabled(True) self.verticalLayout = QtWidgets.QVBoxLayout(HelpDialog) self.verticalLayout.setObjectName("verticalLayout") self.helpEdit = QtWidgets.QTextEdit(parent=HelpDialog) self.helpEdit.setReadOnly(True) self.helpEdit.setObjectName("helpEdit") self.verticalLayout.addWidget(self.helpEdit) self.searchWidget = EricTextEditSearchWidget(parent=HelpDialog) self.searchWidget.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus) self.searchWidget.setObjectName("searchWidget") self.verticalLayout.addWidget(self.searchWidget) self.buttonBox = QtWidgets.QDialogButtonBox(parent=HelpDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) self.buttonBox.setObjectName("buttonBox") self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(HelpDialog) self.buttonBox.accepted.connect(HelpDialog.accept) # type: ignore self.buttonBox.rejected.connect(HelpDialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(HelpDialog) HelpDialog.setTabOrder(self.helpEdit, self.buttonBox) def retranslateUi(self, HelpDialog): _translate = QtCore.QCoreApplication.translate HelpDialog.setWindowTitle(_translate("HelpDialog", "Help")) from eric7.EricWidgets.EricTextEditSearchWidget import EricTextEditSearchWidget