RefactoringRope/Ui_ExtractDialog.py

Sat, 26 Oct 2024 15:54:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Oct 2024 15:54:44 +0200
branch
eric7
changeset 423
9dfc89a5aadf
parent 422
f98253eed7f0
permissions
-rw-r--r--

Recompiled the forms and made some modal dialog usages clearer with respect to parent relationship.

# Form implementation generated from reading ui file 'RefactoringRope/ExtractDialog.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_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(parent=ExtractDialog)
        self.label.setObjectName("label")
        self.hboxlayout.addWidget(self.label)
        self.newNameEdit = QtWidgets.QLineEdit(parent=ExtractDialog)
        self.newNameEdit.setClearButtonEnabled(True)
        self.newNameEdit.setObjectName("newNameEdit")
        self.hboxlayout.addWidget(self.newNameEdit)
        self.verticalLayout.addLayout(self.hboxlayout)
        self.similarCheckBox = QtWidgets.QCheckBox(parent=ExtractDialog)
        self.similarCheckBox.setChecked(True)
        self.similarCheckBox.setObjectName("similarCheckBox")
        self.verticalLayout.addWidget(self.similarCheckBox)
        self.globalCheckBox = QtWidgets.QCheckBox(parent=ExtractDialog)
        self.globalCheckBox.setObjectName("globalCheckBox")
        self.verticalLayout.addWidget(self.globalCheckBox)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=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"))

eric ide

mercurial