Tue, 10 Dec 2024 15:49:01 +0100
Updated copyright for 2025.
# Form implementation generated from reading ui file 'RefactoringRope/IntroduceFactoryDialog.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_IntroduceFactoryDialog(object): def setupUi(self, IntroduceFactoryDialog): IntroduceFactoryDialog.setObjectName("IntroduceFactoryDialog") IntroduceFactoryDialog.resize(500, 118) IntroduceFactoryDialog.setSizeGripEnabled(True) self.vboxlayout = QtWidgets.QVBoxLayout(IntroduceFactoryDialog) self.vboxlayout.setContentsMargins(6, 6, 6, 6) self.vboxlayout.setObjectName("vboxlayout") self.hboxlayout = QtWidgets.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") self.label = QtWidgets.QLabel(parent=IntroduceFactoryDialog) self.label.setObjectName("label") self.hboxlayout.addWidget(self.label) self.nameEdit = QtWidgets.QLineEdit(parent=IntroduceFactoryDialog) self.nameEdit.setClearButtonEnabled(True) self.nameEdit.setObjectName("nameEdit") self.hboxlayout.addWidget(self.nameEdit) self.vboxlayout.addLayout(self.hboxlayout) self.staticButton = QtWidgets.QRadioButton(parent=IntroduceFactoryDialog) self.staticButton.setChecked(True) self.staticButton.setObjectName("staticButton") self.vboxlayout.addWidget(self.staticButton) self.globalButton = QtWidgets.QRadioButton(parent=IntroduceFactoryDialog) self.globalButton.setObjectName("globalButton") self.vboxlayout.addWidget(self.globalButton) self.buttonBox = QtWidgets.QDialogButtonBox(parent=IntroduceFactoryDialog) 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(IntroduceFactoryDialog) self.buttonBox.rejected.connect(IntroduceFactoryDialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(IntroduceFactoryDialog) IntroduceFactoryDialog.setTabOrder(self.nameEdit, self.staticButton) IntroduceFactoryDialog.setTabOrder(self.staticButton, self.globalButton) IntroduceFactoryDialog.setTabOrder(self.globalButton, self.buttonBox) def retranslateUi(self, IntroduceFactoryDialog): _translate = QtCore.QCoreApplication.translate IntroduceFactoryDialog.setWindowTitle(_translate("IntroduceFactoryDialog", "Introduce Factory Method")) self.label.setText(_translate("IntroduceFactoryDialog", "Factory Method Name:")) self.nameEdit.setToolTip(_translate("IntroduceFactoryDialog", "Enter the name of the factory method")) self.staticButton.setToolTip(_translate("IntroduceFactoryDialog", "Select to make the factory method a static method")) self.staticButton.setText(_translate("IntroduceFactoryDialog", "Use static method")) self.globalButton.setToolTip(_translate("IntroduceFactoryDialog", "Select to make the factory method a global function")) self.globalButton.setText(_translate("IntroduceFactoryDialog", "Use global function"))