|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Preferences/ConfigurationPages/EditorSyntaxPage.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.7.0 |
|
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_EditorSyntaxPage(object): |
|
13 def setupUi(self, EditorSyntaxPage): |
|
14 EditorSyntaxPage.setObjectName("EditorSyntaxPage") |
|
15 EditorSyntaxPage.resize(500, 500) |
|
16 EditorSyntaxPage.setWindowTitle("") |
|
17 self.verticalLayout_3 = QtWidgets.QVBoxLayout(EditorSyntaxPage) |
|
18 self.verticalLayout_3.setObjectName("verticalLayout_3") |
|
19 self.headerLabel = QtWidgets.QLabel(parent=EditorSyntaxPage) |
|
20 self.headerLabel.setObjectName("headerLabel") |
|
21 self.verticalLayout_3.addWidget(self.headerLabel) |
|
22 self.line2 = QtWidgets.QFrame(parent=EditorSyntaxPage) |
|
23 self.line2.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
24 self.line2.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) |
|
25 self.line2.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
26 self.line2.setObjectName("line2") |
|
27 self.verticalLayout_3.addWidget(self.line2) |
|
28 self.automaticSyntaxCheckCheckBox = QtWidgets.QGroupBox(parent=EditorSyntaxPage) |
|
29 self.automaticSyntaxCheckCheckBox.setObjectName("automaticSyntaxCheckCheckBox") |
|
30 self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.automaticSyntaxCheckCheckBox) |
|
31 self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
32 self.onlineCheckBox = QtWidgets.QGroupBox(parent=self.automaticSyntaxCheckCheckBox) |
|
33 self.onlineCheckBox.setCheckable(True) |
|
34 self.onlineCheckBox.setObjectName("onlineCheckBox") |
|
35 self.horizontalLayout = QtWidgets.QHBoxLayout(self.onlineCheckBox) |
|
36 self.horizontalLayout.setObjectName("horizontalLayout") |
|
37 self.label = QtWidgets.QLabel(parent=self.onlineCheckBox) |
|
38 self.label.setObjectName("label") |
|
39 self.horizontalLayout.addWidget(self.label) |
|
40 self.onlineTimeoutSpinBox = QtWidgets.QSpinBox(parent=self.onlineCheckBox) |
|
41 self.onlineTimeoutSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
42 self.onlineTimeoutSpinBox.setButtonSymbols(QtWidgets.QAbstractSpinBox.ButtonSymbols.PlusMinus) |
|
43 self.onlineTimeoutSpinBox.setProperty("value", 5) |
|
44 self.onlineTimeoutSpinBox.setObjectName("onlineTimeoutSpinBox") |
|
45 self.horizontalLayout.addWidget(self.onlineTimeoutSpinBox) |
|
46 spacerItem = QtWidgets.QSpacerItem(205, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
47 self.horizontalLayout.addItem(spacerItem) |
|
48 self.verticalLayout_2.addWidget(self.onlineCheckBox) |
|
49 self.groupBox_2 = QtWidgets.QGroupBox(parent=self.automaticSyntaxCheckCheckBox) |
|
50 self.groupBox_2.setObjectName("groupBox_2") |
|
51 self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_2) |
|
52 self.verticalLayout.setObjectName("verticalLayout") |
|
53 self.includeCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_2) |
|
54 self.includeCheckBox.setObjectName("includeCheckBox") |
|
55 self.verticalLayout.addWidget(self.includeCheckBox) |
|
56 self.ignoreStarImportCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_2) |
|
57 self.ignoreStarImportCheckBox.setObjectName("ignoreStarImportCheckBox") |
|
58 self.verticalLayout.addWidget(self.ignoreStarImportCheckBox) |
|
59 self.label_2 = QtWidgets.QLabel(parent=self.groupBox_2) |
|
60 self.label_2.setObjectName("label_2") |
|
61 self.verticalLayout.addWidget(self.label_2) |
|
62 self.builtinsEdit = QtWidgets.QPlainTextEdit(parent=self.groupBox_2) |
|
63 self.builtinsEdit.setObjectName("builtinsEdit") |
|
64 self.verticalLayout.addWidget(self.builtinsEdit) |
|
65 self.verticalLayout_2.addWidget(self.groupBox_2) |
|
66 self.verticalLayout_3.addWidget(self.automaticSyntaxCheckCheckBox) |
|
67 spacerItem1 = QtWidgets.QSpacerItem(20, 108, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
|
68 self.verticalLayout_3.addItem(spacerItem1) |
|
69 |
|
70 self.retranslateUi(EditorSyntaxPage) |
|
71 QtCore.QMetaObject.connectSlotsByName(EditorSyntaxPage) |
|
72 EditorSyntaxPage.setTabOrder(self.automaticSyntaxCheckCheckBox, self.onlineCheckBox) |
|
73 EditorSyntaxPage.setTabOrder(self.onlineCheckBox, self.onlineTimeoutSpinBox) |
|
74 EditorSyntaxPage.setTabOrder(self.onlineTimeoutSpinBox, self.includeCheckBox) |
|
75 EditorSyntaxPage.setTabOrder(self.includeCheckBox, self.ignoreStarImportCheckBox) |
|
76 EditorSyntaxPage.setTabOrder(self.ignoreStarImportCheckBox, self.builtinsEdit) |
|
77 |
|
78 def retranslateUi(self, EditorSyntaxPage): |
|
79 _translate = QtCore.QCoreApplication.translate |
|
80 self.headerLabel.setText(_translate("EditorSyntaxPage", "<b>Configure Code Checker settings</b>")) |
|
81 self.automaticSyntaxCheckCheckBox.setToolTip(_translate("EditorSyntaxPage", "Select, whether source files should be checked automatically for syntax errors")) |
|
82 self.automaticSyntaxCheckCheckBox.setWhatsThis(_translate("EditorSyntaxPage", "<b>Automatic Syntax Check</b><p>Select to enable the automatic syntax checker. The syntax is checked, when a file is loaded or saved or the programming language of the editor is selected.</p>")) |
|
83 self.automaticSyntaxCheckCheckBox.setTitle(_translate("EditorSyntaxPage", "Automatic Syntax Check")) |
|
84 self.onlineCheckBox.setToolTip(_translate("EditorSyntaxPage", "Select to enable the online syntax checker")) |
|
85 self.onlineCheckBox.setWhatsThis(_translate("EditorSyntaxPage", "<b>Online Syntax Check</b><p>Select this to enable syntax checks while typing. The check is performed, if typing is interrupted for the configured timeout period.</p>")) |
|
86 self.onlineCheckBox.setTitle(_translate("EditorSyntaxPage", "Online Syntax Check")) |
|
87 self.label.setText(_translate("EditorSyntaxPage", "Timeout Interval:")) |
|
88 self.onlineTimeoutSpinBox.setToolTip(_translate("EditorSyntaxPage", "Enter the timeout for the online syntax checker")) |
|
89 self.onlineTimeoutSpinBox.setWhatsThis(_translate("EditorSyntaxPage", "<b>Timeout Interval</b><p>Enter the timeout interval for the online syntax check. The check is performed, if typing is interrupted for the configured timeout period.</p>")) |
|
90 self.onlineTimeoutSpinBox.setSuffix(_translate("EditorSyntaxPage", " s")) |
|
91 self.groupBox_2.setTitle(_translate("EditorSyntaxPage", "PyFlakes")) |
|
92 self.includeCheckBox.setToolTip(_translate("EditorSyntaxPage", "Select to include a PyFlakes check after the syntax check")) |
|
93 self.includeCheckBox.setText(_translate("EditorSyntaxPage", "Include PyFlakes Checks after syntax check")) |
|
94 self.ignoreStarImportCheckBox.setToolTip(_translate("EditorSyntaxPage", "Select to suppress star import warnings")) |
|
95 self.ignoreStarImportCheckBox.setText(_translate("EditorSyntaxPage", "Suppress star import warnings")) |
|
96 self.label_2.setText(_translate("EditorSyntaxPage", "Additional \'builtins\' Names:")) |
|
97 self.builtinsEdit.setToolTip(_translate("EditorSyntaxPage", "Enter additional \'builtins\' names separated by whitespace.")) |