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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/EditorAPIsPage.ui'
#
# Created by: PyQt5 UI code generator 5.4.1
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_EditorAPIsPage(object):
    def setupUi(self, EditorAPIsPage):
        EditorAPIsPage.setObjectName("EditorAPIsPage")
        EditorAPIsPage.resize(462, 422)
        self.vboxlayout = QtWidgets.QVBoxLayout(EditorAPIsPage)
        self.vboxlayout.setObjectName("vboxlayout")
        self.headerLabel = QtWidgets.QLabel(EditorAPIsPage)
        self.headerLabel.setObjectName("headerLabel")
        self.vboxlayout.addWidget(self.headerLabel)
        self.line5 = QtWidgets.QFrame(EditorAPIsPage)
        self.line5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line5.setObjectName("line5")
        self.vboxlayout.addWidget(self.line5)
        self.apiAutoPrepareCheckBox = QtWidgets.QCheckBox(EditorAPIsPage)
        self.apiAutoPrepareCheckBox.setObjectName("apiAutoPrepareCheckBox")
        self.vboxlayout.addWidget(self.apiAutoPrepareCheckBox)
        self.hboxlayout = QtWidgets.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.TextLabel1_3_3 = QtWidgets.QLabel(EditorAPIsPage)
        self.TextLabel1_3_3.setToolTip("")
        self.TextLabel1_3_3.setObjectName("TextLabel1_3_3")
        self.hboxlayout.addWidget(self.TextLabel1_3_3)
        self.apiLanguageComboBox = QtWidgets.QComboBox(EditorAPIsPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.apiLanguageComboBox.sizePolicy().hasHeightForWidth())
        self.apiLanguageComboBox.setSizePolicy(sizePolicy)
        self.apiLanguageComboBox.setObjectName("apiLanguageComboBox")
        self.hboxlayout.addWidget(self.apiLanguageComboBox)
        self.vboxlayout.addLayout(self.hboxlayout)
        self.apiGroup = QtWidgets.QGroupBox(EditorAPIsPage)
        self.apiGroup.setEnabled(False)
        self.apiGroup.setObjectName("apiGroup")
        self.gridlayout = QtWidgets.QGridLayout(self.apiGroup)
        self.gridlayout.setObjectName("gridlayout")
        self.apiList = QtWidgets.QListWidget(self.apiGroup)
        self.apiList.setAlternatingRowColors(True)
        self.apiList.setObjectName("apiList")
        self.gridlayout.addWidget(self.apiList, 0, 0, 1, 4)
        self.deleteApiFileButton = QtWidgets.QPushButton(self.apiGroup)
        self.deleteApiFileButton.setObjectName("deleteApiFileButton")
        self.gridlayout.addWidget(self.deleteApiFileButton, 1, 0, 1, 1)
        self.addApiFileButton = QtWidgets.QPushButton(self.apiGroup)
        self.addApiFileButton.setObjectName("addApiFileButton")
        self.gridlayout.addWidget(self.addApiFileButton, 1, 1, 1, 1)
        self.apiFileEdit = QtWidgets.QLineEdit(self.apiGroup)
        self.apiFileEdit.setObjectName("apiFileEdit")
        self.gridlayout.addWidget(self.apiFileEdit, 1, 2, 1, 1)
        self.addInstalledApiFileButton = QtWidgets.QPushButton(self.apiGroup)
        self.addInstalledApiFileButton.setObjectName("addInstalledApiFileButton")
        self.gridlayout.addWidget(self.addInstalledApiFileButton, 2, 1, 1, 3)
        self.addPluginApiFileButton = QtWidgets.QPushButton(self.apiGroup)
        self.addPluginApiFileButton.setObjectName("addPluginApiFileButton")
        self.gridlayout.addWidget(self.addPluginApiFileButton, 3, 1, 1, 3)
        self.line = QtWidgets.QFrame(self.apiGroup)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 4, 0, 1, 4)
        self.prepareApiButton = QtWidgets.QPushButton(self.apiGroup)
        self.prepareApiButton.setObjectName("prepareApiButton")
        self.gridlayout.addWidget(self.prepareApiButton, 5, 0, 1, 2)
        self.prepareApiProgressBar = QtWidgets.QProgressBar(self.apiGroup)
        self.prepareApiProgressBar.setProperty("value", 0)
        self.prepareApiProgressBar.setTextVisible(False)
        self.prepareApiProgressBar.setOrientation(QtCore.Qt.Horizontal)
        self.prepareApiProgressBar.setObjectName("prepareApiProgressBar")
        self.gridlayout.addWidget(self.prepareApiProgressBar, 5, 2, 1, 2)
        self.apiFileButton = QtWidgets.QToolButton(self.apiGroup)
        self.apiFileButton.setObjectName("apiFileButton")
        self.gridlayout.addWidget(self.apiFileButton, 1, 3, 1, 1)
        self.vboxlayout.addWidget(self.apiGroup)

        self.retranslateUi(EditorAPIsPage)
        QtCore.QMetaObject.connectSlotsByName(EditorAPIsPage)
        EditorAPIsPage.setTabOrder(self.apiAutoPrepareCheckBox, self.apiLanguageComboBox)
        EditorAPIsPage.setTabOrder(self.apiLanguageComboBox, self.apiList)
        EditorAPIsPage.setTabOrder(self.apiList, self.deleteApiFileButton)
        EditorAPIsPage.setTabOrder(self.deleteApiFileButton, self.apiFileEdit)
        EditorAPIsPage.setTabOrder(self.apiFileEdit, self.apiFileButton)
        EditorAPIsPage.setTabOrder(self.apiFileButton, self.addApiFileButton)
        EditorAPIsPage.setTabOrder(self.addApiFileButton, self.addInstalledApiFileButton)
        EditorAPIsPage.setTabOrder(self.addInstalledApiFileButton, self.addPluginApiFileButton)
        EditorAPIsPage.setTabOrder(self.addPluginApiFileButton, self.prepareApiButton)

    def retranslateUi(self, EditorAPIsPage):
        _translate = QtCore.QCoreApplication.translate
        self.headerLabel.setText(_translate("EditorAPIsPage", "<b>Configure API files</b>"))
        self.apiAutoPrepareCheckBox.setToolTip(_translate("EditorAPIsPage", "Select to compile the APIs automatically upon loading"))
        self.apiAutoPrepareCheckBox.setText(_translate("EditorAPIsPage", "Compile APIs automatically"))
        self.TextLabel1_3_3.setText(_translate("EditorAPIsPage", "Language:"))
        self.apiLanguageComboBox.setToolTip(_translate("EditorAPIsPage", "Select the language to be configured."))
        self.apiGroup.setTitle(_translate("EditorAPIsPage", "APIs"))
        self.apiList.setToolTip(_translate("EditorAPIsPage", "List of API files"))
        self.deleteApiFileButton.setToolTip(_translate("EditorAPIsPage", "Press to delete the selected file from the list"))
        self.deleteApiFileButton.setText(_translate("EditorAPIsPage", "Delete"))
        self.addApiFileButton.setToolTip(_translate("EditorAPIsPage", "Press to add the entered file to the list"))
        self.addApiFileButton.setText(_translate("EditorAPIsPage", "Add"))
        self.apiFileEdit.setToolTip(_translate("EditorAPIsPage", "Enter a file to be added"))
        self.addInstalledApiFileButton.setToolTip(_translate("EditorAPIsPage", "Press to select an API file from the list of installed API files"))
        self.addInstalledApiFileButton.setText(_translate("EditorAPIsPage", "Add from installed APIs"))
        self.addPluginApiFileButton.setToolTip(_translate("EditorAPIsPage", "Press to select an API file from the list of API files installed by plugins"))
        self.addPluginApiFileButton.setText(_translate("EditorAPIsPage", "Add from Plugin APIs"))
        self.prepareApiButton.setToolTip(_translate("EditorAPIsPage", "Press to compile the selected APIs definition"))
        self.prepareApiButton.setText(_translate("EditorAPIsPage", "Compile APIs"))
        self.apiFileButton.setToolTip(_translate("EditorAPIsPage", "Press to select an API file via a selection dialog"))

