RefactoringRope/ConfigurationPage/Ui_AutoCompletionRopePage.py

branch
eric7
changeset 422
f98253eed7f0
child 423
9dfc89a5aadf
diff -r e3167d354ab6 -r f98253eed7f0 RefactoringRope/ConfigurationPage/Ui_AutoCompletionRopePage.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RefactoringRope/ConfigurationPage/Ui_AutoCompletionRopePage.py	Sat Oct 26 15:50:43 2024 +0200
@@ -0,0 +1,80 @@
+# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/ConfigurationPage/AutoCompletionRopePage.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_AutoCompletionRopePage(object):
+    def setupUi(self, AutoCompletionRopePage):
+        AutoCompletionRopePage.setObjectName("AutoCompletionRopePage")
+        AutoCompletionRopePage.resize(440, 350)
+        self.verticalLayout = QtWidgets.QVBoxLayout(AutoCompletionRopePage)
+        self.verticalLayout.setObjectName("verticalLayout")
+        self.headerLabel = QtWidgets.QLabel(AutoCompletionRopePage)
+        self.headerLabel.setObjectName("headerLabel")
+        self.verticalLayout.addWidget(self.headerLabel)
+        self.line15 = QtWidgets.QFrame(AutoCompletionRopePage)
+        self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
+        self.line15.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
+        self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
+        self.line15.setObjectName("line15")
+        self.verticalLayout.addWidget(self.line15)
+        self.gridLayout = QtWidgets.QGridLayout()
+        self.gridLayout.setObjectName("gridLayout")
+        self.ropeAutocompletionCheckBox = QtWidgets.QCheckBox(AutoCompletionRopePage)
+        self.ropeAutocompletionCheckBox.setObjectName("ropeAutocompletionCheckBox")
+        self.gridLayout.addWidget(self.ropeAutocompletionCheckBox, 0, 0, 1, 3)
+        self.label = QtWidgets.QLabel(AutoCompletionRopePage)
+        self.label.setObjectName("label")
+        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
+        self.acMaxfixesSpinBox = QtWidgets.QSpinBox(AutoCompletionRopePage)
+        self.acMaxfixesSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
+        self.acMaxfixesSpinBox.setButtonSymbols(QtWidgets.QAbstractSpinBox.ButtonSymbols.PlusMinus)
+        self.acMaxfixesSpinBox.setMinimum(1)
+        self.acMaxfixesSpinBox.setMaximum(1000)
+        self.acMaxfixesSpinBox.setObjectName("acMaxfixesSpinBox")
+        self.gridLayout.addWidget(self.acMaxfixesSpinBox, 1, 1, 1, 1)
+        spacerItem = QtWidgets.QSpacerItem(111, 23, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
+        self.gridLayout.addItem(spacerItem, 1, 2, 1, 1)
+        self.verticalLayout.addLayout(self.gridLayout)
+        spacerItem1 = QtWidgets.QSpacerItem(221, 82, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
+        self.verticalLayout.addItem(spacerItem1)
+        self.editPython3Button = QtWidgets.QPushButton(AutoCompletionRopePage)
+        self.editPython3Button.setObjectName("editPython3Button")
+        self.verticalLayout.addWidget(self.editPython3Button)
+        self.createPython3Button = QtWidgets.QPushButton(AutoCompletionRopePage)
+        self.createPython3Button.setObjectName("createPython3Button")
+        self.verticalLayout.addWidget(self.createPython3Button)
+
+        self.retranslateUi(AutoCompletionRopePage)
+        QtCore.QMetaObject.connectSlotsByName(AutoCompletionRopePage)
+        AutoCompletionRopePage.setTabOrder(self.ropeAutocompletionCheckBox, self.acMaxfixesSpinBox)
+        AutoCompletionRopePage.setTabOrder(self.acMaxfixesSpinBox, self.editPython3Button)
+        AutoCompletionRopePage.setTabOrder(self.editPython3Button, self.createPython3Button)
+
+    def retranslateUi(self, AutoCompletionRopePage):
+        _translate = QtCore.QCoreApplication.translate
+        self.headerLabel.setText(_translate("AutoCompletionRopePage", "<b>Configure Rope Autocompletion</b>"))
+        self.ropeAutocompletionCheckBox.setToolTip(_translate("AutoCompletionRopePage", "Select, whether the rope autocompletion support shall be enabled."))
+        self.ropeAutocompletionCheckBox.setText(_translate("AutoCompletionRopePage", "Enable autocompletion"))
+        self.label.setText(_translate("AutoCompletionRopePage", "Number of errors to fix:"))
+        self.acMaxfixesSpinBox.setToolTip(_translate("AutoCompletionRopePage", "Enter the number of errors to fix before giving up"))
+        self.editPython3Button.setToolTip(_translate("AutoCompletionRopePage", "Press to edit the rope configuration for Python3"))
+        self.editPython3Button.setText(_translate("AutoCompletionRopePage", "Edit Python 3 rope configuration"))
+        self.createPython3Button.setToolTip(_translate("AutoCompletionRopePage", "Press to create a new rope default configuration for Python3"))
+        self.createPython3Button.setText(_translate("AutoCompletionRopePage", "Create a Python3 rope configuration"))
+
+
+if __name__ == "__main__":
+    import sys
+    app = QtWidgets.QApplication(sys.argv)
+    AutoCompletionRopePage = QtWidgets.QWidget()
+    ui = Ui_AutoCompletionRopePage()
+    ui.setupUi(AutoCompletionRopePage)
+    AutoCompletionRopePage.show()
+    sys.exit(app.exec())

eric ide

mercurial