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

#ifndef UI_TABLEWINDOW_H
#define UI_TABLEWINDOW_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QTableView>
#include <QtWidgets/QToolBar>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "common/dbcombobox.h"
#include "common/exttableview.h"
#include "common/exttablewidget.h"
#include "dataview.h"
#include "sqlview.h"

QT_BEGIN_NAMESPACE

class Ui_TableWindow
{
public:
    QHBoxLayout *horizontalLayout;
    QTabWidget *tabWidget;
    QWidget *structureTab;
    QVBoxLayout *structureTabLayout;
    QToolBar *structureToolBar;
    QWidget *structureTopBar;
    QHBoxLayout *horizontalLayout_2;
    DbComboBox *dbCombo;
    QLabel *tableNameLabel;
    QLineEdit *tableNameEdit;
    QCheckBox *withoutRowIdCheck;
    QCheckBox *strictTableCheck;
    QSpacerItem *horizontalSpacer;
    QSplitter *structureSplitter;
    ExtTableView *structureView;
    QWidget *constraintsWidget;
    QVBoxLayout *verticalLayout;
    QToolBar *tableConstraintsToolbar;
    ExtTableView *tableConstraintsView;
    QWidget *dataTab;
    QVBoxLayout *verticalLayout_5;
    DataView *dataView;
    QWidget *constraintsTab;
    QVBoxLayout *verticalLayout_6;
    QTableView *constraintsView;
    QWidget *indexesTab;
    QVBoxLayout *verticalLayout_4;
    QToolBar *indexToolBar;
    ExtTableWidget *indexList;
    QWidget *triggersTab;
    QVBoxLayout *verticalLayout_3;
    QToolBar *triggerToolBar;
    ExtTableWidget *triggerList;
    QWidget *ddlTab;
    QVBoxLayout *verticalLayout_2;
    SqlView *ddlEdit;

    void setupUi(QWidget *TableWindow)
    {
        if (TableWindow->objectName().isEmpty())
            TableWindow->setObjectName(QString::fromUtf8("TableWindow"));
        TableWindow->resize(609, 415);
        TableWindow->setWindowTitle(QString::fromUtf8("Form"));
        horizontalLayout = new QHBoxLayout(TableWindow);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalLayout->setContentsMargins(0, 0, 0, 0);
        tabWidget = new QTabWidget(TableWindow);
        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
        structureTab = new QWidget();
        structureTab->setObjectName(QString::fromUtf8("structureTab"));
        structureTabLayout = new QVBoxLayout(structureTab);
        structureTabLayout->setObjectName(QString::fromUtf8("structureTabLayout"));
        structureToolBar = new QToolBar(structureTab);
        structureToolBar->setObjectName(QString::fromUtf8("structureToolBar"));

        structureTabLayout->addWidget(structureToolBar);

        structureTopBar = new QWidget(structureTab);
        structureTopBar->setObjectName(QString::fromUtf8("structureTopBar"));
        horizontalLayout_2 = new QHBoxLayout(structureTopBar);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        horizontalLayout_2->setContentsMargins(4, 0, 0, 2);
        dbCombo = new DbComboBox(structureTopBar);
        dbCombo->setObjectName(QString::fromUtf8("dbCombo"));
        dbCombo->setMaximumSize(QSize(200, 16777215));

        horizontalLayout_2->addWidget(dbCombo);

        tableNameLabel = new QLabel(structureTopBar);
        tableNameLabel->setObjectName(QString::fromUtf8("tableNameLabel"));

        horizontalLayout_2->addWidget(tableNameLabel);

        tableNameEdit = new QLineEdit(structureTopBar);
        tableNameEdit->setObjectName(QString::fromUtf8("tableNameEdit"));
        tableNameEdit->setMaximumSize(QSize(200, 16777215));

        horizontalLayout_2->addWidget(tableNameEdit);

        withoutRowIdCheck = new QCheckBox(structureTopBar);
        withoutRowIdCheck->setObjectName(QString::fromUtf8("withoutRowIdCheck"));
        withoutRowIdCheck->setText(QString::fromUtf8("WITHOUT ROWID"));

        horizontalLayout_2->addWidget(withoutRowIdCheck);

        strictTableCheck = new QCheckBox(structureTopBar);
        strictTableCheck->setObjectName(QString::fromUtf8("strictTableCheck"));
        strictTableCheck->setText(QString::fromUtf8("STRICT"));

        horizontalLayout_2->addWidget(strictTableCheck);

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

        horizontalLayout_2->addItem(horizontalSpacer);


        structureTabLayout->addWidget(structureTopBar);

        structureSplitter = new QSplitter(structureTab);
        structureSplitter->setObjectName(QString::fromUtf8("structureSplitter"));
        structureSplitter->setOrientation(Qt::Vertical);
        structureSplitter->setHandleWidth(2);
        structureSplitter->setChildrenCollapsible(false);
        structureView = new ExtTableView(structureSplitter);
        structureView->setObjectName(QString::fromUtf8("structureView"));
        structureView->setDragEnabled(true);
        structureView->setDragDropOverwriteMode(false);
        structureView->setDragDropMode(QAbstractItemView::InternalMove);
        structureView->setAlternatingRowColors(true);
        structureView->setSelectionMode(QAbstractItemView::SingleSelection);
        structureView->setSelectionBehavior(QAbstractItemView::SelectRows);
        structureView->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
        structureSplitter->addWidget(structureView);
        structureView->horizontalHeader()->setStretchLastSection(true);
        constraintsWidget = new QWidget(structureSplitter);
        constraintsWidget->setObjectName(QString::fromUtf8("constraintsWidget"));
        verticalLayout = new QVBoxLayout(constraintsWidget);
        verticalLayout->setSpacing(0);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        tableConstraintsToolbar = new QToolBar(constraintsWidget);
        tableConstraintsToolbar->setObjectName(QString::fromUtf8("tableConstraintsToolbar"));

        verticalLayout->addWidget(tableConstraintsToolbar);

        tableConstraintsView = new ExtTableView(constraintsWidget);
        tableConstraintsView->setObjectName(QString::fromUtf8("tableConstraintsView"));
        tableConstraintsView->setDragEnabled(true);
        tableConstraintsView->setDragDropOverwriteMode(false);
        tableConstraintsView->setDragDropMode(QAbstractItemView::InternalMove);
        tableConstraintsView->setAlternatingRowColors(true);
        tableConstraintsView->setSelectionMode(QAbstractItemView::SingleSelection);
        tableConstraintsView->setSelectionBehavior(QAbstractItemView::SelectRows);
        tableConstraintsView->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
        tableConstraintsView->horizontalHeader()->setStretchLastSection(true);

        verticalLayout->addWidget(tableConstraintsView);

        structureSplitter->addWidget(constraintsWidget);

        structureTabLayout->addWidget(structureSplitter);

        tabWidget->addTab(structureTab, QString());
        dataTab = new QWidget();
        dataTab->setObjectName(QString::fromUtf8("dataTab"));
        verticalLayout_5 = new QVBoxLayout(dataTab);
        verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
        dataView = new DataView(dataTab);
        dataView->setObjectName(QString::fromUtf8("dataView"));
        dataView->setTabPosition(QTabWidget::South);

        verticalLayout_5->addWidget(dataView);

        tabWidget->addTab(dataTab, QString());
        constraintsTab = new QWidget();
        constraintsTab->setObjectName(QString::fromUtf8("constraintsTab"));
        verticalLayout_6 = new QVBoxLayout(constraintsTab);
        verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
        constraintsView = new QTableView(constraintsTab);
        constraintsView->setObjectName(QString::fromUtf8("constraintsView"));
        constraintsView->horizontalHeader()->setStretchLastSection(true);

        verticalLayout_6->addWidget(constraintsView);

        tabWidget->addTab(constraintsTab, QString());
        indexesTab = new QWidget();
        indexesTab->setObjectName(QString::fromUtf8("indexesTab"));
        verticalLayout_4 = new QVBoxLayout(indexesTab);
        verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
        indexToolBar = new QToolBar(indexesTab);
        indexToolBar->setObjectName(QString::fromUtf8("indexToolBar"));

        verticalLayout_4->addWidget(indexToolBar);

        indexList = new ExtTableWidget(indexesTab);
        indexList->setObjectName(QString::fromUtf8("indexList"));
        indexList->setEditTriggers(QAbstractItemView::NoEditTriggers);
        indexList->setAlternatingRowColors(true);
        indexList->setSelectionMode(QAbstractItemView::SingleSelection);
        indexList->setSelectionBehavior(QAbstractItemView::SelectRows);
        indexList->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);

        verticalLayout_4->addWidget(indexList);

        tabWidget->addTab(indexesTab, QString());
        triggersTab = new QWidget();
        triggersTab->setObjectName(QString::fromUtf8("triggersTab"));
        verticalLayout_3 = new QVBoxLayout(triggersTab);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        triggerToolBar = new QToolBar(triggersTab);
        triggerToolBar->setObjectName(QString::fromUtf8("triggerToolBar"));

        verticalLayout_3->addWidget(triggerToolBar);

        triggerList = new ExtTableWidget(triggersTab);
        triggerList->setObjectName(QString::fromUtf8("triggerList"));
        triggerList->setEditTriggers(QAbstractItemView::NoEditTriggers);
        triggerList->setAlternatingRowColors(true);
        triggerList->setSelectionMode(QAbstractItemView::SingleSelection);
        triggerList->setSelectionBehavior(QAbstractItemView::SelectRows);
        triggerList->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
        triggerList->horizontalHeader()->setStretchLastSection(true);

        verticalLayout_3->addWidget(triggerList);

        tabWidget->addTab(triggersTab, QString());
        ddlTab = new QWidget();
        ddlTab->setObjectName(QString::fromUtf8("ddlTab"));
        verticalLayout_2 = new QVBoxLayout(ddlTab);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        ddlEdit = new SqlView(ddlTab);
        ddlEdit->setObjectName(QString::fromUtf8("ddlEdit"));
        ddlEdit->setReadOnly(true);

        verticalLayout_2->addWidget(ddlEdit);

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

        horizontalLayout->addWidget(tabWidget);


        retranslateUi(TableWindow);

        tabWidget->setCurrentIndex(0);
        dataView->setCurrentIndex(-1);


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

    void retranslateUi(QWidget *TableWindow)
    {
        tableNameLabel->setText(QCoreApplication::translate("TableWindow", "Table name:", nullptr));
#if QT_CONFIG(tooltip)
        withoutRowIdCheck->setToolTip(QCoreApplication::translate("TableWindow", "<html><head/><body><p>Enables/disabled the WITHOUT ROWID clause on the table. Such table will no longer have the &quot;rowid&quot; hidden column. For such table an explicit PRIMARY KEY column is mandatory. You can read more details on this in SQLite official documentation.</p></body></html>", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(tooltip)
        strictTableCheck->setToolTip(QCoreApplication::translate("TableWindow", "<html><head/><body><p>Enables/disables the STRICT clause for the table. Such table makes strict verification of data stored in columns against declared data types for these columns. This is similar to how data types are usually enforced in most other database engines. Keep it disabled to use the classical SQLite bahavior (i.e. no data type enforcement). You can find more details in the official SQLite documentation.</p></body></html>", nullptr));
#endif // QT_CONFIG(tooltip)
        tabWidget->setTabText(tabWidget->indexOf(structureTab), QCoreApplication::translate("TableWindow", "Structure", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(dataTab), QCoreApplication::translate("TableWindow", "Data", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(constraintsTab), QCoreApplication::translate("TableWindow", "Constraints", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(indexesTab), QCoreApplication::translate("TableWindow", "Indexes", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(triggersTab), QCoreApplication::translate("TableWindow", "Triggers", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(ddlTab), QCoreApplication::translate("TableWindow", "DDL", nullptr));
        (void)TableWindow;
    } // retranslateUi

};

namespace Ui {
    class TableWindow: public Ui_TableWindow {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_TABLEWINDOW_H
