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

# Form implementation generated from reading ui file 'backendcfg.ui'
#
# Created: Sat Nov 21 20:09:23 2015
#      by: PyQt4 UI code generator 4.9.6
#
# 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_BackendCfg(object):
    def setupUi(self, BackendCfg):
        BackendCfg.setObjectName(_fromUtf8("BackendCfg"))
        BackendCfg.resize(622, 516)
        self.verticalLayout_3 = QtGui.QVBoxLayout(BackendCfg)
        self.verticalLayout_3.setSpacing(6)
        self.verticalLayout_3.setMargin(4)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.frame_3 = QtGui.QFrame(BackendCfg)
        self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_3.setObjectName(_fromUtf8("frame_3"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.frame_3)
        self.horizontalLayout_3.setMargin(4)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.updateButton = QtGui.QPushButton(self.frame_3)
        self.updateButton.setObjectName(_fromUtf8("updateButton"))
        self.horizontalLayout_3.addWidget(self.updateButton)
        self.repositoriesButton = QtGui.QPushButton(self.frame_3)
        self.repositoriesButton.setObjectName(_fromUtf8("repositoriesButton"))
        self.horizontalLayout_3.addWidget(self.repositoriesButton)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.verticalLayout_3.addWidget(self.frame_3)
        self.splitter_2 = QtGui.QSplitter(BackendCfg)
        self.splitter_2.setOrientation(QtCore.Qt.Vertical)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.horizontalLayoutWidget = QtGui.QWidget(self.splitter_2)
        self.horizontalLayoutWidget.setObjectName(_fromUtf8("horizontalLayoutWidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.backendsList = QtGui.QTreeWidget(self.horizontalLayoutWidget)
        self.backendsList.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.backendsList.setIconSize(QtCore.QSize(24, 24))
        self.backendsList.setRootIsDecorated(False)
        self.backendsList.setUniformRowHeights(False)
        self.backendsList.setItemsExpandable(False)
        self.backendsList.setAnimated(True)
        self.backendsList.setWordWrap(False)
        self.backendsList.setExpandsOnDoubleClick(False)
        self.backendsList.setObjectName(_fromUtf8("backendsList"))
        self.backendsList.header().setCascadingSectionResizes(False)
        self.backendsList.header().setHighlightSections(True)
        self.horizontalLayout.addWidget(self.backendsList)
        self.frame = QtGui.QFrame(self.horizontalLayoutWidget)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.verticalLayout = QtGui.QVBoxLayout(self.frame)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.addButton = QtGui.QPushButton(self.frame)
        self.addButton.setObjectName(_fromUtf8("addButton"))
        self.verticalLayout.addWidget(self.addButton)
        self.removeButton = QtGui.QPushButton(self.frame)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.verticalLayout.addWidget(self.removeButton)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)
        self.horizontalLayout.addWidget(self.frame)
        self.configFrame = QtGui.QFrame(self.splitter_2)
        self.configFrame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.configFrame.setFrameShadow(QtGui.QFrame.Raised)
        self.configFrame.setObjectName(_fromUtf8("configFrame"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.configFrame)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_2 = QtGui.QLabel(self.configFrame)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_2.addWidget(self.label_2)
        self.modulesList = QtGui.QListWidget(self.configFrame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.modulesList.sizePolicy().hasHeightForWidth())
        self.modulesList.setSizePolicy(sizePolicy)
        self.modulesList.setIconSize(QtCore.QSize(24, 24))
        self.modulesList.setSpacing(1)
        self.modulesList.setObjectName(_fromUtf8("modulesList"))
        self.verticalLayout_2.addWidget(self.modulesList)
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)
        self.frame_2 = QtGui.QFrame(self.configFrame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
        self.frame_2.setSizePolicy(sizePolicy)
        self.frame_2.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_2.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_2.setObjectName(_fromUtf8("frame_2"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.frame_2)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.moduleInfo = QtGui.QTextEdit(self.frame_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.moduleInfo.sizePolicy().hasHeightForWidth())
        self.moduleInfo.setSizePolicy(sizePolicy)
        self.moduleInfo.setReadOnly(True)
        self.moduleInfo.setObjectName(_fromUtf8("moduleInfo"))
        self.verticalLayout_4.addWidget(self.moduleInfo)
        self.configLayout = QtGui.QFormLayout()
        self.configLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.configLayout.setObjectName(_fromUtf8("configLayout"))
        self.nameEdit = QtGui.QLineEdit(self.frame_2)
        self.nameEdit.setObjectName(_fromUtf8("nameEdit"))
        self.configLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.nameEdit)
        self.proxyBox = QtGui.QCheckBox(self.frame_2)
        self.proxyBox.setObjectName(_fromUtf8("proxyBox"))
        self.configLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.proxyBox)
        self.proxyEdit = QtGui.QLineEdit(self.frame_2)
        self.proxyEdit.setEnabled(False)
        self.proxyEdit.setObjectName(_fromUtf8("proxyEdit"))
        self.configLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.proxyEdit)
        self.registerButton = QtGui.QPushButton(self.frame_2)
        self.registerButton.setObjectName(_fromUtf8("registerButton"))
        self.configLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.registerButton)
        self.label = QtGui.QLabel(self.frame_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.configLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.verticalLayout_4.addLayout(self.configLayout)
        self.configButtonBox = QtGui.QDialogButtonBox(self.frame_2)
        self.configButtonBox.setOrientation(QtCore.Qt.Horizontal)
        self.configButtonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.configButtonBox.setObjectName(_fromUtf8("configButtonBox"))
        self.verticalLayout_4.addWidget(self.configButtonBox)
        self.horizontalLayout_2.addWidget(self.frame_2)
        self.verticalLayout_3.addWidget(self.splitter_2)
        self.buttonBox = QtGui.QDialogButtonBox(BackendCfg)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_3.addWidget(self.buttonBox)

        self.retranslateUi(BackendCfg)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), BackendCfg.accept)
        QtCore.QMetaObject.connectSlotsByName(BackendCfg)
        BackendCfg.setTabOrder(self.backendsList, self.addButton)
        BackendCfg.setTabOrder(self.addButton, self.removeButton)
        BackendCfg.setTabOrder(self.removeButton, self.modulesList)
        BackendCfg.setTabOrder(self.modulesList, self.moduleInfo)
        BackendCfg.setTabOrder(self.moduleInfo, self.nameEdit)
        BackendCfg.setTabOrder(self.nameEdit, self.proxyBox)
        BackendCfg.setTabOrder(self.proxyBox, self.proxyEdit)
        BackendCfg.setTabOrder(self.proxyEdit, self.registerButton)
        BackendCfg.setTabOrder(self.registerButton, self.configButtonBox)
        BackendCfg.setTabOrder(self.configButtonBox, self.buttonBox)

    def retranslateUi(self, BackendCfg):
        BackendCfg.setWindowTitle(_translate("BackendCfg", "Backends configuration", None))
        self.updateButton.setText(_translate("BackendCfg", "Update modules", None))
        self.repositoriesButton.setText(_translate("BackendCfg", "Repositories", None))
        self.backendsList.setSortingEnabled(True)
        self.backendsList.headerItem().setText(0, _translate("BackendCfg", "Name", None))
        self.backendsList.headerItem().setText(1, _translate("BackendCfg", "Module", None))
        self.addButton.setText(_translate("BackendCfg", "Add", None))
        self.removeButton.setText(_translate("BackendCfg", "Remove", None))
        self.label_2.setText(_translate("BackendCfg", "Available modules:", None))
        self.modulesList.setSortingEnabled(True)
        self.proxyBox.setText(_translate("BackendCfg", "Proxy:", None))
        self.registerButton.setText(_translate("BackendCfg", "Register an account...", None))
        self.label.setText(_translate("BackendCfg", "Name:", None))

