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

# Form implementation generated from reading ui file 'ui/NewSQL.ui'
#
# Created: Mon Jul  6 00:30:47 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.connectionList = QtGui.QComboBox(self.verticalLayoutWidget)
        self.connectionList.setObjectName(_fromUtf8("connectionList"))
        self.leftContainer.addWidget(self.connectionList)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.loadTableBT = QtGui.QPushButton(self.verticalLayoutWidget)
        self.loadTableBT.setObjectName(_fromUtf8("loadTableBT"))
        self.horizontalLayout.addWidget(self.loadTableBT)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.newConnectionBT = QtGui.QPushButton(self.verticalLayoutWidget)
        self.newConnectionBT.setObjectName(_fromUtf8("newConnectionBT"))
        self.horizontalLayout.addWidget(self.newConnectionBT)
        self.editConnectionBT = QtGui.QPushButton(self.verticalLayoutWidget)
        self.editConnectionBT.setObjectName(_fromUtf8("editConnectionBT"))
        self.horizontalLayout.addWidget(self.editConnectionBT)
        self.deleteConnectionBT = QtGui.QPushButton(self.verticalLayoutWidget)
        self.deleteConnectionBT.setObjectName(_fromUtf8("deleteConnectionBT"))
        self.horizontalLayout.addWidget(self.deleteConnectionBT)
        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"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.buttonsHL.addItem(spacerItem1)
        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.loadTableBT.setText(_translate("NewSQL", "Load Tables", None))
        self.newConnectionBT.setText(_translate("NewSQL", "New", None))
        self.editConnectionBT.setText(_translate("NewSQL", "Edit", None))
        self.deleteConnectionBT.setText(_translate("NewSQL", "Delete", 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))

