# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/pbulk/work/geography/qgis/work/qgis-3.34.11/python/console/console_settings.ui'
#
# Created by: PyQt5 UI code generator 5.15.11
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_SettingsDialogPythonConsole(object):
    def setupUi(self, SettingsDialogPythonConsole):
        SettingsDialogPythonConsole.setObjectName("SettingsDialogPythonConsole")
        SettingsDialogPythonConsole.resize(809, 860)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(SettingsDialogPythonConsole.sizePolicy().hasHeightForWidth())
        SettingsDialogPythonConsole.setSizePolicy(sizePolicy)
        SettingsDialogPythonConsole.setMinimumSize(QtCore.QSize(500, 0))
        font = QtGui.QFont()
        font.setBold(False)
        SettingsDialogPythonConsole.setFont(font)
        self.gridLayout_16 = QtWidgets.QGridLayout(SettingsDialogPythonConsole)
        self.gridLayout_16.setContentsMargins(20, 0, 0, 0)
        self.gridLayout_16.setObjectName("gridLayout_16")
        self.scrollArea = QtWidgets.QScrollArea(SettingsDialogPythonConsole)
        self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 775, 879))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.gridLayout = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setObjectName("gridLayout")
        self.groupBox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.tokenGhLineEdit = QtWidgets.QLineEdit(self.groupBox)
        self.tokenGhLineEdit.setObjectName("tokenGhLineEdit")
        self.gridLayout_6.addWidget(self.tokenGhLineEdit, 0, 0, 1, 1)
        self.generateToken = QtWidgets.QPushButton(self.groupBox)
        self.generateToken.setObjectName("generateToken")
        self.gridLayout_6.addWidget(self.generateToken, 0, 1, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 6, 0, 1, 1)
        self.groupBoxApi = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents)
        self.groupBoxApi.setProperty("collapsed", True)
        self.groupBoxApi.setProperty("saveCollapsedState", True)
        self.groupBoxApi.setObjectName("groupBoxApi")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBoxApi)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.preloadAPI = QtWidgets.QCheckBox(self.groupBoxApi)
        self.preloadAPI.setChecked(True)
        self.preloadAPI.setObjectName("preloadAPI")
        self.gridLayout_7.addWidget(self.preloadAPI, 0, 0, 1, 1)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.addAPIpath = QtWidgets.QPushButton(self.groupBoxApi)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.addAPIpath.sizePolicy().hasHeightForWidth())
        self.addAPIpath.setSizePolicy(sizePolicy)
        self.addAPIpath.setMinimumSize(QtCore.QSize(32, 32))
        self.addAPIpath.setMaximumSize(QtCore.QSize(32, 32))
        self.addAPIpath.setText("")
        self.addAPIpath.setObjectName("addAPIpath")
        self.verticalLayout.addWidget(self.addAPIpath)
        self.removeAPIpath = QtWidgets.QPushButton(self.groupBoxApi)
        self.removeAPIpath.setMinimumSize(QtCore.QSize(32, 32))
        self.removeAPIpath.setMaximumSize(QtCore.QSize(32, 32))
        self.removeAPIpath.setText("")
        self.removeAPIpath.setObjectName("removeAPIpath")
        self.verticalLayout.addWidget(self.removeAPIpath)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.gridLayout_2.addLayout(self.verticalLayout, 0, 1, 1, 1)
        self.tableWidget = QtWidgets.QTableWidget(self.groupBoxApi)
        self.tableWidget.setMinimumSize(QtCore.QSize(0, 100))
        self.tableWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.tableWidget.setTabKeyNavigation(False)
        self.tableWidget.setProperty("showDropIndicator", False)
        self.tableWidget.setDragDropOverwriteMode(False)
        self.tableWidget.setAlternatingRowColors(True)
        self.tableWidget.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.tableWidget.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.tableWidget.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.tableWidget.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.tableWidget.setGridStyle(QtCore.Qt.SolidLine)
        self.tableWidget.setRowCount(0)
        self.tableWidget.setColumnCount(2)
        self.tableWidget.setObjectName("tableWidget")
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(1, item)
        self.tableWidget.horizontalHeader().setVisible(False)
        self.tableWidget.horizontalHeader().setCascadingSectionResizes(False)
        self.tableWidget.horizontalHeader().setSortIndicatorShown(False)
        self.tableWidget.horizontalHeader().setStretchLastSection(True)
        self.tableWidget.verticalHeader().setVisible(False)
        self.gridLayout_2.addWidget(self.tableWidget, 0, 0, 1, 1)
        self.gridLayout_7.addLayout(self.gridLayout_2, 1, 0, 1, 1)
        self.groupBoxPreparedAPI = QgsCollapsibleGroupBox(self.groupBoxApi)
        self.groupBoxPreparedAPI.setCheckable(True)
        self.groupBoxPreparedAPI.setChecked(False)
        self.groupBoxPreparedAPI.setProperty("collapsed", True)
        self.groupBoxPreparedAPI.setProperty("saveCollapsedState", True)
        self.groupBoxPreparedAPI.setProperty("saveCheckedState", True)
        self.groupBoxPreparedAPI.setObjectName("groupBoxPreparedAPI")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBoxPreparedAPI)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.compileAPIs = QtWidgets.QPushButton(self.groupBoxPreparedAPI)
        self.compileAPIs.setObjectName("compileAPIs")
        self.gridLayout_3.addWidget(self.compileAPIs, 0, 0, 1, 1)
        self.lineEdit = QtWidgets.QLineEdit(self.groupBoxPreparedAPI)
        self.lineEdit.setMinimumSize(QtCore.QSize(0, 27))
        self.lineEdit.setObjectName("lineEdit")
        self.gridLayout_3.addWidget(self.lineEdit, 0, 1, 1, 1)
        self.gridLayout_7.addWidget(self.groupBoxPreparedAPI, 2, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBoxApi, 5, 0, 1, 1)
        self.groupBoxTyping = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents)
        self.groupBoxTyping.setProperty("collapsed", False)
        self.groupBoxTyping.setProperty("saveCollapsedState", True)
        self.groupBoxTyping.setObjectName("groupBoxTyping")
        self.gridLayout_11 = QtWidgets.QGridLayout(self.groupBoxTyping)
        self.gridLayout_11.setVerticalSpacing(2)
        self.gridLayout_11.setObjectName("gridLayout_11")
        self.autoCloseBracket = QtWidgets.QCheckBox(self.groupBoxTyping)
        self.autoCloseBracket.setObjectName("autoCloseBracket")
        self.gridLayout_11.addWidget(self.autoCloseBracket, 0, 0, 1, 1)
        self.autoSurround = QtWidgets.QCheckBox(self.groupBoxTyping)
        self.autoSurround.setObjectName("autoSurround")
        self.gridLayout_11.addWidget(self.autoSurround, 1, 0, 1, 1)
        self.autoInsertImport = QtWidgets.QCheckBox(self.groupBoxTyping)
        self.autoInsertImport.setObjectName("autoInsertImport")
        self.gridLayout_11.addWidget(self.autoInsertImport, 2, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBoxTyping, 1, 0, 1, 1)
        self.groupBoxRunDebugEditor = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents)
        self.groupBoxRunDebugEditor.setProperty("collapsed", True)
        self.groupBoxRunDebugEditor.setProperty("saveCollapsedState", True)
        self.groupBoxRunDebugEditor.setObjectName("groupBoxRunDebugEditor")
        self.gridLayout_21 = QtWidgets.QGridLayout(self.groupBoxRunDebugEditor)
        self.gridLayout_21.setVerticalSpacing(2)
        self.gridLayout_21.setObjectName("gridLayout_21")
        self.autoSaveScript = QtWidgets.QCheckBox(self.groupBoxRunDebugEditor)
        self.autoSaveScript.setObjectName("autoSaveScript")
        self.gridLayout_21.addWidget(self.autoSaveScript, 1, 0, 1, 1)
        self.enableObjectInspector = QtWidgets.QCheckBox(self.groupBoxRunDebugEditor)
        self.enableObjectInspector.setChecked(False)
        self.enableObjectInspector.setObjectName("enableObjectInspector")
        self.gridLayout_21.addWidget(self.enableObjectInspector, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBoxRunDebugEditor, 3, 0, 1, 1)
        self.groupBoxAutoCompletion = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents)
        self.groupBoxAutoCompletion.setCheckable(True)
        self.groupBoxAutoCompletion.setChecked(True)
        self.groupBoxAutoCompletion.setProperty("collapsed", False)
        self.groupBoxAutoCompletion.setProperty("saveCheckedState", True)
        self.groupBoxAutoCompletion.setProperty("saveCollapsedState", True)
        self.groupBoxAutoCompletion.setObjectName("groupBoxAutoCompletion")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBoxAutoCompletion)
        self.gridLayout_5.setVerticalSpacing(2)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.label_36 = QtWidgets.QLabel(self.groupBoxAutoCompletion)
        self.label_36.setObjectName("label_36")
        self.gridLayout_5.addWidget(self.label_36, 0, 2, 1, 1)
        self.autoCompThreshold = QtWidgets.QSpinBox(self.groupBoxAutoCompletion)
        self.autoCompThreshold.setMaximum(10)
        self.autoCompThreshold.setProperty("value", 2)
        self.autoCompThreshold.setObjectName("autoCompThreshold")
        self.gridLayout_5.addWidget(self.autoCompThreshold, 0, 1, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.groupBoxAutoCompletion)
        self.label_6.setObjectName("label_6")
        self.gridLayout_5.addWidget(self.label_6, 0, 0, 1, 1)
        self.layoutRadioButton = QtWidgets.QGridLayout()
        self.layoutRadioButton.setObjectName("layoutRadioButton")
        self.autoCompFromDocAPI = QtWidgets.QRadioButton(self.groupBoxAutoCompletion)
        self.autoCompFromDocAPI.setObjectName("autoCompFromDocAPI")
        self.layoutRadioButton.addWidget(self.autoCompFromDocAPI, 0, 2, 1, 1)
        self.autoCompFromAPI = QtWidgets.QRadioButton(self.groupBoxAutoCompletion)
        self.autoCompFromAPI.setChecked(True)
        self.autoCompFromAPI.setObjectName("autoCompFromAPI")
        self.layoutRadioButton.addWidget(self.autoCompFromAPI, 0, 1, 1, 1)
        self.autoCompFromDoc = QtWidgets.QRadioButton(self.groupBoxAutoCompletion)
        self.autoCompFromDoc.setObjectName("autoCompFromDoc")
        self.layoutRadioButton.addWidget(self.autoCompFromDoc, 0, 0, 1, 1)
        self.gridLayout_5.addLayout(self.layoutRadioButton, 1, 0, 1, 3)
        self.gridLayout.addWidget(self.groupBoxAutoCompletion, 0, 0, 1, 1)
        self.groupBoxFromatting = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents)
        self.groupBoxFromatting.setProperty("collapsed", False)
        self.groupBoxFromatting.setProperty("saveCollapsedState", True)
        self.groupBoxFromatting.setObjectName("groupBoxFromatting")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBoxFromatting)
        self.gridLayout_4.setVerticalSpacing(2)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.maxLineLength = QgsSpinBox(self.groupBoxFromatting)
        self.maxLineLength.setMinimum(60)
        self.maxLineLength.setMaximum(200)
        self.maxLineLength.setProperty("value", 80)
        self.maxLineLength.setObjectName("maxLineLength")
        self.gridLayout_4.addWidget(self.maxLineLength, 2, 1, 1, 1)
        self.formatOnSave = QtWidgets.QCheckBox(self.groupBoxFromatting)
        self.formatOnSave.setObjectName("formatOnSave")
        self.gridLayout_4.addWidget(self.formatOnSave, 0, 0, 1, 2)
        self.blackNormalizeQuotes = QtWidgets.QCheckBox(self.groupBoxFromatting)
        self.blackNormalizeQuotes.setObjectName("blackNormalizeQuotes")
        self.gridLayout_4.addWidget(self.blackNormalizeQuotes, 5, 0, 1, 2)
        self.formatter = QtWidgets.QComboBox(self.groupBoxFromatting)
        self.formatter.setMinimumSize(QtCore.QSize(100, 0))
        self.formatter.setObjectName("formatter")
        self.gridLayout_4.addWidget(self.formatter, 3, 1, 1, 1)
        self.sortImports = QtWidgets.QCheckBox(self.groupBoxFromatting)
        self.sortImports.setObjectName("sortImports")
        self.gridLayout_4.addWidget(self.sortImports, 1, 0, 1, 2)
        self.autopep8LevelLabel = QtWidgets.QLabel(self.groupBoxFromatting)
        self.autopep8LevelLabel.setObjectName("autopep8LevelLabel")
        self.gridLayout_4.addWidget(self.autopep8LevelLabel, 4, 0, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.groupBoxFromatting)
        self.label_8.setObjectName("label_8")
        self.gridLayout_4.addWidget(self.label_8, 2, 0, 1, 1)
        self.label = QtWidgets.QLabel(self.groupBoxFromatting)
        self.label.setObjectName("label")
        self.gridLayout_4.addWidget(self.label, 3, 0, 1, 1)
        self.autopep8Level = QgsSpinBox(self.groupBoxFromatting)
        self.autopep8Level.setMaximum(3)
        self.autopep8Level.setProperty("value", 1)
        self.autopep8Level.setObjectName("autopep8Level")
        self.gridLayout_4.addWidget(self.autopep8Level, 4, 1, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem1, 0, 2, 1, 1)
        self.gridLayout.addWidget(self.groupBoxFromatting, 2, 0, 1, 1)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_16.addWidget(self.scrollArea, 0, 0, 1, 1)

        self.retranslateUi(SettingsDialogPythonConsole)
        QtCore.QMetaObject.connectSlotsByName(SettingsDialogPythonConsole)
        SettingsDialogPythonConsole.setTabOrder(self.groupBoxAutoCompletion, self.scrollArea)
        SettingsDialogPythonConsole.setTabOrder(self.scrollArea, self.autoCompThreshold)
        SettingsDialogPythonConsole.setTabOrder(self.autoCompThreshold, self.autoCompFromDoc)
        SettingsDialogPythonConsole.setTabOrder(self.autoCompFromDoc, self.autoCompFromAPI)
        SettingsDialogPythonConsole.setTabOrder(self.autoCompFromAPI, self.autoCompFromDocAPI)
        SettingsDialogPythonConsole.setTabOrder(self.autoCompFromDocAPI, self.autoCloseBracket)
        SettingsDialogPythonConsole.setTabOrder(self.autoCloseBracket, self.autoSurround)
        SettingsDialogPythonConsole.setTabOrder(self.autoSurround, self.autoInsertImport)
        SettingsDialogPythonConsole.setTabOrder(self.autoInsertImport, self.formatOnSave)
        SettingsDialogPythonConsole.setTabOrder(self.formatOnSave, self.sortImports)
        SettingsDialogPythonConsole.setTabOrder(self.sortImports, self.maxLineLength)
        SettingsDialogPythonConsole.setTabOrder(self.maxLineLength, self.formatter)
        SettingsDialogPythonConsole.setTabOrder(self.formatter, self.autopep8Level)
        SettingsDialogPythonConsole.setTabOrder(self.autopep8Level, self.blackNormalizeQuotes)
        SettingsDialogPythonConsole.setTabOrder(self.blackNormalizeQuotes, self.enableObjectInspector)
        SettingsDialogPythonConsole.setTabOrder(self.enableObjectInspector, self.autoSaveScript)
        SettingsDialogPythonConsole.setTabOrder(self.autoSaveScript, self.preloadAPI)
        SettingsDialogPythonConsole.setTabOrder(self.preloadAPI, self.tableWidget)
        SettingsDialogPythonConsole.setTabOrder(self.tableWidget, self.addAPIpath)
        SettingsDialogPythonConsole.setTabOrder(self.addAPIpath, self.removeAPIpath)
        SettingsDialogPythonConsole.setTabOrder(self.removeAPIpath, self.groupBoxPreparedAPI)
        SettingsDialogPythonConsole.setTabOrder(self.groupBoxPreparedAPI, self.compileAPIs)
        SettingsDialogPythonConsole.setTabOrder(self.compileAPIs, self.lineEdit)
        SettingsDialogPythonConsole.setTabOrder(self.lineEdit, self.tokenGhLineEdit)
        SettingsDialogPythonConsole.setTabOrder(self.tokenGhLineEdit, self.generateToken)

    def retranslateUi(self, SettingsDialogPythonConsole):
        _translate = QtCore.QCoreApplication.translate
        self.groupBox.setTitle(_translate("SettingsDialogPythonConsole", "GitHub Access Token"))
        self.tokenGhLineEdit.setPlaceholderText(_translate("SettingsDialogPythonConsole", "<PERSONAL_ACCESS_TOKEN>"))
        self.generateToken.setText(_translate("SettingsDialogPythonConsole", "Generate"))
        self.groupBoxApi.setTitle(_translate("SettingsDialogPythonConsole", "APIs"))
        self.preloadAPI.setText(_translate("SettingsDialogPythonConsole", "Using preloaded APIs file"))
        item = self.tableWidget.horizontalHeaderItem(0)
        item.setText(_translate("SettingsDialogPythonConsole", "APIs"))
        item = self.tableWidget.horizontalHeaderItem(1)
        item.setText(_translate("SettingsDialogPythonConsole", "Path"))
        self.groupBoxPreparedAPI.setTitle(_translate("SettingsDialogPythonConsole", "Using prepared APIs file"))
        self.compileAPIs.setText(_translate("SettingsDialogPythonConsole", "Compile APIs…"))
        self.groupBoxTyping.setTitle(_translate("SettingsDialogPythonConsole", "Typing"))
        self.autoCloseBracket.setText(_translate("SettingsDialogPythonConsole", "Automatic parentheses insertion"))
        self.autoSurround.setText(_translate("SettingsDialogPythonConsole", "Automatically surround selection when typing quotes or brackets"))
        self.autoInsertImport.setText(_translate("SettingsDialogPythonConsole", "Automatic insertion of the \'import\' string on \'from xxx\'"))
        self.groupBoxRunDebugEditor.setTitle(_translate("SettingsDialogPythonConsole", "Run and Debug"))
        self.autoSaveScript.setText(_translate("SettingsDialogPythonConsole", "Auto-save script before running"))
        self.enableObjectInspector.setText(_translate("SettingsDialogPythonConsole", "Enable Object Inspector (switching between tabs may be slow)"))
        self.groupBoxAutoCompletion.setTitle(_translate("SettingsDialogPythonConsole", "Autocompletion"))
        self.label_36.setText(_translate("SettingsDialogPythonConsole", "characters"))
        self.label_6.setText(_translate("SettingsDialogPythonConsole", "Autocompletion threshold"))
        self.autoCompFromDocAPI.setToolTip(_translate("SettingsDialogPythonConsole", "Get autocompletion from current document and installed APIs"))
        self.autoCompFromDocAPI.setText(_translate("SettingsDialogPythonConsole", "From doc and APIs"))
        self.autoCompFromAPI.setToolTip(_translate("SettingsDialogPythonConsole", "Get autocompletion from installed APIs"))
        self.autoCompFromAPI.setText(_translate("SettingsDialogPythonConsole", "From API files"))
        self.autoCompFromDoc.setToolTip(_translate("SettingsDialogPythonConsole", "Get autocompletion from current document"))
        self.autoCompFromDoc.setText(_translate("SettingsDialogPythonConsole", "From document"))
        self.groupBoxFromatting.setTitle(_translate("SettingsDialogPythonConsole", "Formatting"))
        self.formatOnSave.setText(_translate("SettingsDialogPythonConsole", "Reformat on save"))
        self.blackNormalizeQuotes.setText(_translate("SettingsDialogPythonConsole", "Normalize quotes"))
        self.sortImports.setText(_translate("SettingsDialogPythonConsole", "Sort imports"))
        self.autopep8LevelLabel.setText(_translate("SettingsDialogPythonConsole", "Autopep8 level"))
        self.label_8.setText(_translate("SettingsDialogPythonConsole", "Maximum line length"))
        self.label.setText(_translate("SettingsDialogPythonConsole", "Formatter"))
from qgis.gui import QgsCollapsibleGroupBox, QgsSpinBox
