Sat, 26 Oct 2024 15:54:44 +0200
Recompiled the forms and made some modal dialog usages clearer with respect to parent relationship.
# Form implementation generated from reading ui file 'RefactoringRope/ChangeOccurrencesDialog.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_ChangeOccurrencesDialog(object): def setupUi(self, ChangeOccurrencesDialog): ChangeOccurrencesDialog.setObjectName("ChangeOccurrencesDialog") ChangeOccurrencesDialog.resize(500, 138) ChangeOccurrencesDialog.setSizeGripEnabled(True) self.vboxlayout = QtWidgets.QVBoxLayout(ChangeOccurrencesDialog) self.vboxlayout.setContentsMargins(6, 6, 6, 6) self.vboxlayout.setObjectName("vboxlayout") self.hboxlayout = QtWidgets.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") self.label = QtWidgets.QLabel(parent=ChangeOccurrencesDialog) self.label.setObjectName("label") self.hboxlayout.addWidget(self.label) self.replaceEdit = QtWidgets.QLineEdit(parent=ChangeOccurrencesDialog) self.replaceEdit.setClearButtonEnabled(True) self.replaceEdit.setObjectName("replaceEdit") self.hboxlayout.addWidget(self.replaceEdit) self.vboxlayout.addLayout(self.hboxlayout) self.onlyCallsCheckBox = QtWidgets.QCheckBox(parent=ChangeOccurrencesDialog) self.onlyCallsCheckBox.setObjectName("onlyCallsCheckBox") self.vboxlayout.addWidget(self.onlyCallsCheckBox) self.readsCheckBox = QtWidgets.QCheckBox(parent=ChangeOccurrencesDialog) self.readsCheckBox.setChecked(True) self.readsCheckBox.setObjectName("readsCheckBox") self.vboxlayout.addWidget(self.readsCheckBox) self.writesCheckBox = QtWidgets.QCheckBox(parent=ChangeOccurrencesDialog) self.writesCheckBox.setChecked(True) self.writesCheckBox.setObjectName("writesCheckBox") self.vboxlayout.addWidget(self.writesCheckBox) self.buttonBox = QtWidgets.QDialogButtonBox(parent=ChangeOccurrencesDialog) 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(ChangeOccurrencesDialog) self.buttonBox.rejected.connect(ChangeOccurrencesDialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(ChangeOccurrencesDialog) def retranslateUi(self, ChangeOccurrencesDialog): _translate = QtCore.QCoreApplication.translate ChangeOccurrencesDialog.setWindowTitle(_translate("ChangeOccurrencesDialog", "Change Occurrences")) self.label.setText(_translate("ChangeOccurrencesDialog", "Replace occurrences with:")) self.replaceEdit.setToolTip(_translate("ChangeOccurrencesDialog", "Enter the text occurrences should be replaced with")) self.onlyCallsCheckBox.setToolTip(_translate("ChangeOccurrencesDialog", "Select to change occurrences, that are function or method calls.\n" "\"Reads\" must be switched on as well.")) self.onlyCallsCheckBox.setText(_translate("ChangeOccurrencesDialog", "Do only for calls")) self.readsCheckBox.setToolTip(_translate("ChangeOccurrencesDialog", "Select to change occurrences with read access")) self.readsCheckBox.setText(_translate("ChangeOccurrencesDialog", "Reads")) self.writesCheckBox.setToolTip(_translate("ChangeOccurrencesDialog", "Select to change occurrences with write access")) self.writesCheckBox.setText(_translate("ChangeOccurrencesDialog", "Writes"))