RefactoringRope/Ui_RestructureDialog.py

branch
eric7
changeset 423
9dfc89a5aadf
parent 422
f98253eed7f0
diff -r f98253eed7f0 -r 9dfc89a5aadf RefactoringRope/Ui_RestructureDialog.py
--- a/RefactoringRope/Ui_RestructureDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_RestructureDialog.py	Sat Oct 26 15:54:44 2024 +0200
@@ -1,6 +1,6 @@
-# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/RestructureDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/RestructureDialog.ui'
 #
-# Created by: PyQt6 UI code generator 6.3.1
+# 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.
@@ -17,11 +17,11 @@
         self.gridlayout = QtWidgets.QGridLayout(RestructureDialog)
         self.gridlayout.setContentsMargins(6, 6, 6, 6)
         self.gridlayout.setObjectName("gridlayout")
-        self.label = QtWidgets.QLabel(RestructureDialog)
+        self.label = QtWidgets.QLabel(parent=RestructureDialog)
         self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
         self.label.setObjectName("label")
         self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
-        self.patternEdit = QtWidgets.QTextEdit(RestructureDialog)
+        self.patternEdit = QtWidgets.QTextEdit(parent=RestructureDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(1)
@@ -30,11 +30,11 @@
         self.patternEdit.setAcceptRichText(False)
         self.patternEdit.setObjectName("patternEdit")
         self.gridlayout.addWidget(self.patternEdit, 0, 1, 1, 1)
-        self.label_2 = QtWidgets.QLabel(RestructureDialog)
+        self.label_2 = QtWidgets.QLabel(parent=RestructureDialog)
         self.label_2.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
         self.label_2.setObjectName("label_2")
         self.gridlayout.addWidget(self.label_2, 1, 0, 1, 1)
-        self.goalEdit = QtWidgets.QTextEdit(RestructureDialog)
+        self.goalEdit = QtWidgets.QTextEdit(parent=RestructureDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(1)
@@ -43,7 +43,7 @@
         self.goalEdit.setAcceptRichText(False)
         self.goalEdit.setObjectName("goalEdit")
         self.gridlayout.addWidget(self.goalEdit, 1, 1, 1, 1)
-        self.groupBox = QtWidgets.QGroupBox(RestructureDialog)
+        self.groupBox = QtWidgets.QGroupBox(parent=RestructureDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(2)
@@ -53,13 +53,13 @@
         self.vboxlayout = QtWidgets.QVBoxLayout(self.groupBox)
         self.vboxlayout.setContentsMargins(6, 6, 6, 6)
         self.vboxlayout.setObjectName("vboxlayout")
-        self.argsEdit = QtWidgets.QTextEdit(self.groupBox)
+        self.argsEdit = QtWidgets.QTextEdit(parent=self.groupBox)
         self.argsEdit.setLineWrapMode(QtWidgets.QTextEdit.LineWrapMode.NoWrap)
         self.argsEdit.setAcceptRichText(False)
         self.argsEdit.setObjectName("argsEdit")
         self.vboxlayout.addWidget(self.argsEdit)
         self.gridlayout.addWidget(self.groupBox, 2, 0, 1, 2)
-        self.groupBox_2 = QtWidgets.QGroupBox(RestructureDialog)
+        self.groupBox_2 = QtWidgets.QGroupBox(parent=RestructureDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(2)
@@ -69,13 +69,13 @@
         self.vboxlayout1 = QtWidgets.QVBoxLayout(self.groupBox_2)
         self.vboxlayout1.setContentsMargins(6, 6, 6, 6)
         self.vboxlayout1.setObjectName("vboxlayout1")
-        self.importsEdit = QtWidgets.QTextEdit(self.groupBox_2)
+        self.importsEdit = QtWidgets.QTextEdit(parent=self.groupBox_2)
         self.importsEdit.setLineWrapMode(QtWidgets.QTextEdit.LineWrapMode.NoWrap)
         self.importsEdit.setAcceptRichText(False)
         self.importsEdit.setObjectName("importsEdit")
         self.vboxlayout1.addWidget(self.importsEdit)
         self.gridlayout.addWidget(self.groupBox_2, 3, 0, 1, 2)
-        self.buttonBox = QtWidgets.QDialogButtonBox(RestructureDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=RestructureDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.NoButton|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -118,13 +118,3 @@
         self.groupBox_2.setTitle(_translate("RestructureDialog", "Imports"))
         self.importsEdit.setToolTip(_translate("RestructureDialog", "Add imports here. These imports are added to changed files. Like:\n"
 "  from mymod import AClass"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    RestructureDialog = QtWidgets.QDialog()
-    ui = Ui_RestructureDialog()
-    ui.setupUi(RestructureDialog)
-    RestructureDialog.show()
-    sys.exit(app.exec())

eric ide

mercurial