Sat, 26 Oct 2024 15:50:43 +0200
- change to the new style header
- included the compiled form files
# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/HelpDialog.ui' # # Created by: PyQt6 UI code generator 6.4.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_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(HelpDialog) self.helpEdit.setReadOnly(True) self.helpEdit.setObjectName("helpEdit") self.verticalLayout.addWidget(self.helpEdit) self.searchWidget = EricTextEditSearchWidget(HelpDialog) self.searchWidget.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus) self.searchWidget.setObjectName("searchWidget") self.verticalLayout.addWidget(self.searchWidget) self.buttonBox = QtWidgets.QDialogButtonBox(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 if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) HelpDialog = QtWidgets.QDialog() ui = Ui_HelpDialog() ui.setupUi(HelpDialog) HelpDialog.show() sys.exit(app.exec())