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/ExtractDialog.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_ExtractDialog(object): def setupUi(self, ExtractDialog): ExtractDialog.setObjectName("ExtractDialog") ExtractDialog.resize(500, 123) ExtractDialog.setSizeGripEnabled(True) self.verticalLayout = QtWidgets.QVBoxLayout(ExtractDialog) self.verticalLayout.setObjectName("verticalLayout") self.hboxlayout = QtWidgets.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") self.label = QtWidgets.QLabel(ExtractDialog) self.label.setObjectName("label") self.hboxlayout.addWidget(self.label) self.newNameEdit = QtWidgets.QLineEdit(ExtractDialog) self.newNameEdit.setClearButtonEnabled(True) self.newNameEdit.setObjectName("newNameEdit") self.hboxlayout.addWidget(self.newNameEdit) self.verticalLayout.addLayout(self.hboxlayout) self.similarCheckBox = QtWidgets.QCheckBox(ExtractDialog) self.similarCheckBox.setChecked(True) self.similarCheckBox.setObjectName("similarCheckBox") self.verticalLayout.addWidget(self.similarCheckBox) self.globalCheckBox = QtWidgets.QCheckBox(ExtractDialog) self.globalCheckBox.setObjectName("globalCheckBox") self.verticalLayout.addWidget(self.globalCheckBox) self.buttonBox = QtWidgets.QDialogButtonBox(ExtractDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(ExtractDialog) self.buttonBox.rejected.connect(ExtractDialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(ExtractDialog) ExtractDialog.setTabOrder(self.newNameEdit, self.similarCheckBox) ExtractDialog.setTabOrder(self.similarCheckBox, self.buttonBox) def retranslateUi(self, ExtractDialog): _translate = QtCore.QCoreApplication.translate ExtractDialog.setWindowTitle(_translate("ExtractDialog", "Extract")) self.label.setText(_translate("ExtractDialog", "New Name:")) self.newNameEdit.setToolTip(_translate("ExtractDialog", "Enter the new name")) self.similarCheckBox.setText(_translate("ExtractDialog", "Extract similar expressions/statements")) self.globalCheckBox.setText(_translate("ExtractDialog", "Make the extracted object global")) if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) ExtractDialog = QtWidgets.QDialog() ui = Ui_ExtractDialog() ui.setupUi(ExtractDialog) ExtractDialog.show() sys.exit(app.exec())