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

# Form implementation generated from reading ui file 'ui/NewSQL.ui'
#
# Created: Wed Jul 29 00:33:14 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_NewSQL(object):
    def setupUi(self, NewSQL):
        NewSQL.setObjectName(_fromUtf8("NewSQL"))
        NewSQL.resize(740, 400)
        self.verticalLayout = QtGui.QVBoxLayout(NewSQL)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.splitter = QtGui.QSplitter(NewSQL)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.verticalLayoutWidget = QtGui.QWidget(self.splitter)
        self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
        self.leftContainer = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.leftContainer.setMargin(0)
        self.leftContainer.setObjectName(_fromUtf8("leftContainer"))
        self.sqlLB = QtGui.QLabel(self.verticalLayoutWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.sqlLB.setFont(font)
        self.sqlLB.setObjectName(_fromUtf8("sqlLB"))
        self.leftContainer.addWidget(self.sqlLB)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.avatarLB = QtGui.QLabel(self.verticalLayoutWidget)
        self.avatarLB.setObjectName(_fromUtf8("avatarLB"))
        self.horizontalLayout.addWidget(self.avatarLB)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.nameLB = QtGui.QLabel(self.verticalLayoutWidget)
        self.nameLB.setObjectName(_fromUtf8("nameLB"))
        self.verticalLayout_2.addWidget(self.nameLB)
        self.remainingBar = QtGui.QProgressBar(self.verticalLayoutWidget)
        self.remainingBar.setProperty("value", 0)
        self.remainingBar.setOrientation(QtCore.Qt.Horizontal)
        self.remainingBar.setObjectName(_fromUtf8("remainingBar"))
        self.verticalLayout_2.addWidget(self.remainingBar)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.leftContainer.addLayout(self.horizontalLayout)
        self.verticalLayoutWidget_2 = QtGui.QWidget(self.splitter)
        self.verticalLayoutWidget_2.setObjectName(_fromUtf8("verticalLayoutWidget_2"))
        self.rightContainer = QtGui.QVBoxLayout(self.verticalLayoutWidget_2)
        self.rightContainer.setMargin(0)
        self.rightContainer.setObjectName(_fromUtf8("rightContainer"))
        self.tablesLB = QtGui.QLabel(self.verticalLayoutWidget_2)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.tablesLB.setFont(font)
        self.tablesLB.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.tablesLB.setObjectName(_fromUtf8("tablesLB"))
        self.rightContainer.addWidget(self.tablesLB)
        self.tablesTree = QtGui.QTreeWidget(self.verticalLayoutWidget_2)
        self.tablesTree.setIndentation(10)
        self.tablesTree.setWordWrap(False)
        self.tablesTree.setHeaderHidden(True)
        self.tablesTree.setColumnCount(1)
        self.tablesTree.setObjectName(_fromUtf8("tablesTree"))
        self.tablesTree.headerItem().setText(0, _fromUtf8("1"))
        self.rightContainer.addWidget(self.tablesTree)
        self.verticalLayout.addWidget(self.splitter)
        self.buttonsHL = QtGui.QHBoxLayout()
        self.buttonsHL.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.buttonsHL.setObjectName(_fromUtf8("buttonsHL"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.buttonsHL.addItem(spacerItem)
        self.cancelBT = QtGui.QPushButton(NewSQL)
        self.cancelBT.setObjectName(_fromUtf8("cancelBT"))
        self.buttonsHL.addWidget(self.cancelBT)
        self.testBT = QtGui.QPushButton(NewSQL)
        self.testBT.setEnabled(False)
        self.testBT.setObjectName(_fromUtf8("testBT"))
        self.buttonsHL.addWidget(self.testBT)
        self.addLayerBT = QtGui.QPushButton(NewSQL)
        self.addLayerBT.setEnabled(False)
        self.addLayerBT.setObjectName(_fromUtf8("addLayerBT"))
        self.buttonsHL.addWidget(self.addLayerBT)
        self.verticalLayout.addLayout(self.buttonsHL)

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

    def retranslateUi(self, NewSQL):
        NewSQL.setWindowTitle(_translate("NewSQL", "Add CartoDB SQL Layer", None))
        self.sqlLB.setText(_translate("NewSQL", "SQL Query", None))
        self.avatarLB.setText(_translate("NewSQL", "Avatar", None))
        self.nameLB.setText(_translate("NewSQL", "Name", None))
        self.tablesLB.setText(_translate("NewSQL", "Tables", None))
        self.cancelBT.setText(_translate("NewSQL", "Cancel", None))
        self.testBT.setText(_translate("NewSQL", "Test Query", None))
        self.addLayerBT.setText(_translate("NewSQL", "Add Layer", None))

