4.10.4.ui_console_settings.py

4.10.4 compiled - Richard Duivenvoorde, 2014-06-17 03:14 AM

Download (42.4 KB)

 
1
# -*- coding: utf-8 -*-
2

    
3
# Form implementation generated from reading ui file '/home/richard/dev/qgis/git/qgis22/python/console/console_settings.ui'
4
#
5
# Created: Mon May 26 18:46:47 2014
6
#      by: PyQt4 UI code generator 4.10.4
7
#
8
# WARNING! All changes made in this file will be lost!
9

    
10
from PyQt4 import QtCore, QtGui
11

    
12
try:
13
    _fromUtf8 = QtCore.QString.fromUtf8
14
except AttributeError:
15
    def _fromUtf8(s):
16
        return s
17

    
18
try:
19
    _encoding = QtGui.QApplication.UnicodeUTF8
20
    def _translate(context, text, disambig):
21
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
22
except AttributeError:
23
    def _translate(context, text, disambig):
24
        return QtGui.QApplication.translate(context, text, disambig)
25

    
26
class Ui_SettingsDialogPythonConsole(object):
27
    def setupUi(self, SettingsDialogPythonConsole):
28
        SettingsDialogPythonConsole.setObjectName(_fromUtf8("SettingsDialogPythonConsole"))
29
        SettingsDialogPythonConsole.setWindowModality(QtCore.Qt.NonModal)
30
        SettingsDialogPythonConsole.resize(583, 569)
31
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
32
        sizePolicy.setHorizontalStretch(0)
33
        sizePolicy.setVerticalStretch(0)
34
        sizePolicy.setHeightForWidth(SettingsDialogPythonConsole.sizePolicy().hasHeightForWidth())
35
        SettingsDialogPythonConsole.setSizePolicy(sizePolicy)
36
        SettingsDialogPythonConsole.setMinimumSize(QtCore.QSize(500, 0))
37
        font = QtGui.QFont()
38
        font.setBold(False)
39
        font.setWeight(50)
40
        SettingsDialogPythonConsole.setFont(font)
41
        SettingsDialogPythonConsole.setModal(True)
42
        self.gridLayout_6 = QtGui.QGridLayout(SettingsDialogPythonConsole)
43
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
44
        self.buttonBox = QtGui.QDialogButtonBox(SettingsDialogPythonConsole)
45
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
46
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
47
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
48
        self.gridLayout_6.addWidget(self.buttonBox, 1, 0, 1, 1)
49
        self.scrollArea = QtGui.QScrollArea(SettingsDialogPythonConsole)
50
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
51
        self.scrollArea.setWidgetResizable(True)
52
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
53
        self.scrollAreaWidgetContents = QtGui.QWidget()
54
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, -370, 554, 1302))
55
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
56
        self.gridLayout_2 = QtGui.QGridLayout(self.scrollAreaWidgetContents)
57
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
58
        self.groupBox_2 = QtGui.QGroupBox(self.scrollAreaWidgetContents)
59
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
60
        self.gridLayout_7 = QtGui.QGridLayout(self.groupBox_2)
61
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
62
        self.preloadAPI = QtGui.QCheckBox(self.groupBox_2)
63
        self.preloadAPI.setChecked(True)
64
        self.preloadAPI.setObjectName(_fromUtf8("preloadAPI"))
65
        self.gridLayout_7.addWidget(self.preloadAPI, 0, 0, 1, 1)
66
        self.gridLayout = QtGui.QGridLayout()
67
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
68
        self.verticalLayout = QtGui.QVBoxLayout()
69
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
70
        self.addAPIpath = QtGui.QPushButton(self.groupBox_2)
71
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
72
        sizePolicy.setHorizontalStretch(0)
73
        sizePolicy.setVerticalStretch(0)
74
        sizePolicy.setHeightForWidth(self.addAPIpath.sizePolicy().hasHeightForWidth())
75
        self.addAPIpath.setSizePolicy(sizePolicy)
76
        self.addAPIpath.setMinimumSize(QtCore.QSize(32, 32))
77
        self.addAPIpath.setMaximumSize(QtCore.QSize(32, 32))
78
        self.addAPIpath.setText(_fromUtf8(""))
79
        self.addAPIpath.setObjectName(_fromUtf8("addAPIpath"))
80
        self.verticalLayout.addWidget(self.addAPIpath)
81
        self.removeAPIpath = QtGui.QPushButton(self.groupBox_2)
82
        self.removeAPIpath.setMinimumSize(QtCore.QSize(32, 32))
83
        self.removeAPIpath.setMaximumSize(QtCore.QSize(32, 32))
84
        self.removeAPIpath.setText(_fromUtf8(""))
85
        self.removeAPIpath.setObjectName(_fromUtf8("removeAPIpath"))
86
        self.verticalLayout.addWidget(self.removeAPIpath)
87
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
88
        self.verticalLayout.addItem(spacerItem)
89
        self.gridLayout.addLayout(self.verticalLayout, 0, 1, 1, 1)
90
        self.tableWidget = QtGui.QTableWidget(self.groupBox_2)
91
        self.tableWidget.setMinimumSize(QtCore.QSize(0, 150))
92
        self.tableWidget.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
93
        self.tableWidget.setTabKeyNavigation(False)
94
        self.tableWidget.setProperty("showDropIndicator", False)
95
        self.tableWidget.setDragDropOverwriteMode(False)
96
        self.tableWidget.setAlternatingRowColors(True)
97
        self.tableWidget.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
98
        self.tableWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
99
        self.tableWidget.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
100
        self.tableWidget.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
101
        self.tableWidget.setGridStyle(QtCore.Qt.SolidLine)
102
        self.tableWidget.setRowCount(0)
103
        self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
104
        self.tableWidget.setColumnCount(2)
105
        item = QtGui.QTableWidgetItem()
106
        self.tableWidget.setHorizontalHeaderItem(0, item)
107
        item = QtGui.QTableWidgetItem()
108
        self.tableWidget.setHorizontalHeaderItem(1, item)
109
        self.tableWidget.horizontalHeader().setVisible(True)
110
        self.tableWidget.horizontalHeader().setCascadingSectionResizes(False)
111
        self.tableWidget.horizontalHeader().setSortIndicatorShown(False)
112
        self.tableWidget.horizontalHeader().setStretchLastSection(True)
113
        self.tableWidget.verticalHeader().setVisible(False)
114
        self.gridLayout.addWidget(self.tableWidget, 0, 0, 1, 1)
115
        self.gridLayout_7.addLayout(self.gridLayout, 1, 0, 1, 1)
116
        self.groupBoxPreparedAPI = QgsCollapsibleGroupBox(self.groupBox_2)
117
        self.groupBoxPreparedAPI.setCheckable(True)
118
        self.groupBoxPreparedAPI.setChecked(False)
119
        self.groupBoxPreparedAPI.setProperty("collapsed", True)
120
        self.groupBoxPreparedAPI.setProperty("saveCollapsedState", True)
121
        self.groupBoxPreparedAPI.setProperty("saveCheckedState", True)
122
        self.groupBoxPreparedAPI.setObjectName(_fromUtf8("groupBoxPreparedAPI"))
123
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBoxPreparedAPI)
124
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
125
        self.compileAPIs = QtGui.QPushButton(self.groupBoxPreparedAPI)
126
        self.compileAPIs.setObjectName(_fromUtf8("compileAPIs"))
127
        self.gridLayout_3.addWidget(self.compileAPIs, 0, 0, 1, 1)
128
        self.lineEdit = QtGui.QLineEdit(self.groupBoxPreparedAPI)
129
        self.lineEdit.setMinimumSize(QtCore.QSize(0, 27))
130
        self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
131
        self.gridLayout_3.addWidget(self.lineEdit, 0, 1, 1, 1)
132
        self.gridLayout_7.addWidget(self.groupBoxPreparedAPI, 2, 0, 1, 1)
133
        self.gridLayout_2.addWidget(self.groupBox_2, 2, 0, 1, 1)
134
        self.groupBox_3 = QtGui.QGroupBox(self.scrollAreaWidgetContents)
135
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
136
        self.gridLayout_10 = QtGui.QGridLayout(self.groupBox_3)
137
        self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
138
        self.autoSaveScript = QtGui.QCheckBox(self.groupBox_3)
139
        self.autoSaveScript.setObjectName(_fromUtf8("autoSaveScript"))
140
        self.gridLayout_10.addWidget(self.autoSaveScript, 1, 0, 1, 1)
141
        self.enableObjectInspector = QtGui.QCheckBox(self.groupBox_3)
142
        self.enableObjectInspector.setChecked(False)
143
        self.enableObjectInspector.setObjectName(_fromUtf8("enableObjectInspector"))
144
        self.gridLayout_10.addWidget(self.enableObjectInspector, 0, 0, 1, 1)
145
        self.groupBoxFontColorEditor = QgsCollapsibleGroupBox(self.groupBox_3)
146
        self.groupBoxFontColorEditor.setProperty("collapsed", False)
147
        self.groupBoxFontColorEditor.setProperty("saveCollapsedState", True)
148
        self.groupBoxFontColorEditor.setObjectName(_fromUtf8("groupBoxFontColorEditor"))
149
        self.gridLayout_14 = QtGui.QGridLayout(self.groupBoxFontColorEditor)
150
        self.gridLayout_14.setObjectName(_fromUtf8("gridLayout_14"))
151
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
152
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
153
        self.label_4 = QtGui.QLabel(self.groupBoxFontColorEditor)
154
        self.label_4.setObjectName(_fromUtf8("label_4"))
155
        self.horizontalLayout_3.addWidget(self.label_4)
156
        self.fontComboBoxEditor = QtGui.QFontComboBox(self.groupBoxFontColorEditor)
157
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
158
        sizePolicy.setHorizontalStretch(0)
159
        sizePolicy.setVerticalStretch(0)
160
        sizePolicy.setHeightForWidth(self.fontComboBoxEditor.sizePolicy().hasHeightForWidth())
161
        self.fontComboBoxEditor.setSizePolicy(sizePolicy)
162
        self.fontComboBoxEditor.setInsertPolicy(QtGui.QComboBox.NoInsert)
163
        self.fontComboBoxEditor.setObjectName(_fromUtf8("fontComboBoxEditor"))
164
        self.horizontalLayout_3.addWidget(self.fontComboBoxEditor)
165
        self.label_5 = QtGui.QLabel(self.groupBoxFontColorEditor)
166
        self.label_5.setObjectName(_fromUtf8("label_5"))
167
        self.horizontalLayout_3.addWidget(self.label_5)
168
        self.spinBoxEditor = QtGui.QSpinBox(self.groupBoxFontColorEditor)
169
        self.spinBoxEditor.setMinimumSize(QtCore.QSize(51, 26))
170
        self.spinBoxEditor.setMaximumSize(QtCore.QSize(51, 26))
171
        self.spinBoxEditor.setMinimum(6)
172
        self.spinBoxEditor.setMaximum(15)
173
        self.spinBoxEditor.setProperty("value", 10)
174
        self.spinBoxEditor.setObjectName(_fromUtf8("spinBoxEditor"))
175
        self.horizontalLayout_3.addWidget(self.spinBoxEditor)
176
        self.gridLayout_14.addLayout(self.horizontalLayout_3, 0, 0, 1, 1)
177
        self.gridLayout_13 = QtGui.QGridLayout()
178
        self.gridLayout_13.setObjectName(_fromUtf8("gridLayout_13"))
179
        self.label_7 = QtGui.QLabel(self.groupBoxFontColorEditor)
180
        self.label_7.setObjectName(_fromUtf8("label_7"))
181
        self.gridLayout_13.addWidget(self.label_7, 0, 0, 1, 1)
182
        self.defaultFontColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
183
        self.defaultFontColorEditor.setText(_fromUtf8(""))
184
        self.defaultFontColorEditor.setObjectName(_fromUtf8("defaultFontColorEditor"))
185
        self.gridLayout_13.addWidget(self.defaultFontColorEditor, 0, 1, 1, 1)
186
        self.label_8 = QtGui.QLabel(self.groupBoxFontColorEditor)
187
        self.label_8.setObjectName(_fromUtf8("label_8"))
188
        self.gridLayout_13.addWidget(self.label_8, 0, 2, 1, 1)
189
        self.keywordFontColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
190
        self.keywordFontColorEditor.setText(_fromUtf8(""))
191
        self.keywordFontColorEditor.setObjectName(_fromUtf8("keywordFontColorEditor"))
192
        self.gridLayout_13.addWidget(self.keywordFontColorEditor, 0, 3, 1, 1)
193
        self.label_27 = QtGui.QLabel(self.groupBoxFontColorEditor)
194
        self.label_27.setObjectName(_fromUtf8("label_27"))
195
        self.gridLayout_13.addWidget(self.label_27, 0, 4, 1, 1)
196
        self.classFontColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
197
        self.classFontColorEditor.setText(_fromUtf8(""))
198
        self.classFontColorEditor.setObjectName(_fromUtf8("classFontColorEditor"))
199
        self.gridLayout_13.addWidget(self.classFontColorEditor, 0, 5, 1, 1)
200
        self.label_11 = QtGui.QLabel(self.groupBoxFontColorEditor)
201
        self.label_11.setObjectName(_fromUtf8("label_11"))
202
        self.gridLayout_13.addWidget(self.label_11, 1, 0, 1, 1)
203
        self.methodFontColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
204
        self.methodFontColorEditor.setText(_fromUtf8(""))
205
        self.methodFontColorEditor.setObjectName(_fromUtf8("methodFontColorEditor"))
206
        self.gridLayout_13.addWidget(self.methodFontColorEditor, 1, 1, 1, 1)
207
        self.label_9 = QtGui.QLabel(self.groupBoxFontColorEditor)
208
        self.label_9.setObjectName(_fromUtf8("label_9"))
209
        self.gridLayout_13.addWidget(self.label_9, 1, 2, 1, 1)
210
        self.decorFontColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
211
        self.decorFontColorEditor.setText(_fromUtf8(""))
212
        self.decorFontColorEditor.setObjectName(_fromUtf8("decorFontColorEditor"))
213
        self.gridLayout_13.addWidget(self.decorFontColorEditor, 1, 3, 1, 1)
214
        self.label_10 = QtGui.QLabel(self.groupBoxFontColorEditor)
215
        self.label_10.setObjectName(_fromUtf8("label_10"))
216
        self.gridLayout_13.addWidget(self.label_10, 1, 4, 1, 1)
217
        self.commentFontColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
218
        self.commentFontColorEditor.setText(_fromUtf8(""))
219
        self.commentFontColorEditor.setObjectName(_fromUtf8("commentFontColorEditor"))
220
        self.gridLayout_13.addWidget(self.commentFontColorEditor, 1, 5, 1, 1)
221
        self.label_12 = QtGui.QLabel(self.groupBoxFontColorEditor)
222
        self.label_12.setObjectName(_fromUtf8("label_12"))
223
        self.gridLayout_13.addWidget(self.label_12, 2, 0, 1, 1)
224
        self.commentBlockFontColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
225
        self.commentBlockFontColorEditor.setText(_fromUtf8(""))
226
        self.commentBlockFontColorEditor.setObjectName(_fromUtf8("commentBlockFontColorEditor"))
227
        self.gridLayout_13.addWidget(self.commentBlockFontColorEditor, 2, 1, 1, 1)
228
        self.label_25 = QtGui.QLabel(self.groupBoxFontColorEditor)
229
        self.label_25.setObjectName(_fromUtf8("label_25"))
230
        self.gridLayout_13.addWidget(self.label_25, 2, 2, 1, 1)
231
        self.cursorColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
232
        self.cursorColorEditor.setText(_fromUtf8(""))
233
        self.cursorColorEditor.setObjectName(_fromUtf8("cursorColorEditor"))
234
        self.gridLayout_13.addWidget(self.cursorColorEditor, 2, 3, 1, 1)
235
        self.label_23 = QtGui.QLabel(self.groupBoxFontColorEditor)
236
        self.label_23.setObjectName(_fromUtf8("label_23"))
237
        self.gridLayout_13.addWidget(self.label_23, 2, 4, 1, 1)
238
        self.caretLineColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
239
        self.caretLineColorEditor.setText(_fromUtf8(""))
240
        self.caretLineColorEditor.setObjectName(_fromUtf8("caretLineColorEditor"))
241
        self.gridLayout_13.addWidget(self.caretLineColorEditor, 2, 5, 1, 1)
242
        self.label_32 = QtGui.QLabel(self.groupBoxFontColorEditor)
243
        self.label_32.setObjectName(_fromUtf8("label_32"))
244
        self.gridLayout_13.addWidget(self.label_32, 3, 0, 1, 1)
245
        self.singleQuoteFontColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
246
        self.singleQuoteFontColorEditor.setText(_fromUtf8(""))
247
        self.singleQuoteFontColorEditor.setObjectName(_fromUtf8("singleQuoteFontColorEditor"))
248
        self.gridLayout_13.addWidget(self.singleQuoteFontColorEditor, 3, 1, 1, 1)
249
        self.label_33 = QtGui.QLabel(self.groupBoxFontColorEditor)
250
        self.label_33.setObjectName(_fromUtf8("label_33"))
251
        self.gridLayout_13.addWidget(self.label_33, 3, 2, 1, 1)
252
        self.doubleQuoteFontColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
253
        self.doubleQuoteFontColorEditor.setText(_fromUtf8(""))
254
        self.doubleQuoteFontColorEditor.setObjectName(_fromUtf8("doubleQuoteFontColorEditor"))
255
        self.gridLayout_13.addWidget(self.doubleQuoteFontColorEditor, 3, 3, 1, 1)
256
        self.label_34 = QtGui.QLabel(self.groupBoxFontColorEditor)
257
        self.label_34.setObjectName(_fromUtf8("label_34"))
258
        self.gridLayout_13.addWidget(self.label_34, 3, 4, 1, 1)
259
        self.tripleSingleQuoteFontColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
260
        self.tripleSingleQuoteFontColorEditor.setText(_fromUtf8(""))
261
        self.tripleSingleQuoteFontColorEditor.setObjectName(_fromUtf8("tripleSingleQuoteFontColorEditor"))
262
        self.gridLayout_13.addWidget(self.tripleSingleQuoteFontColorEditor, 3, 5, 1, 1)
263
        self.label_35 = QtGui.QLabel(self.groupBoxFontColorEditor)
264
        self.label_35.setObjectName(_fromUtf8("label_35"))
265
        self.gridLayout_13.addWidget(self.label_35, 4, 0, 1, 1)
266
        self.tripleDoubleQuoteFontColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
267
        self.tripleDoubleQuoteFontColorEditor.setText(_fromUtf8(""))
268
        self.tripleDoubleQuoteFontColorEditor.setObjectName(_fromUtf8("tripleDoubleQuoteFontColorEditor"))
269
        self.gridLayout_13.addWidget(self.tripleDoubleQuoteFontColorEditor, 4, 1, 1, 1)
270
        self.label_21 = QtGui.QLabel(self.groupBoxFontColorEditor)
271
        self.label_21.setObjectName(_fromUtf8("label_21"))
272
        self.gridLayout_13.addWidget(self.label_21, 4, 4, 1, 1)
273
        self.paperBackgroundColorEditor = QgsColorButton(self.groupBoxFontColorEditor)
274
        self.paperBackgroundColorEditor.setText(_fromUtf8(""))
275
        self.paperBackgroundColorEditor.setObjectName(_fromUtf8("paperBackgroundColorEditor"))
276
        self.gridLayout_13.addWidget(self.paperBackgroundColorEditor, 4, 5, 1, 1)
277
        self.gridLayout_14.addLayout(self.gridLayout_13, 1, 0, 1, 1)
278
        self.verticalLayout_5 = QtGui.QVBoxLayout()
279
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
280
        self.resetFontColorEditor = QtGui.QToolButton(self.groupBoxFontColorEditor)
281
        self.resetFontColorEditor.setText(_fromUtf8(""))
282
        self.resetFontColorEditor.setAutoRaise(True)
283
        self.resetFontColorEditor.setObjectName(_fromUtf8("resetFontColorEditor"))
284
        self.verticalLayout_5.addWidget(self.resetFontColorEditor)
285
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
286
        self.verticalLayout_5.addItem(spacerItem1)
287
        self.gridLayout_14.addLayout(self.verticalLayout_5, 1, 1, 1, 1)
288
        self.gridLayout_10.addWidget(self.groupBoxFontColorEditor, 2, 0, 1, 1)
289
        self.groupBox_5 = QgsCollapsibleGroupBox(self.groupBox_3)
290
        self.groupBox_5.setProperty("collapsed", True)
291
        self.groupBox_5.setProperty("saveCollapsedState", True)
292
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
293
        self.gridLayout_12 = QtGui.QGridLayout(self.groupBox_5)
294
        self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12"))
295
        self.verticalLayout_3 = QtGui.QVBoxLayout()
296
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
297
        self.autoCloseBracketEditor = QtGui.QCheckBox(self.groupBox_5)
298
        self.autoCloseBracketEditor.setObjectName(_fromUtf8("autoCloseBracketEditor"))
299
        self.verticalLayout_3.addWidget(self.autoCloseBracketEditor)
300
        self.autoInsertionImportEditor = QtGui.QCheckBox(self.groupBox_5)
301
        self.autoInsertionImportEditor.setObjectName(_fromUtf8("autoInsertionImportEditor"))
302
        self.verticalLayout_3.addWidget(self.autoInsertionImportEditor)
303
        self.gridLayout_12.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
304
        self.gridLayout_10.addWidget(self.groupBox_5, 4, 0, 1, 1)
305
        self.groupBoxAutoCompletionEditor = QgsCollapsibleGroupBox(self.groupBox_3)
306
        self.groupBoxAutoCompletionEditor.setCheckable(True)
307
        self.groupBoxAutoCompletionEditor.setChecked(True)
308
        self.groupBoxAutoCompletionEditor.setProperty("collapsed", True)
309
        self.groupBoxAutoCompletionEditor.setProperty("saveCheckedState", True)
310
        self.groupBoxAutoCompletionEditor.setProperty("saveCollapsedState", True)
311
        self.groupBoxAutoCompletionEditor.setObjectName(_fromUtf8("groupBoxAutoCompletionEditor"))
312
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBoxAutoCompletionEditor)
313
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
314
        self.layoutRadioButtonEditor = QtGui.QGridLayout()
315
        self.layoutRadioButtonEditor.setObjectName(_fromUtf8("layoutRadioButtonEditor"))
316
        self.autoCompFromDocEditor = QtGui.QRadioButton(self.groupBoxAutoCompletionEditor)
317
        self.autoCompFromDocEditor.setObjectName(_fromUtf8("autoCompFromDocEditor"))
318
        self.layoutRadioButtonEditor.addWidget(self.autoCompFromDocEditor, 0, 0, 1, 1)
319
        self.autoCompFromDocAPIEditor = QtGui.QRadioButton(self.groupBoxAutoCompletionEditor)
320
        self.autoCompFromDocAPIEditor.setObjectName(_fromUtf8("autoCompFromDocAPIEditor"))
321
        self.layoutRadioButtonEditor.addWidget(self.autoCompFromDocAPIEditor, 0, 2, 1, 1)
322
        self.autoCompFromAPIEditor = QtGui.QRadioButton(self.groupBoxAutoCompletionEditor)
323
        self.autoCompFromAPIEditor.setChecked(True)
324
        self.autoCompFromAPIEditor.setObjectName(_fromUtf8("autoCompFromAPIEditor"))
325
        self.layoutRadioButtonEditor.addWidget(self.autoCompFromAPIEditor, 0, 1, 1, 1)
326
        self.gridLayout_4.addLayout(self.layoutRadioButtonEditor, 1, 0, 1, 2)
327
        self.label_2 = QtGui.QLabel(self.groupBoxAutoCompletionEditor)
328
        self.label_2.setObjectName(_fromUtf8("label_2"))
329
        self.gridLayout_4.addWidget(self.label_2, 0, 0, 1, 1)
330
        self.autoCompThresholdEditor = QtGui.QSpinBox(self.groupBoxAutoCompletionEditor)
331
        self.autoCompThresholdEditor.setMaximum(10)
332
        self.autoCompThresholdEditor.setProperty("value", 2)
333
        self.autoCompThresholdEditor.setObjectName(_fromUtf8("autoCompThresholdEditor"))
334
        self.gridLayout_4.addWidget(self.autoCompThresholdEditor, 0, 1, 1, 1)
335
        self.gridLayout_10.addWidget(self.groupBoxAutoCompletionEditor, 3, 0, 1, 1)
336
        self.gridLayout_2.addWidget(self.groupBox_3, 1, 0, 1, 1)
337
        self.groupBox = QtGui.QGroupBox(self.scrollAreaWidgetContents)
338
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
339
        self.gridLayout_9 = QtGui.QGridLayout(self.groupBox)
340
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
341
        self.groupBox_4 = QgsCollapsibleGroupBox(self.groupBox)
342
        self.groupBox_4.setProperty("collapsed", True)
343
        self.groupBox_4.setProperty("saveCollapsedState", True)
344
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
345
        self.gridLayout_11 = QtGui.QGridLayout(self.groupBox_4)
346
        self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11"))
347
        self.verticalLayout_2 = QtGui.QVBoxLayout()
348
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
349
        self.autoCloseBracket = QtGui.QCheckBox(self.groupBox_4)
350
        self.autoCloseBracket.setObjectName(_fromUtf8("autoCloseBracket"))
351
        self.verticalLayout_2.addWidget(self.autoCloseBracket)
352
        self.autoInsertionImport = QtGui.QCheckBox(self.groupBox_4)
353
        self.autoInsertionImport.setObjectName(_fromUtf8("autoInsertionImport"))
354
        self.verticalLayout_2.addWidget(self.autoInsertionImport)
355
        self.gridLayout_11.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
356
        self.gridLayout_9.addWidget(self.groupBox_4, 2, 0, 1, 1)
357
        self.groupBoxAutoCompletion = QgsCollapsibleGroupBox(self.groupBox)
358
        self.groupBoxAutoCompletion.setCheckable(True)
359
        self.groupBoxAutoCompletion.setChecked(True)
360
        self.groupBoxAutoCompletion.setProperty("collapsed", False)
361
        self.groupBoxAutoCompletion.setProperty("saveCheckedState", True)
362
        self.groupBoxAutoCompletion.setProperty("saveCollapsedState", True)
363
        self.groupBoxAutoCompletion.setObjectName(_fromUtf8("groupBoxAutoCompletion"))
364
        self.gridLayout_5 = QtGui.QGridLayout(self.groupBoxAutoCompletion)
365
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
366
        self.label_6 = QtGui.QLabel(self.groupBoxAutoCompletion)
367
        self.label_6.setObjectName(_fromUtf8("label_6"))
368
        self.gridLayout_5.addWidget(self.label_6, 0, 0, 1, 1)
369
        self.autoCompThreshold = QtGui.QSpinBox(self.groupBoxAutoCompletion)
370
        self.autoCompThreshold.setMaximum(10)
371
        self.autoCompThreshold.setProperty("value", 2)
372
        self.autoCompThreshold.setObjectName(_fromUtf8("autoCompThreshold"))
373
        self.gridLayout_5.addWidget(self.autoCompThreshold, 0, 1, 1, 1)
374
        self.layoutRadioButton = QtGui.QGridLayout()
375
        self.layoutRadioButton.setObjectName(_fromUtf8("layoutRadioButton"))
376
        self.autoCompFromDocAPI = QtGui.QRadioButton(self.groupBoxAutoCompletion)
377
        self.autoCompFromDocAPI.setObjectName(_fromUtf8("autoCompFromDocAPI"))
378
        self.layoutRadioButton.addWidget(self.autoCompFromDocAPI, 0, 2, 1, 1)
379
        self.autoCompFromAPI = QtGui.QRadioButton(self.groupBoxAutoCompletion)
380
        self.autoCompFromAPI.setChecked(True)
381
        self.autoCompFromAPI.setObjectName(_fromUtf8("autoCompFromAPI"))
382
        self.layoutRadioButton.addWidget(self.autoCompFromAPI, 0, 1, 1, 1)
383
        self.autoCompFromDoc = QtGui.QRadioButton(self.groupBoxAutoCompletion)
384
        self.autoCompFromDoc.setObjectName(_fromUtf8("autoCompFromDoc"))
385
        self.layoutRadioButton.addWidget(self.autoCompFromDoc, 0, 0, 1, 1)
386
        self.gridLayout_5.addLayout(self.layoutRadioButton, 1, 0, 1, 2)
387
        self.gridLayout_9.addWidget(self.groupBoxAutoCompletion, 1, 0, 1, 1)
388
        self.groupBoxFontColor = QgsCollapsibleGroupBox(self.groupBox)
389
        self.groupBoxFontColor.setProperty("collapsed", True)
390
        self.groupBoxFontColor.setProperty("saveCollapsedState", True)
391
        self.groupBoxFontColor.setObjectName(_fromUtf8("groupBoxFontColor"))
392
        self.gridLayout_15 = QtGui.QGridLayout(self.groupBoxFontColor)
393
        self.gridLayout_15.setObjectName(_fromUtf8("gridLayout_15"))
394
        self.horizontalLayout = QtGui.QHBoxLayout()
395
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
396
        self.label = QtGui.QLabel(self.groupBoxFontColor)
397
        self.label.setObjectName(_fromUtf8("label"))
398
        self.horizontalLayout.addWidget(self.label)
399
        self.fontComboBox = QtGui.QFontComboBox(self.groupBoxFontColor)
400
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
401
        sizePolicy.setHorizontalStretch(0)
402
        sizePolicy.setVerticalStretch(0)
403
        sizePolicy.setHeightForWidth(self.fontComboBox.sizePolicy().hasHeightForWidth())
404
        self.fontComboBox.setSizePolicy(sizePolicy)
405
        self.fontComboBox.setInsertPolicy(QtGui.QComboBox.NoInsert)
406
        self.fontComboBox.setObjectName(_fromUtf8("fontComboBox"))
407
        self.horizontalLayout.addWidget(self.fontComboBox)
408
        self.label_3 = QtGui.QLabel(self.groupBoxFontColor)
409
        self.label_3.setObjectName(_fromUtf8("label_3"))
410
        self.horizontalLayout.addWidget(self.label_3)
411
        self.spinBox = QtGui.QSpinBox(self.groupBoxFontColor)
412
        self.spinBox.setMinimumSize(QtCore.QSize(51, 26))
413
        self.spinBox.setMaximumSize(QtCore.QSize(51, 26))
414
        self.spinBox.setMinimum(6)
415
        self.spinBox.setMaximum(15)
416
        self.spinBox.setProperty("value", 10)
417
        self.spinBox.setObjectName(_fromUtf8("spinBox"))
418
        self.horizontalLayout.addWidget(self.spinBox)
419
        self.gridLayout_15.addLayout(self.horizontalLayout, 0, 0, 1, 1)
420
        self.gridLayout_8 = QtGui.QGridLayout()
421
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
422
        self.label_16 = QtGui.QLabel(self.groupBoxFontColor)
423
        self.label_16.setObjectName(_fromUtf8("label_16"))
424
        self.gridLayout_8.addWidget(self.label_16, 0, 0, 1, 1)
425
        self.defaultFontColor = QgsColorButton(self.groupBoxFontColor)
426
        self.defaultFontColor.setText(_fromUtf8(""))
427
        self.defaultFontColor.setObjectName(_fromUtf8("defaultFontColor"))
428
        self.gridLayout_8.addWidget(self.defaultFontColor, 0, 1, 1, 1)
429
        self.label_17 = QtGui.QLabel(self.groupBoxFontColor)
430
        self.label_17.setObjectName(_fromUtf8("label_17"))
431
        self.gridLayout_8.addWidget(self.label_17, 0, 2, 1, 1)
432
        self.keywordFontColor = QgsColorButton(self.groupBoxFontColor)
433
        self.keywordFontColor.setText(_fromUtf8(""))
434
        self.keywordFontColor.setObjectName(_fromUtf8("keywordFontColor"))
435
        self.gridLayout_8.addWidget(self.keywordFontColor, 0, 3, 1, 1)
436
        self.label_26 = QtGui.QLabel(self.groupBoxFontColor)
437
        self.label_26.setObjectName(_fromUtf8("label_26"))
438
        self.gridLayout_8.addWidget(self.label_26, 0, 4, 1, 1)
439
        self.classFontColor = QgsColorButton(self.groupBoxFontColor)
440
        self.classFontColor.setText(_fromUtf8(""))
441
        self.classFontColor.setObjectName(_fromUtf8("classFontColor"))
442
        self.gridLayout_8.addWidget(self.classFontColor, 0, 5, 1, 1)
443
        self.label_13 = QtGui.QLabel(self.groupBoxFontColor)
444
        self.label_13.setObjectName(_fromUtf8("label_13"))
445
        self.gridLayout_8.addWidget(self.label_13, 1, 0, 1, 1)
446
        self.methodFontColor = QgsColorButton(self.groupBoxFontColor)
447
        self.methodFontColor.setText(_fromUtf8(""))
448
        self.methodFontColor.setObjectName(_fromUtf8("methodFontColor"))
449
        self.gridLayout_8.addWidget(self.methodFontColor, 1, 1, 1, 1)
450
        self.label_18 = QtGui.QLabel(self.groupBoxFontColor)
451
        self.label_18.setObjectName(_fromUtf8("label_18"))
452
        self.gridLayout_8.addWidget(self.label_18, 1, 2, 1, 1)
453
        self.decorFontColor = QgsColorButton(self.groupBoxFontColor)
454
        self.decorFontColor.setText(_fromUtf8(""))
455
        self.decorFontColor.setObjectName(_fromUtf8("decorFontColor"))
456
        self.gridLayout_8.addWidget(self.decorFontColor, 1, 3, 1, 1)
457
        self.label_19 = QtGui.QLabel(self.groupBoxFontColor)
458
        self.label_19.setObjectName(_fromUtf8("label_19"))
459
        self.gridLayout_8.addWidget(self.label_19, 1, 4, 1, 1)
460
        self.commentFontColor = QgsColorButton(self.groupBoxFontColor)
461
        self.commentFontColor.setText(_fromUtf8(""))
462
        self.commentFontColor.setObjectName(_fromUtf8("commentFontColor"))
463
        self.gridLayout_8.addWidget(self.commentFontColor, 1, 5, 1, 1)
464
        self.label_20 = QtGui.QLabel(self.groupBoxFontColor)
465
        self.label_20.setObjectName(_fromUtf8("label_20"))
466
        self.gridLayout_8.addWidget(self.label_20, 2, 0, 1, 1)
467
        self.commentBlockFontColor = QgsColorButton(self.groupBoxFontColor)
468
        self.commentBlockFontColor.setText(_fromUtf8(""))
469
        self.commentBlockFontColor.setObjectName(_fromUtf8("commentBlockFontColor"))
470
        self.gridLayout_8.addWidget(self.commentBlockFontColor, 2, 1, 1, 1)
471
        self.label_24 = QtGui.QLabel(self.groupBoxFontColor)
472
        self.label_24.setObjectName(_fromUtf8("label_24"))
473
        self.gridLayout_8.addWidget(self.label_24, 2, 2, 1, 1)
474
        self.cursorColor = QgsColorButton(self.groupBoxFontColor)
475
        self.cursorColor.setText(_fromUtf8(""))
476
        self.cursorColor.setObjectName(_fromUtf8("cursorColor"))
477
        self.gridLayout_8.addWidget(self.cursorColor, 2, 3, 1, 1)
478
        self.label_22 = QtGui.QLabel(self.groupBoxFontColor)
479
        self.label_22.setObjectName(_fromUtf8("label_22"))
480
        self.gridLayout_8.addWidget(self.label_22, 2, 4, 1, 1)
481
        self.caretLineColor = QgsColorButton(self.groupBoxFontColor)
482
        self.caretLineColor.setText(_fromUtf8(""))
483
        self.caretLineColor.setObjectName(_fromUtf8("caretLineColor"))
484
        self.gridLayout_8.addWidget(self.caretLineColor, 2, 5, 1, 1)
485
        self.label_28 = QtGui.QLabel(self.groupBoxFontColor)
486
        self.label_28.setObjectName(_fromUtf8("label_28"))
487
        self.gridLayout_8.addWidget(self.label_28, 3, 0, 1, 1)
488
        self.singleQuoteFontColor = QgsColorButton(self.groupBoxFontColor)
489
        self.singleQuoteFontColor.setText(_fromUtf8(""))
490
        self.singleQuoteFontColor.setObjectName(_fromUtf8("singleQuoteFontColor"))
491
        self.gridLayout_8.addWidget(self.singleQuoteFontColor, 3, 1, 1, 1)
492
        self.label_31 = QtGui.QLabel(self.groupBoxFontColor)
493
        self.label_31.setObjectName(_fromUtf8("label_31"))
494
        self.gridLayout_8.addWidget(self.label_31, 3, 2, 1, 1)
495
        self.doubleQuoteFontColor = QgsColorButton(self.groupBoxFontColor)
496
        self.doubleQuoteFontColor.setText(_fromUtf8(""))
497
        self.doubleQuoteFontColor.setObjectName(_fromUtf8("doubleQuoteFontColor"))
498
        self.gridLayout_8.addWidget(self.doubleQuoteFontColor, 3, 3, 1, 1)
499
        self.label_29 = QtGui.QLabel(self.groupBoxFontColor)
500
        self.label_29.setObjectName(_fromUtf8("label_29"))
501
        self.gridLayout_8.addWidget(self.label_29, 3, 4, 1, 1)
502
        self.tripleSingleQuoteFontColor = QgsColorButton(self.groupBoxFontColor)
503
        self.tripleSingleQuoteFontColor.setText(_fromUtf8(""))
504
        self.tripleSingleQuoteFontColor.setObjectName(_fromUtf8("tripleSingleQuoteFontColor"))
505
        self.gridLayout_8.addWidget(self.tripleSingleQuoteFontColor, 3, 5, 1, 1)
506
        self.label_30 = QtGui.QLabel(self.groupBoxFontColor)
507
        self.label_30.setObjectName(_fromUtf8("label_30"))
508
        self.gridLayout_8.addWidget(self.label_30, 4, 0, 1, 1)
509
        self.tripleDoubleQuoteFontColor = QgsColorButton(self.groupBoxFontColor)
510
        self.tripleDoubleQuoteFontColor.setText(_fromUtf8(""))
511
        self.tripleDoubleQuoteFontColor.setObjectName(_fromUtf8("tripleDoubleQuoteFontColor"))
512
        self.gridLayout_8.addWidget(self.tripleDoubleQuoteFontColor, 4, 1, 1, 1)
513
        self.label_15 = QtGui.QLabel(self.groupBoxFontColor)
514
        self.label_15.setObjectName(_fromUtf8("label_15"))
515
        self.gridLayout_8.addWidget(self.label_15, 4, 4, 1, 1)
516
        self.paperBackgroundColor = QgsColorButton(self.groupBoxFontColor)
517
        self.paperBackgroundColor.setText(_fromUtf8(""))
518
        self.paperBackgroundColor.setObjectName(_fromUtf8("paperBackgroundColor"))
519
        self.gridLayout_8.addWidget(self.paperBackgroundColor, 4, 5, 1, 1)
520
        self.label_14 = QtGui.QLabel(self.groupBoxFontColor)
521
        self.label_14.setObjectName(_fromUtf8("label_14"))
522
        self.gridLayout_8.addWidget(self.label_14, 5, 4, 1, 1)
523
        self.stderrFontColor = QgsColorButton(self.groupBoxFontColor)
524
        self.stderrFontColor.setText(_fromUtf8(""))
525
        self.stderrFontColor.setObjectName(_fromUtf8("stderrFontColor"))
526
        self.gridLayout_8.addWidget(self.stderrFontColor, 5, 5, 1, 1)
527
        self.gridLayout_15.addLayout(self.gridLayout_8, 1, 0, 1, 1)
528
        self.verticalLayout_4 = QtGui.QVBoxLayout()
529
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
530
        self.resetFontColor = QtGui.QToolButton(self.groupBoxFontColor)
531
        self.resetFontColor.setText(_fromUtf8(""))
532
        self.resetFontColor.setAutoRaise(True)
533
        self.resetFontColor.setObjectName(_fromUtf8("resetFontColor"))
534
        self.verticalLayout_4.addWidget(self.resetFontColor)
535
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
536
        self.verticalLayout_4.addItem(spacerItem2)
537
        self.gridLayout_15.addLayout(self.verticalLayout_4, 1, 1, 1, 1)
538
        self.gridLayout_9.addWidget(self.groupBoxFontColor, 0, 0, 1, 1)
539
        self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 1)
540
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
541
        self.gridLayout_6.addWidget(self.scrollArea, 0, 0, 1, 1)
542

    
543
        self.retranslateUi(SettingsDialogPythonConsole)
544
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), SettingsDialogPythonConsole.accept)
545
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), SettingsDialogPythonConsole.reject)
546
        QtCore.QMetaObject.connectSlotsByName(SettingsDialogPythonConsole)
547

    
548
    def retranslateUi(self, SettingsDialogPythonConsole):
549
        self.groupBox_2.setTitle(_translate("SettingsDialogPythonConsole", "APIs", None))
550
        self.preloadAPI.setText(_translate("SettingsDialogPythonConsole", "Using preloaded APIs file", None))
551
        item = self.tableWidget.horizontalHeaderItem(0)
552
        item.setText(_translate("SettingsDialogPythonConsole", "APIs", None))
553
        item = self.tableWidget.horizontalHeaderItem(1)
554
        item.setText(_translate("SettingsDialogPythonConsole", "Path", None))
555
        self.groupBoxPreparedAPI.setTitle(_translate("SettingsDialogPythonConsole", "Using prepared APIs file", None))
556
        self.compileAPIs.setText(_translate("SettingsDialogPythonConsole", "Compile APIs...", None))
557
        self.groupBox_3.setTitle(_translate("SettingsDialogPythonConsole", "Editor", None))
558
        self.autoSaveScript.setText(_translate("SettingsDialogPythonConsole", "Auto-save script before running", None))
559
        self.enableObjectInspector.setText(_translate("SettingsDialogPythonConsole", "Enable Object Inspector (switching between tabs may be slow)", None))
560
        self.groupBoxFontColorEditor.setTitle(_translate("SettingsDialogPythonConsole", "Font and Colors", None))
561
        self.label_4.setText(_translate("SettingsDialogPythonConsole", "Font", None))
562
        self.label_5.setText(_translate("SettingsDialogPythonConsole", "Size", None))
563
        self.label_7.setText(_translate("SettingsDialogPythonConsole", "Default:", None))
564
        self.label_8.setText(_translate("SettingsDialogPythonConsole", "Keyword:", None))
565
        self.label_27.setText(_translate("SettingsDialogPythonConsole", "Class name:", None))
566
        self.label_11.setText(_translate("SettingsDialogPythonConsole", "Function:", None))
567
        self.label_9.setText(_translate("SettingsDialogPythonConsole", "Decorator:", None))
568
        self.label_10.setText(_translate("SettingsDialogPythonConsole", "Comment:", None))
569
        self.label_12.setText(_translate("SettingsDialogPythonConsole", "Comment block:", None))
570
        self.label_25.setText(_translate("SettingsDialogPythonConsole", "Cursor:", None))
571
        self.label_23.setText(_translate("SettingsDialogPythonConsole", "Caretline:", None))
572
        self.label_32.setText(_translate("SettingsDialogPythonConsole", "Single quote:", None))
573
        self.label_33.setText(_translate("SettingsDialogPythonConsole", "Double quote:", None))
574
        self.label_34.setText(_translate("SettingsDialogPythonConsole", "Triple single quote:", None))
575
        self.label_35.setText(_translate("SettingsDialogPythonConsole", "Triple double quote:", None))
576
        self.label_21.setText(_translate("SettingsDialogPythonConsole", "Background:", None))
577
        self.resetFontColorEditor.setToolTip(_translate("SettingsDialogPythonConsole", "Reset to default colors", None))
578
        self.groupBox_5.setTitle(_translate("SettingsDialogPythonConsole", "Typing", None))
579
        self.autoCloseBracketEditor.setText(_translate("SettingsDialogPythonConsole", "Automatic parentheses insertion", None))
580
        self.autoInsertionImportEditor.setText(_translate("SettingsDialogPythonConsole", "Automatic insertion of the \'import\' string on \'from xxx\'", None))
581
        self.groupBoxAutoCompletionEditor.setTitle(_translate("SettingsDialogPythonConsole", "Autocompletion", None))
582
        self.autoCompFromDocEditor.setToolTip(_translate("SettingsDialogPythonConsole", "Get autocompletion from current document", None))
583
        self.autoCompFromDocEditor.setText(_translate("SettingsDialogPythonConsole", "from Document", None))
584
        self.autoCompFromDocAPIEditor.setToolTip(_translate("SettingsDialogPythonConsole", "Get autocompletion from current document and installed APIs", None))
585
        self.autoCompFromDocAPIEditor.setText(_translate("SettingsDialogPythonConsole", "from Doc and APIs", None))
586
        self.autoCompFromAPIEditor.setToolTip(_translate("SettingsDialogPythonConsole", "Get autocompletion from installed APIs", None))
587
        self.autoCompFromAPIEditor.setText(_translate("SettingsDialogPythonConsole", "from APIs files", None))
588
        self.label_2.setText(_translate("SettingsDialogPythonConsole", "Autocompletion threshold", None))
589
        self.groupBox.setTitle(_translate("SettingsDialogPythonConsole", "Console", None))
590
        self.groupBox_4.setTitle(_translate("SettingsDialogPythonConsole", "Typing", None))
591
        self.autoCloseBracket.setText(_translate("SettingsDialogPythonConsole", "Automatic parentheses insertion", None))
592
        self.autoInsertionImport.setText(_translate("SettingsDialogPythonConsole", "Automatic insertion of the \'import\' string on \'from xxx\'", None))
593
        self.groupBoxAutoCompletion.setTitle(_translate("SettingsDialogPythonConsole", "Autocompletion", None))
594
        self.label_6.setText(_translate("SettingsDialogPythonConsole", "Autocompletion threshold", None))
595
        self.autoCompFromDocAPI.setToolTip(_translate("SettingsDialogPythonConsole", "Get autocompletion from current document and installed APIs", None))
596
        self.autoCompFromDocAPI.setText(_translate("SettingsDialogPythonConsole", "from Doc and APIs", None))
597
        self.autoCompFromAPI.setToolTip(_translate("SettingsDialogPythonConsole", "Get autocompletion from installed APIs", None))
598
        self.autoCompFromAPI.setText(_translate("SettingsDialogPythonConsole", "from APIs files", None))
599
        self.autoCompFromDoc.setToolTip(_translate("SettingsDialogPythonConsole", "Get autocompletion from current document", None))
600
        self.autoCompFromDoc.setText(_translate("SettingsDialogPythonConsole", "from Document", None))
601
        self.groupBoxFontColor.setTitle(_translate("SettingsDialogPythonConsole", "Font and Colors", None))
602
        self.label.setText(_translate("SettingsDialogPythonConsole", "Font", None))
603
        self.label_3.setText(_translate("SettingsDialogPythonConsole", "Size", None))
604
        self.label_16.setText(_translate("SettingsDialogPythonConsole", "Default:", None))
605
        self.label_17.setText(_translate("SettingsDialogPythonConsole", "Keyword:", None))
606
        self.label_26.setText(_translate("SettingsDialogPythonConsole", "Class name:", None))
607
        self.label_13.setText(_translate("SettingsDialogPythonConsole", "Function:", None))
608
        self.label_18.setText(_translate("SettingsDialogPythonConsole", "Decorator:", None))
609
        self.label_19.setText(_translate("SettingsDialogPythonConsole", "Comment:", None))
610
        self.label_20.setText(_translate("SettingsDialogPythonConsole", "Comment block:", None))
611
        self.label_24.setText(_translate("SettingsDialogPythonConsole", "Cursor:", None))
612
        self.label_22.setText(_translate("SettingsDialogPythonConsole", "Caretline:", None))
613
        self.label_28.setText(_translate("SettingsDialogPythonConsole", "Single quote:", None))
614
        self.label_31.setText(_translate("SettingsDialogPythonConsole", "Double quote:", None))
615
        self.label_29.setText(_translate("SettingsDialogPythonConsole", "Triple single quote:", None))
616
        self.label_30.setText(_translate("SettingsDialogPythonConsole", "Triple double quote:", None))
617
        self.label_15.setText(_translate("SettingsDialogPythonConsole", "Background:", None))
618
        self.label_14.setText(_translate("SettingsDialogPythonConsole", "Error:", None))
619
        self.resetFontColor.setToolTip(_translate("SettingsDialogPythonConsole", "Reset to default colors", None))
620

    
621
from qgis.gui import QgsColorButton, QgsCollapsibleGroupBox