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

# Form implementation generated from reading ui file 'ui/Upload.ui'
#
# Created: Mon Jul  6 00:30:48 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_Upload(object):
    def setupUi(self, Upload):
        Upload.setObjectName(_fromUtf8("Upload"))
        Upload.resize(673, 343)
        self.verticalLayout = QtGui.QVBoxLayout(Upload)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.titleLB = QtGui.QLabel(Upload)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.titleLB.setFont(font)
        self.titleLB.setObjectName(_fromUtf8("titleLB"))
        self.verticalLayout.addWidget(self.titleLB)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.layersList = QtGui.QListWidget(Upload)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.layersList.sizePolicy().hasHeightForWidth())
        self.layersList.setSizePolicy(sizePolicy)
        self.layersList.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
        self.layersList.setObjectName(_fromUtf8("layersList"))
        self.horizontalLayout.addWidget(self.layersList)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.avatarLB = QtGui.QLabel(Upload)
        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.horizontalLayout_2.addWidget(self.avatarLB)
        self.nameLB = QtGui.QLabel(Upload)
        self.nameLB.setObjectName(_fromUtf8("nameLB"))
        self.horizontalLayout_2.addWidget(self.nameLB)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.remainingBar = QtGui.QProgressBar(Upload)
        self.remainingBar.setProperty("value", 24)
        self.remainingBar.setObjectName(_fromUtf8("remainingBar"))
        self.verticalLayout_2.addWidget(self.remainingBar)
        self.quotaLB = QtGui.QLabel(Upload)
        self.quotaLB.setObjectName(_fromUtf8("quotaLB"))
        self.verticalLayout_2.addWidget(self.quotaLB)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.uploadBar = QtGui.QProgressBar(Upload)
        self.uploadBar.setProperty("value", 24)
        self.uploadBar.setObjectName(_fromUtf8("uploadBar"))
        self.verticalLayout_2.addWidget(self.uploadBar)
        self.uploadingLB = QtGui.QLabel(Upload)
        self.uploadingLB.setObjectName(_fromUtf8("uploadingLB"))
        self.verticalLayout_2.addWidget(self.uploadingLB)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.overideCH = QtGui.QCheckBox(Upload)
        self.overideCH.setObjectName(_fromUtf8("overideCH"))
        self.verticalLayout.addWidget(self.overideCH)
        self.convertCH = QtGui.QCheckBox(Upload)
        self.convertCH.setEnabled(True)
        self.convertCH.setObjectName(_fromUtf8("convertCH"))
        self.verticalLayout.addWidget(self.convertCH)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.cancelBT = QtGui.QPushButton(Upload)
        self.cancelBT.setObjectName(_fromUtf8("cancelBT"))
        self.horizontalLayout_3.addWidget(self.cancelBT)
        self.uploadBT = QtGui.QPushButton(Upload)
        self.uploadBT.setObjectName(_fromUtf8("uploadBT"))
        self.horizontalLayout_3.addWidget(self.uploadBT)
        self.verticalLayout.addLayout(self.horizontalLayout_3)

        self.retranslateUi(Upload)
        QtCore.QMetaObject.connectSlotsByName(Upload)

    def retranslateUi(self, Upload):
        Upload.setWindowTitle(_translate("Upload", "Upload layers to CartoDB", None))
        self.titleLB.setText(_translate("Upload", "Project Layers", None))
        self.avatarLB.setText(_translate("Upload", "Avatar", None))
        self.nameLB.setText(_translate("Upload", "Username", None))
        self.quotaLB.setText(_translate("Upload", "Quota", None))
        self.uploadingLB.setText(_translate("Upload", "Uploading...", None))
        self.overideCH.setText(_translate("Upload", "Replace if exists", None))
        self.convertCH.setText(_translate("Upload", "Add CartoDB layer to project", None))
        self.cancelBT.setText(_translate("Upload", "Cancel", None))
        self.uploadBT.setText(_translate("Upload", "Upload", None))

