/********************************************************************************
** Form generated from reading UI file 'tableeditordialog.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_TABLEEDITORDIALOG_H
#define UI_TABLEEDITORDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSplitter>
#include <QtGui/QTabWidget>
#include <QtGui/QTableWidget>
#include <QtGui/QTextEdit>
#include <QtGui/QWidget>
#include "sqleditorwidget.h"

QT_BEGIN_NAMESPACE

class Ui_TableEditorDialog
{
public:
    QGridLayout *gridLayout;
    QSplitter *tableEditorSplitter;
    QWidget *widget;
    QGridLayout *gridLayout1;
    QTabWidget *tabWidget;
    QWidget *designTab;
    QGridLayout *gridLayout2;
    QLabel *label_2;
    QComboBox *databaseCombo;
    QLabel *label;
    QLineEdit *nameEdit;
    QGroupBox *groupBox;
    QGridLayout *gridLayout3;
    QTableWidget *columnTable;
    QPushButton *addButton;
    QPushButton *removeButton;
    QSpacerItem *spacerItem;
    QLabel *adviceLabel;
    QWidget *sqlTab;
    QGridLayout *gridLayout4;
    SqlEditorWidget *textEdit;
    QSpacerItem *spacerItem1;
    QPushButton *createButton;
    QTextEdit *resultEdit;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *TableEditorDialog)
    {
        if (TableEditorDialog->objectName().isEmpty())
            TableEditorDialog->setObjectName(QString::fromUtf8("TableEditorDialog"));
        TableEditorDialog->resize(620, 613);
        gridLayout = new QGridLayout(TableEditorDialog);
#ifndef Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        tableEditorSplitter = new QSplitter(TableEditorDialog);
        tableEditorSplitter->setObjectName(QString::fromUtf8("tableEditorSplitter"));
        tableEditorSplitter->setOrientation(Qt::Vertical);
        widget = new QWidget(tableEditorSplitter);
        widget->setObjectName(QString::fromUtf8("widget"));
        gridLayout1 = new QGridLayout(widget);
#ifndef Q_OS_MAC
        gridLayout1->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout1->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        tabWidget = new QTabWidget(widget);
        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
        designTab = new QWidget();
        designTab->setObjectName(QString::fromUtf8("designTab"));
        gridLayout2 = new QGridLayout(designTab);
#ifndef Q_OS_MAC
        gridLayout2->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout2->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
        label_2 = new QLabel(designTab);
        label_2->setObjectName(QString::fromUtf8("label_2"));

        gridLayout2->addWidget(label_2, 0, 0, 1, 1);

        databaseCombo = new QComboBox(designTab);
        databaseCombo->setObjectName(QString::fromUtf8("databaseCombo"));

        gridLayout2->addWidget(databaseCombo, 0, 1, 1, 1);

        label = new QLabel(designTab);
        label->setObjectName(QString::fromUtf8("label"));

        gridLayout2->addWidget(label, 0, 2, 1, 1);

        nameEdit = new QLineEdit(designTab);
        nameEdit->setObjectName(QString::fromUtf8("nameEdit"));

        gridLayout2->addWidget(nameEdit, 0, 3, 1, 1);

        groupBox = new QGroupBox(designTab);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        gridLayout3 = new QGridLayout(groupBox);
#ifndef Q_OS_MAC
        gridLayout3->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout3->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
        columnTable = new QTableWidget(groupBox);
        if (columnTable->columnCount() < 4)
            columnTable->setColumnCount(4);
        QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
        columnTable->setHorizontalHeaderItem(0, __qtablewidgetitem);
        QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
        columnTable->setHorizontalHeaderItem(1, __qtablewidgetitem1);
        QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem();
        columnTable->setHorizontalHeaderItem(2, __qtablewidgetitem2);
        QTableWidgetItem *__qtablewidgetitem3 = new QTableWidgetItem();
        columnTable->setHorizontalHeaderItem(3, __qtablewidgetitem3);
        columnTable->setObjectName(QString::fromUtf8("columnTable"));
        columnTable->setAlternatingRowColors(true);
        columnTable->setSelectionMode(QAbstractItemView::SingleSelection);
        columnTable->setSelectionBehavior(QAbstractItemView::SelectRows);

        gridLayout3->addWidget(columnTable, 0, 0, 1, 3);

        addButton = new QPushButton(groupBox);
        addButton->setObjectName(QString::fromUtf8("addButton"));

        gridLayout3->addWidget(addButton, 1, 1, 1, 1);

        removeButton = new QPushButton(groupBox);
        removeButton->setObjectName(QString::fromUtf8("removeButton"));

        gridLayout3->addWidget(removeButton, 1, 2, 1, 1);

        spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout3->addItem(spacerItem, 1, 0, 1, 1);


        gridLayout2->addWidget(groupBox, 1, 0, 1, 4);

        adviceLabel = new QLabel(designTab);
        adviceLabel->setObjectName(QString::fromUtf8("adviceLabel"));
        adviceLabel->setTextFormat(Qt::AutoText);
        adviceLabel->setAlignment(Qt::AlignCenter);

        gridLayout2->addWidget(adviceLabel, 2, 0, 1, 4);

        tabWidget->addTab(designTab, QString());
        sqlTab = new QWidget();
        sqlTab->setObjectName(QString::fromUtf8("sqlTab"));
        gridLayout4 = new QGridLayout(sqlTab);
#ifndef Q_OS_MAC
        gridLayout4->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout4->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout4->setObjectName(QString::fromUtf8("gridLayout4"));
        textEdit = new SqlEditorWidget(sqlTab);
        textEdit->setObjectName(QString::fromUtf8("textEdit"));

        gridLayout4->addWidget(textEdit, 0, 0, 1, 1);

        tabWidget->addTab(sqlTab, QString());

        gridLayout1->addWidget(tabWidget, 0, 0, 1, 2);

        spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout1->addItem(spacerItem1, 1, 0, 1, 1);

        createButton = new QPushButton(widget);
        createButton->setObjectName(QString::fromUtf8("createButton"));

        gridLayout1->addWidget(createButton, 1, 1, 1, 1);

        tableEditorSplitter->addWidget(widget);
        resultEdit = new QTextEdit(tableEditorSplitter);
        resultEdit->setObjectName(QString::fromUtf8("resultEdit"));
        resultEdit->setReadOnly(true);
        tableEditorSplitter->addWidget(resultEdit);

        gridLayout->addWidget(tableEditorSplitter, 0, 0, 1, 1);

        buttonBox = new QDialogButtonBox(TableEditorDialog);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Close);

        gridLayout->addWidget(buttonBox, 1, 0, 1, 1);

#ifndef QT_NO_SHORTCUT
        label_2->setBuddy(databaseCombo);
        label->setBuddy(nameEdit);
#endif // QT_NO_SHORTCUT

        retranslateUi(TableEditorDialog);
        QObject::connect(buttonBox, SIGNAL(accepted()), TableEditorDialog, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), TableEditorDialog, SLOT(reject()));

        tabWidget->setCurrentIndex(0);


        QMetaObject::connectSlotsByName(TableEditorDialog);
    } // setupUi

    void retranslateUi(QDialog *TableEditorDialog)
    {
        TableEditorDialog->setWindowTitle(QApplication::translate("TableEditorDialog", "Create Table", 0, QApplication::UnicodeUTF8));
        label_2->setText(QApplication::translate("TableEditorDialog", "&Database:", 0, QApplication::UnicodeUTF8));
        label->setText(QApplication::translate("TableEditorDialog", "Table &Name:", 0, QApplication::UnicodeUTF8));
        groupBox->setTitle(QApplication::translate("TableEditorDialog", "Co&lumns", 0, QApplication::UnicodeUTF8));
        QTableWidgetItem *___qtablewidgetitem = columnTable->horizontalHeaderItem(0);
        ___qtablewidgetitem->setText(QApplication::translate("TableEditorDialog", "Name", 0, QApplication::UnicodeUTF8));
        QTableWidgetItem *___qtablewidgetitem1 = columnTable->horizontalHeaderItem(1);
        ___qtablewidgetitem1->setText(QApplication::translate("TableEditorDialog", "Type", 0, QApplication::UnicodeUTF8));
        QTableWidgetItem *___qtablewidgetitem2 = columnTable->horizontalHeaderItem(2);
        ___qtablewidgetitem2->setText(QApplication::translate("TableEditorDialog", "Not Null", 0, QApplication::UnicodeUTF8));
        QTableWidgetItem *___qtablewidgetitem3 = columnTable->horizontalHeaderItem(3);
        ___qtablewidgetitem3->setText(QApplication::translate("TableEditorDialog", "Default", 0, QApplication::UnicodeUTF8));
        addButton->setText(QApplication::translate("TableEditorDialog", "&Add", 0, QApplication::UnicodeUTF8));
        removeButton->setText(QApplication::translate("TableEditorDialog", "&Remove", 0, QApplication::UnicodeUTF8));
        adviceLabel->setText(QApplication::translate("TableEditorDialog", "If you need to use an advanced options<br>go to the \"<b>Advanced (SQL)</b>\" tab.", 0, QApplication::UnicodeUTF8));
        tabWidget->setTabText(tabWidget->indexOf(designTab), QApplication::translate("TableEditorDialog", "De&sign", 0, QApplication::UnicodeUTF8));
        tabWidget->setTabText(tabWidget->indexOf(sqlTab), QApplication::translate("TableEditorDialog", "Ad&vanced (SQL)", 0, QApplication::UnicodeUTF8));
        createButton->setText(QApplication::translate("TableEditorDialog", "C&reate", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class TableEditorDialog: public Ui_TableEditorDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_TABLEEDITORDIALOG_H
