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

# Form implementation generated from reading ui file 'C:/src/qgis/python/pyplugin_installer/qgsplugininstallerrepositorybase.ui'
#
# Created: Sat Oct 24 00:18:39 2015
#      by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_QgsPluginInstallerRepositoryDetailsDialogBase(object):
    def setupUi(self, QgsPluginInstallerRepositoryDetailsDialogBase):
        QgsPluginInstallerRepositoryDetailsDialogBase.setObjectName(_fromUtf8("QgsPluginInstallerRepositoryDetailsDialogBase"))
        QgsPluginInstallerRepositoryDetailsDialogBase.resize(522, 185)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(QgsPluginInstallerRepositoryDetailsDialogBase.sizePolicy().hasHeightForWidth())
        QgsPluginInstallerRepositoryDetailsDialogBase.setSizePolicy(sizePolicy)
        QgsPluginInstallerRepositoryDetailsDialogBase.setStatusTip(_fromUtf8(""))
        QgsPluginInstallerRepositoryDetailsDialogBase.setWhatsThis(_fromUtf8(""))
        self.gridlayout = QtGui.QGridLayout(QgsPluginInstallerRepositoryDetailsDialogBase)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.labelInfo = QtGui.QLabel(QgsPluginInstallerRepositoryDetailsDialogBase)
        self.labelInfo.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelInfo.sizePolicy().hasHeightForWidth())
        self.labelInfo.setSizePolicy(sizePolicy)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(175, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(175, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(128, 128, 128))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        self.labelInfo.setPalette(palette)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.labelInfo.setFont(font)
        self.labelInfo.setFrameShape(QtGui.QFrame.NoFrame)
        self.labelInfo.setText(_fromUtf8(""))
        self.labelInfo.setObjectName(_fromUtf8("labelInfo"))
        self.gridlayout.addWidget(self.labelInfo, 5, 1, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(QgsPluginInstallerRepositoryDetailsDialogBase)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout.addWidget(self.buttonBox, 7, 0, 1, 3)
        self.label = QtGui.QLabel(QgsPluginInstallerRepositoryDetailsDialogBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem, 4, 1, 1, 2)
        self.editURL = QtGui.QLineEdit(QgsPluginInstallerRepositoryDetailsDialogBase)
        self.editURL.setText(_fromUtf8(""))
        self.editURL.setObjectName(_fromUtf8("editURL"))
        self.gridlayout.addWidget(self.editURL, 1, 1, 1, 2)
        self.checkBoxEnabled = QtGui.QCheckBox(QgsPluginInstallerRepositoryDetailsDialogBase)
        self.checkBoxEnabled.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkBoxEnabled.sizePolicy().hasHeightForWidth())
        self.checkBoxEnabled.setSizePolicy(sizePolicy)
        self.checkBoxEnabled.setText(_fromUtf8(""))
        self.checkBoxEnabled.setChecked(False)
        self.checkBoxEnabled.setObjectName(_fromUtf8("checkBoxEnabled"))
        self.gridlayout.addWidget(self.checkBoxEnabled, 3, 1, 1, 1)
        self.label_3 = QtGui.QLabel(QgsPluginInstallerRepositoryDetailsDialogBase)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridlayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.editParams = QtGui.QLineEdit(QgsPluginInstallerRepositoryDetailsDialogBase)
        self.editParams.setEnabled(False)
        self.editParams.setObjectName(_fromUtf8("editParams"))
        self.gridlayout.addWidget(self.editParams, 2, 1, 1, 2)
        self.editName = QtGui.QLineEdit(QgsPluginInstallerRepositoryDetailsDialogBase)
        self.editName.setObjectName(_fromUtf8("editName"))
        self.gridlayout.addWidget(self.editName, 0, 1, 1, 2)
        self.label_2 = QtGui.QLabel(QgsPluginInstallerRepositoryDetailsDialogBase)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridlayout.addWidget(self.label_2, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(351, 23, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 3, 2, 1, 1)
        self.label_4 = QtGui.QLabel(QgsPluginInstallerRepositoryDetailsDialogBase)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridlayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.label.setBuddy(self.editName)
        self.label_3.setBuddy(self.editParams)
        self.label_2.setBuddy(self.editURL)
        self.label_4.setBuddy(self.checkBoxEnabled)

        self.retranslateUi(QgsPluginInstallerRepositoryDetailsDialogBase)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), QgsPluginInstallerRepositoryDetailsDialogBase.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), QgsPluginInstallerRepositoryDetailsDialogBase.reject)
        QtCore.QMetaObject.connectSlotsByName(QgsPluginInstallerRepositoryDetailsDialogBase)
        QgsPluginInstallerRepositoryDetailsDialogBase.setTabOrder(self.editName, self.editURL)
        QgsPluginInstallerRepositoryDetailsDialogBase.setTabOrder(self.editURL, self.editParams)
        QgsPluginInstallerRepositoryDetailsDialogBase.setTabOrder(self.editParams, self.checkBoxEnabled)
        QgsPluginInstallerRepositoryDetailsDialogBase.setTabOrder(self.checkBoxEnabled, self.buttonBox)

    def retranslateUi(self, QgsPluginInstallerRepositoryDetailsDialogBase):
        QgsPluginInstallerRepositoryDetailsDialogBase.setWindowTitle(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "Repository details", None))
        self.label.setText(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "Name", None))
        self.editURL.setToolTip(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "Enter the repository URL, beginning with \"http://\"", None))
        self.editURL.setWhatsThis(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "Enter the repository URL, beginning with \"http://\"", None))
        self.checkBoxEnabled.setToolTip(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "Enable or disable the repository (disabled repositories will be omitted)", None))
        self.checkBoxEnabled.setWhatsThis(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "Enable or disable the repository (disabled repositories will be omitted)", None))
        self.label_3.setText(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "Parameters", None))
        self.editParams.setText(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "?qgis=", None))
        self.editName.setToolTip(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "Enter a name for the repository", None))
        self.editName.setWhatsThis(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "Enter a name for the repository", None))
        self.label_2.setText(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "URL", None))
        self.label_4.setText(_translate("QgsPluginInstallerRepositoryDetailsDialogBase", "Enabled", None))

