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

# Form implementation generated from reading ui file 'ui/UI_CartoDBPlugin.ui'
#
# Created: Fri May 15 02:12:15 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_CartoDBPlugin(object):
    def setupUi(self, CartoDBPlugin):
        CartoDBPlugin.setObjectName(_fromUtf8("CartoDBPlugin"))
        CartoDBPlugin.resize(538, 406)
        self.verticalLayout = QtGui.QVBoxLayout(CartoDBPlugin)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.titleLB = QtGui.QLabel(CartoDBPlugin)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.titleLB.setFont(font)
        self.titleLB.setObjectName(_fromUtf8("titleLB"))
        self.verticalLayout.addWidget(self.titleLB)
        self.searchLayout = QtGui.QHBoxLayout()
        self.searchLayout.setObjectName(_fromUtf8("searchLayout"))
        self.searchTX = QtGui.QLineEdit(CartoDBPlugin)
        self.searchTX.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.searchTX.sizePolicy().hasHeightForWidth())
        self.searchTX.setSizePolicy(sizePolicy)
        self.searchTX.setObjectName(_fromUtf8("searchTX"))
        self.searchLayout.addWidget(self.searchTX)
        self.verticalLayout.addLayout(self.searchLayout)
        self.tablesList = QtGui.QListWidget(CartoDBPlugin)
        self.tablesList.setAlternatingRowColors(True)
        self.tablesList.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
        self.tablesList.setObjectName(_fromUtf8("tablesList"))
        self.verticalLayout.addWidget(self.tablesList)
        self.userDataLayout = QtGui.QHBoxLayout()
        self.userDataLayout.setObjectName(_fromUtf8("userDataLayout"))
        self.avatarLB = QtGui.QLabel(CartoDBPlugin)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.avatarLB.sizePolicy().hasHeightForWidth())
        self.avatarLB.setSizePolicy(sizePolicy)
        self.avatarLB.setMinimumSize(QtCore.QSize(50, 50))
        self.avatarLB.setObjectName(_fromUtf8("avatarLB"))
        self.userDataLayout.addWidget(self.avatarLB)
        spacerItem = QtGui.QSpacerItem(5, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.userDataLayout.addItem(spacerItem)
        self.quotaLayout = QtGui.QVBoxLayout()
        self.quotaLayout.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.quotaLayout.setObjectName(_fromUtf8("quotaLayout"))
        self.nameLB = QtGui.QLabel(CartoDBPlugin)
        self.nameLB.setObjectName(_fromUtf8("nameLB"))
        self.quotaLayout.addWidget(self.nameLB)
        self.remainingBar = QtGui.QProgressBar(CartoDBPlugin)
        self.remainingBar.setProperty("value", 0)
        self.remainingBar.setObjectName(_fromUtf8("remainingBar"))
        self.quotaLayout.addWidget(self.remainingBar)
        self.userDataLayout.addLayout(self.quotaLayout)
        self.verticalLayout.addLayout(self.userDataLayout)
        self.buttonBox = QtGui.QDialogButtonBox(CartoDBPlugin)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(CartoDBPlugin)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), CartoDBPlugin.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), CartoDBPlugin.reject)
        QtCore.QObject.connect(self.tablesList, QtCore.SIGNAL(_fromUtf8("itemDoubleClicked(QListWidgetItem*)")), CartoDBPlugin.accept)
        QtCore.QMetaObject.connectSlotsByName(CartoDBPlugin)

    def retranslateUi(self, CartoDBPlugin):
        CartoDBPlugin.setWindowTitle(_translate("CartoDBPlugin", "Add CartoDB Layer", None))
        self.titleLB.setText(_translate("CartoDBPlugin", "CartoDB Layers", None))
        self.searchTX.setPlaceholderText(_translate("CartoDBPlugin", "Filter Tables", None))
        self.avatarLB.setText(_translate("CartoDBPlugin", "Avatar", None))
        self.nameLB.setText(_translate("CartoDBPlugin", "Name", None))

