|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/ConfigurationPage/AutoCompletionRopePage.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.3.1 |
|
4 # |
|
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
|
6 # run again. Do not edit this file unless you know what you are doing. |
|
7 |
|
8 |
|
9 from PyQt6 import QtCore, QtGui, QtWidgets |
|
10 |
|
11 |
|
12 class Ui_AutoCompletionRopePage(object): |
|
13 def setupUi(self, AutoCompletionRopePage): |
|
14 AutoCompletionRopePage.setObjectName("AutoCompletionRopePage") |
|
15 AutoCompletionRopePage.resize(440, 350) |
|
16 self.verticalLayout = QtWidgets.QVBoxLayout(AutoCompletionRopePage) |
|
17 self.verticalLayout.setObjectName("verticalLayout") |
|
18 self.headerLabel = QtWidgets.QLabel(AutoCompletionRopePage) |
|
19 self.headerLabel.setObjectName("headerLabel") |
|
20 self.verticalLayout.addWidget(self.headerLabel) |
|
21 self.line15 = QtWidgets.QFrame(AutoCompletionRopePage) |
|
22 self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
23 self.line15.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) |
|
24 self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
25 self.line15.setObjectName("line15") |
|
26 self.verticalLayout.addWidget(self.line15) |
|
27 self.gridLayout = QtWidgets.QGridLayout() |
|
28 self.gridLayout.setObjectName("gridLayout") |
|
29 self.ropeAutocompletionCheckBox = QtWidgets.QCheckBox(AutoCompletionRopePage) |
|
30 self.ropeAutocompletionCheckBox.setObjectName("ropeAutocompletionCheckBox") |
|
31 self.gridLayout.addWidget(self.ropeAutocompletionCheckBox, 0, 0, 1, 3) |
|
32 self.label = QtWidgets.QLabel(AutoCompletionRopePage) |
|
33 self.label.setObjectName("label") |
|
34 self.gridLayout.addWidget(self.label, 1, 0, 1, 1) |
|
35 self.acMaxfixesSpinBox = QtWidgets.QSpinBox(AutoCompletionRopePage) |
|
36 self.acMaxfixesSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
37 self.acMaxfixesSpinBox.setButtonSymbols(QtWidgets.QAbstractSpinBox.ButtonSymbols.PlusMinus) |
|
38 self.acMaxfixesSpinBox.setMinimum(1) |
|
39 self.acMaxfixesSpinBox.setMaximum(1000) |
|
40 self.acMaxfixesSpinBox.setObjectName("acMaxfixesSpinBox") |
|
41 self.gridLayout.addWidget(self.acMaxfixesSpinBox, 1, 1, 1, 1) |
|
42 spacerItem = QtWidgets.QSpacerItem(111, 23, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
43 self.gridLayout.addItem(spacerItem, 1, 2, 1, 1) |
|
44 self.verticalLayout.addLayout(self.gridLayout) |
|
45 spacerItem1 = QtWidgets.QSpacerItem(221, 82, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
|
46 self.verticalLayout.addItem(spacerItem1) |
|
47 self.editPython3Button = QtWidgets.QPushButton(AutoCompletionRopePage) |
|
48 self.editPython3Button.setObjectName("editPython3Button") |
|
49 self.verticalLayout.addWidget(self.editPython3Button) |
|
50 self.createPython3Button = QtWidgets.QPushButton(AutoCompletionRopePage) |
|
51 self.createPython3Button.setObjectName("createPython3Button") |
|
52 self.verticalLayout.addWidget(self.createPython3Button) |
|
53 |
|
54 self.retranslateUi(AutoCompletionRopePage) |
|
55 QtCore.QMetaObject.connectSlotsByName(AutoCompletionRopePage) |
|
56 AutoCompletionRopePage.setTabOrder(self.ropeAutocompletionCheckBox, self.acMaxfixesSpinBox) |
|
57 AutoCompletionRopePage.setTabOrder(self.acMaxfixesSpinBox, self.editPython3Button) |
|
58 AutoCompletionRopePage.setTabOrder(self.editPython3Button, self.createPython3Button) |
|
59 |
|
60 def retranslateUi(self, AutoCompletionRopePage): |
|
61 _translate = QtCore.QCoreApplication.translate |
|
62 self.headerLabel.setText(_translate("AutoCompletionRopePage", "<b>Configure Rope Autocompletion</b>")) |
|
63 self.ropeAutocompletionCheckBox.setToolTip(_translate("AutoCompletionRopePage", "Select, whether the rope autocompletion support shall be enabled.")) |
|
64 self.ropeAutocompletionCheckBox.setText(_translate("AutoCompletionRopePage", "Enable autocompletion")) |
|
65 self.label.setText(_translate("AutoCompletionRopePage", "Number of errors to fix:")) |
|
66 self.acMaxfixesSpinBox.setToolTip(_translate("AutoCompletionRopePage", "Enter the number of errors to fix before giving up")) |
|
67 self.editPython3Button.setToolTip(_translate("AutoCompletionRopePage", "Press to edit the rope configuration for Python3")) |
|
68 self.editPython3Button.setText(_translate("AutoCompletionRopePage", "Edit Python 3 rope configuration")) |
|
69 self.createPython3Button.setToolTip(_translate("AutoCompletionRopePage", "Press to create a new rope default configuration for Python3")) |
|
70 self.createPython3Button.setText(_translate("AutoCompletionRopePage", "Create a Python3 rope configuration")) |
|
71 |
|
72 |
|
73 if __name__ == "__main__": |
|
74 import sys |
|
75 app = QtWidgets.QApplication(sys.argv) |
|
76 AutoCompletionRopePage = QtWidgets.QWidget() |
|
77 ui = Ui_AutoCompletionRopePage() |
|
78 ui.setupUi(AutoCompletionRopePage) |
|
79 AutoCompletionRopePage.show() |
|
80 sys.exit(app.exec()) |