/********************************************************************************
** Form generated from reading UI file 'indexdialog.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_INDEXDIALOG_H
#define UI_INDEXDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QTableWidget>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "sqleditor.h"
#include "sqlview.h"

QT_BEGIN_NAMESPACE

class Ui_IndexDialog
{
public:
    QVBoxLayout *verticalLayout;
    QTabWidget *tabWidget;
    QWidget *indexTab;
    QGridLayout *gridLayout_2;
    QLineEdit *nameEdit;
    QTableWidget *columnsTable;
    QLabel *tableLabel;
    QComboBox *tableCombo;
    QToolButton *delExprColumnButton;
    QToolButton *moveUpButton;
    QToolButton *moveDownButton;
    QCheckBox *partialIndexCheck;
    QCheckBox *uniqueCheck;
    QLabel *nameLabel;
    QToolButton *editExprColumnButton;
    SqlEditor *partialIndexEdit;
    QToolButton *addExprColumnButton;
    QWidget *ddlTab;
    QVBoxLayout *verticalLayout_2;
    SqlView *ddlEdit;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *IndexDialog)
    {
        if (IndexDialog->objectName().isEmpty())
            IndexDialog->setObjectName(QString::fromUtf8("IndexDialog"));
        IndexDialog->resize(491, 410);
        IndexDialog->setMinimumSize(QSize(400, 300));
        verticalLayout = new QVBoxLayout(IndexDialog);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        tabWidget = new QTabWidget(IndexDialog);
        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
        indexTab = new QWidget();
        indexTab->setObjectName(QString::fromUtf8("indexTab"));
        gridLayout_2 = new QGridLayout(indexTab);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        nameEdit = new QLineEdit(indexTab);
        nameEdit->setObjectName(QString::fromUtf8("nameEdit"));

        gridLayout_2->addWidget(nameEdit, 0, 1, 1, 6);

        columnsTable = new QTableWidget(indexTab);
        if (columnsTable->columnCount() < 3)
            columnsTable->setColumnCount(3);
        QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
        columnsTable->setHorizontalHeaderItem(0, __qtablewidgetitem);
        QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
        columnsTable->setHorizontalHeaderItem(1, __qtablewidgetitem1);
        QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem();
        columnsTable->setHorizontalHeaderItem(2, __qtablewidgetitem2);
        columnsTable->setObjectName(QString::fromUtf8("columnsTable"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(2);
        sizePolicy.setHeightForWidth(columnsTable->sizePolicy().hasHeightForWidth());
        columnsTable->setSizePolicy(sizePolicy);
        columnsTable->setDragEnabled(false);
        columnsTable->setDragDropOverwriteMode(true);
        columnsTable->setDragDropMode(QAbstractItemView::NoDragDrop);
        columnsTable->setDefaultDropAction(Qt::IgnoreAction);
        columnsTable->setSelectionMode(QAbstractItemView::SingleSelection);
        columnsTable->setSelectionBehavior(QAbstractItemView::SelectRows);
        columnsTable->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
        columnsTable->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);

        gridLayout_2->addWidget(columnsTable, 3, 0, 1, 7);

        tableLabel = new QLabel(indexTab);
        tableLabel->setObjectName(QString::fromUtf8("tableLabel"));

        gridLayout_2->addWidget(tableLabel, 1, 0, 1, 1);

        tableCombo = new QComboBox(indexTab);
        tableCombo->setObjectName(QString::fromUtf8("tableCombo"));

        gridLayout_2->addWidget(tableCombo, 1, 1, 1, 6);

        delExprColumnButton = new QToolButton(indexTab);
        delExprColumnButton->setObjectName(QString::fromUtf8("delExprColumnButton"));

        gridLayout_2->addWidget(delExprColumnButton, 2, 4, 1, 1);

        moveUpButton = new QToolButton(indexTab);
        moveUpButton->setObjectName(QString::fromUtf8("moveUpButton"));

        gridLayout_2->addWidget(moveUpButton, 2, 5, 1, 1);

        moveDownButton = new QToolButton(indexTab);
        moveDownButton->setObjectName(QString::fromUtf8("moveDownButton"));

        gridLayout_2->addWidget(moveDownButton, 2, 6, 1, 1);

        partialIndexCheck = new QCheckBox(indexTab);
        partialIndexCheck->setObjectName(QString::fromUtf8("partialIndexCheck"));

        gridLayout_2->addWidget(partialIndexCheck, 4, 0, 1, 7);

        uniqueCheck = new QCheckBox(indexTab);
        uniqueCheck->setObjectName(QString::fromUtf8("uniqueCheck"));

        gridLayout_2->addWidget(uniqueCheck, 2, 0, 1, 2);

        nameLabel = new QLabel(indexTab);
        nameLabel->setObjectName(QString::fromUtf8("nameLabel"));

        gridLayout_2->addWidget(nameLabel, 0, 0, 1, 1);

        editExprColumnButton = new QToolButton(indexTab);
        editExprColumnButton->setObjectName(QString::fromUtf8("editExprColumnButton"));

        gridLayout_2->addWidget(editExprColumnButton, 2, 3, 1, 1);

        partialIndexEdit = new SqlEditor(indexTab);
        partialIndexEdit->setObjectName(QString::fromUtf8("partialIndexEdit"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(1);
        sizePolicy1.setHeightForWidth(partialIndexEdit->sizePolicy().hasHeightForWidth());
        partialIndexEdit->setSizePolicy(sizePolicy1);

        gridLayout_2->addWidget(partialIndexEdit, 5, 0, 1, 7);

        addExprColumnButton = new QToolButton(indexTab);
        addExprColumnButton->setObjectName(QString::fromUtf8("addExprColumnButton"));

        gridLayout_2->addWidget(addExprColumnButton, 2, 2, 1, 1);

        tabWidget->addTab(indexTab, 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());

        verticalLayout->addWidget(tabWidget);

        buttonBox = new QDialogButtonBox(IndexDialog);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        verticalLayout->addWidget(buttonBox);

        QWidget::setTabOrder(tabWidget, partialIndexCheck);
        QWidget::setTabOrder(partialIndexCheck, partialIndexEdit);
        QWidget::setTabOrder(partialIndexEdit, buttonBox);
        QWidget::setTabOrder(buttonBox, ddlEdit);

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

        tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QDialog *IndexDialog)
    {
        IndexDialog->setWindowTitle(QCoreApplication::translate("IndexDialog", "Index", nullptr));
        QTableWidgetItem *___qtablewidgetitem = columnsTable->horizontalHeaderItem(0);
        ___qtablewidgetitem->setText(QCoreApplication::translate("IndexDialog", "Column", nullptr));
        QTableWidgetItem *___qtablewidgetitem1 = columnsTable->horizontalHeaderItem(1);
        ___qtablewidgetitem1->setText(QCoreApplication::translate("IndexDialog", "Sort", nullptr));
        QTableWidgetItem *___qtablewidgetitem2 = columnsTable->horizontalHeaderItem(2);
        ___qtablewidgetitem2->setText(QCoreApplication::translate("IndexDialog", "Collation", nullptr));
        tableLabel->setText(QCoreApplication::translate("IndexDialog", "On table:", nullptr));
#if QT_CONFIG(tooltip)
        delExprColumnButton->setToolTip(QCoreApplication::translate("IndexDialog", "Delete selected indexed expression", nullptr));
#endif // QT_CONFIG(tooltip)
        delExprColumnButton->setText(QString());
#if QT_CONFIG(tooltip)
        moveUpButton->setToolTip(QCoreApplication::translate("IndexDialog", "Moves selected index column up in the order, making it more significant in the index.", nullptr));
#endif // QT_CONFIG(tooltip)
        moveUpButton->setText(QString());
#if QT_CONFIG(tooltip)
        moveDownButton->setToolTip(QCoreApplication::translate("IndexDialog", "Moves selected index column down in the order, making it less significant in the index.", nullptr));
#endif // QT_CONFIG(tooltip)
        moveDownButton->setText(QString());
        partialIndexCheck->setText(QCoreApplication::translate("IndexDialog", "Partial index condition", nullptr));
        uniqueCheck->setText(QCoreApplication::translate("IndexDialog", "Unique index", nullptr));
        nameLabel->setText(QCoreApplication::translate("IndexDialog", "Index name:", nullptr));
#if QT_CONFIG(tooltip)
        editExprColumnButton->setToolTip(QCoreApplication::translate("IndexDialog", "Edit selected indexed expression", nullptr));
#endif // QT_CONFIG(tooltip)
        editExprColumnButton->setText(QString());
#if QT_CONFIG(tooltip)
        addExprColumnButton->setToolTip(QCoreApplication::translate("IndexDialog", "Add indexed expression", nullptr));
#endif // QT_CONFIG(tooltip)
        addExprColumnButton->setText(QString());
        tabWidget->setTabText(tabWidget->indexOf(indexTab), QCoreApplication::translate("IndexDialog", "Index", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(ddlTab), QCoreApplication::translate("IndexDialog", "DDL", nullptr));
    } // retranslateUi

};

namespace Ui {
    class IndexDialog: public Ui_IndexDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_INDEXDIALOG_H
