--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RefactoringRope/Ui_MethodToMethodObjectDialog.py Sat Oct 26 15:50:43 2024 +0200 @@ -0,0 +1,54 @@ +# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/MethodToMethodObjectDialog.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_MethodToMethodObjectDialog(object): + def setupUi(self, MethodToMethodObjectDialog): + MethodToMethodObjectDialog.setObjectName("MethodToMethodObjectDialog") + MethodToMethodObjectDialog.resize(500, 66) + MethodToMethodObjectDialog.setSizeGripEnabled(True) + self.vboxlayout = QtWidgets.QVBoxLayout(MethodToMethodObjectDialog) + 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(MethodToMethodObjectDialog) + self.label.setObjectName("label") + self.hboxlayout.addWidget(self.label) + self.nameEdit = QtWidgets.QLineEdit(MethodToMethodObjectDialog) + self.nameEdit.setClearButtonEnabled(True) + self.nameEdit.setObjectName("nameEdit") + self.hboxlayout.addWidget(self.nameEdit) + self.vboxlayout.addLayout(self.hboxlayout) + self.buttonBox = QtWidgets.QDialogButtonBox(MethodToMethodObjectDialog) + 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(MethodToMethodObjectDialog) + self.buttonBox.rejected.connect(MethodToMethodObjectDialog.reject) # type: ignore + QtCore.QMetaObject.connectSlotsByName(MethodToMethodObjectDialog) + + def retranslateUi(self, MethodToMethodObjectDialog): + _translate = QtCore.QCoreApplication.translate + MethodToMethodObjectDialog.setWindowTitle(_translate("MethodToMethodObjectDialog", "Replace Method With Method Object")) + self.label.setText(_translate("MethodToMethodObjectDialog", "New Class Name:")) + + +if __name__ == "__main__": + import sys + app = QtWidgets.QApplication(sys.argv) + MethodToMethodObjectDialog = QtWidgets.QDialog() + ui = Ui_MethodToMethodObjectDialog() + ui.setupUi(MethodToMethodObjectDialog) + MethodToMethodObjectDialog.show() + sys.exit(app.exec())