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/IntroduceParameterDialog.ui' # # Created by: PyQt6 UI code generator 6.3.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_IntroduceParameterDialog(object): def setupUi(self, IntroduceParameterDialog): IntroduceParameterDialog.setObjectName("IntroduceParameterDialog") IntroduceParameterDialog.resize(500, 66) IntroduceParameterDialog.setSizeGripEnabled(True) self.vboxlayout = QtWidgets.QVBoxLayout(IntroduceParameterDialog) self.vboxlayout.setContentsMargins(6, 6, 6, 6) self.vboxlayout.setSpacing(6) self.vboxlayout.setObjectName("vboxlayout") self.hboxlayout = QtWidgets.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") self.label = QtWidgets.QLabel(IntroduceParameterDialog) self.label.setObjectName("label") self.hboxlayout.addWidget(self.label) self.nameEdit = QtWidgets.QLineEdit(IntroduceParameterDialog) self.nameEdit.setClearButtonEnabled(True) self.nameEdit.setObjectName("nameEdit") self.hboxlayout.addWidget(self.nameEdit) self.vboxlayout.addLayout(self.hboxlayout) self.buttonBox = QtWidgets.QDialogButtonBox(IntroduceParameterDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") self.vboxlayout.addWidget(self.buttonBox) self.retranslateUi(IntroduceParameterDialog) self.buttonBox.rejected.connect(IntroduceParameterDialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(IntroduceParameterDialog) def retranslateUi(self, IntroduceParameterDialog): _translate = QtCore.QCoreApplication.translate IntroduceParameterDialog.setWindowTitle(_translate("IntroduceParameterDialog", "Introduce Parameter")) self.label.setText(_translate("IntroduceParameterDialog", "New Parameter Name:")) if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) IntroduceParameterDialog = QtWidgets.QDialog() ui = Ui_IntroduceParameterDialog() ui.setupUi(IntroduceParameterDialog) IntroduceParameterDialog.show() sys.exit(app.exec())