13 def setupUi(self, AutoCompletionRopePage): |
13 def setupUi(self, AutoCompletionRopePage): |
14 AutoCompletionRopePage.setObjectName("AutoCompletionRopePage") |
14 AutoCompletionRopePage.setObjectName("AutoCompletionRopePage") |
15 AutoCompletionRopePage.resize(440, 350) |
15 AutoCompletionRopePage.resize(440, 350) |
16 self.verticalLayout = QtWidgets.QVBoxLayout(AutoCompletionRopePage) |
16 self.verticalLayout = QtWidgets.QVBoxLayout(AutoCompletionRopePage) |
17 self.verticalLayout.setObjectName("verticalLayout") |
17 self.verticalLayout.setObjectName("verticalLayout") |
18 self.headerLabel = QtWidgets.QLabel(AutoCompletionRopePage) |
18 self.headerLabel = QtWidgets.QLabel(parent=AutoCompletionRopePage) |
19 self.headerLabel.setObjectName("headerLabel") |
19 self.headerLabel.setObjectName("headerLabel") |
20 self.verticalLayout.addWidget(self.headerLabel) |
20 self.verticalLayout.addWidget(self.headerLabel) |
21 self.line15 = QtWidgets.QFrame(AutoCompletionRopePage) |
21 self.line15 = QtWidgets.QFrame(parent=AutoCompletionRopePage) |
22 self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
22 self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
23 self.line15.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) |
23 self.line15.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) |
24 self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
24 self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
25 self.line15.setObjectName("line15") |
25 self.line15.setObjectName("line15") |
26 self.verticalLayout.addWidget(self.line15) |
26 self.verticalLayout.addWidget(self.line15) |
27 self.gridLayout = QtWidgets.QGridLayout() |
27 self.gridLayout = QtWidgets.QGridLayout() |
28 self.gridLayout.setObjectName("gridLayout") |
28 self.gridLayout.setObjectName("gridLayout") |
29 self.ropeAutocompletionCheckBox = QtWidgets.QCheckBox(AutoCompletionRopePage) |
29 self.ropeAutocompletionCheckBox = QtWidgets.QCheckBox(parent=AutoCompletionRopePage) |
30 self.ropeAutocompletionCheckBox.setObjectName("ropeAutocompletionCheckBox") |
30 self.ropeAutocompletionCheckBox.setObjectName("ropeAutocompletionCheckBox") |
31 self.gridLayout.addWidget(self.ropeAutocompletionCheckBox, 0, 0, 1, 3) |
31 self.gridLayout.addWidget(self.ropeAutocompletionCheckBox, 0, 0, 1, 3) |
32 self.label = QtWidgets.QLabel(AutoCompletionRopePage) |
32 self.label = QtWidgets.QLabel(parent=AutoCompletionRopePage) |
33 self.label.setObjectName("label") |
33 self.label.setObjectName("label") |
34 self.gridLayout.addWidget(self.label, 1, 0, 1, 1) |
34 self.gridLayout.addWidget(self.label, 1, 0, 1, 1) |
35 self.acMaxfixesSpinBox = QtWidgets.QSpinBox(AutoCompletionRopePage) |
35 self.acMaxfixesSpinBox = QtWidgets.QSpinBox(parent=AutoCompletionRopePage) |
36 self.acMaxfixesSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
36 self.acMaxfixesSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
37 self.acMaxfixesSpinBox.setButtonSymbols(QtWidgets.QAbstractSpinBox.ButtonSymbols.PlusMinus) |
37 self.acMaxfixesSpinBox.setButtonSymbols(QtWidgets.QAbstractSpinBox.ButtonSymbols.PlusMinus) |
38 self.acMaxfixesSpinBox.setMinimum(1) |
38 self.acMaxfixesSpinBox.setMinimum(1) |
39 self.acMaxfixesSpinBox.setMaximum(1000) |
39 self.acMaxfixesSpinBox.setMaximum(1000) |
40 self.acMaxfixesSpinBox.setObjectName("acMaxfixesSpinBox") |
40 self.acMaxfixesSpinBox.setObjectName("acMaxfixesSpinBox") |
42 spacerItem = QtWidgets.QSpacerItem(111, 23, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
42 spacerItem = QtWidgets.QSpacerItem(111, 23, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
43 self.gridLayout.addItem(spacerItem, 1, 2, 1, 1) |
43 self.gridLayout.addItem(spacerItem, 1, 2, 1, 1) |
44 self.verticalLayout.addLayout(self.gridLayout) |
44 self.verticalLayout.addLayout(self.gridLayout) |
45 spacerItem1 = QtWidgets.QSpacerItem(221, 82, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
45 spacerItem1 = QtWidgets.QSpacerItem(221, 82, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
46 self.verticalLayout.addItem(spacerItem1) |
46 self.verticalLayout.addItem(spacerItem1) |
47 self.editPython3Button = QtWidgets.QPushButton(AutoCompletionRopePage) |
47 self.editPython3Button = QtWidgets.QPushButton(parent=AutoCompletionRopePage) |
48 self.editPython3Button.setObjectName("editPython3Button") |
48 self.editPython3Button.setObjectName("editPython3Button") |
49 self.verticalLayout.addWidget(self.editPython3Button) |
49 self.verticalLayout.addWidget(self.editPython3Button) |
50 self.createPython3Button = QtWidgets.QPushButton(AutoCompletionRopePage) |
50 self.createPython3Button = QtWidgets.QPushButton(parent=AutoCompletionRopePage) |
51 self.createPython3Button.setObjectName("createPython3Button") |
51 self.createPython3Button.setObjectName("createPython3Button") |
52 self.verticalLayout.addWidget(self.createPython3Button) |
52 self.verticalLayout.addWidget(self.createPython3Button) |
53 |
53 |
54 self.retranslateUi(AutoCompletionRopePage) |
54 self.retranslateUi(AutoCompletionRopePage) |
55 QtCore.QMetaObject.connectSlotsByName(AutoCompletionRopePage) |
55 QtCore.QMetaObject.connectSlotsByName(AutoCompletionRopePage) |
66 self.acMaxfixesSpinBox.setToolTip(_translate("AutoCompletionRopePage", "Enter the number of errors to fix before giving up")) |
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")) |
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")) |
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")) |
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")) |
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()) |
|