/********************************************************************************
** Form generated from reading UI file 'columndialog.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_COLUMNDIALOG_H
#define UI_COLUMNDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QTableView>
#include <QtWidgets/QToolBar>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "common/numericspinbox.h"

QT_BEGIN_NAMESPACE

class Ui_ColumnDialog
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *columnGroup;
    QGridLayout *gridLayout;
    NumericSpinBox *scale;
    QLabel *sizeCommaLabel;
    NumericSpinBox *precision;
    QLabel *typeLabel;
    QLabel *nameLabel;
    QLineEdit *name;
    QLabel *sizeLabel;
    QComboBox *typeCombo;
    QGroupBox *constraintsGroup;
    QVBoxLayout *verticalLayout_2;
    QStackedWidget *constraintModesWidget;
    QWidget *simplePage;
    QGridLayout *gridLayout_2;
    QToolButton *fkButton;
    QCheckBox *generatedCheck;
    QCheckBox *notNullCheck;
    QCheckBox *fkCheck;
    QCheckBox *collateCheck;
    QCheckBox *checkCheck;
    QCheckBox *uniqueCheck;
    QToolButton *uniqueButton;
    QCheckBox *pkCheck;
    QToolButton *notNullButton;
    QToolButton *collateButton;
    QToolButton *defaultButton;
    QToolButton *pkButton;
    QCheckBox *defaultCheck;
    QToolButton *checkButton;
    QToolButton *generatedButton;
    QWidget *advancedPage;
    QVBoxLayout *verticalLayout_3;
    QToolBar *constraintsToolbar;
    QTableView *constraintsView;
    QWidget *bottomWidget;
    QHBoxLayout *horizontalLayout;
    QCheckBox *advancedCheck;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *ColumnDialog)
    {
        if (ColumnDialog->objectName().isEmpty())
            ColumnDialog->setObjectName(QString::fromUtf8("ColumnDialog"));
        ColumnDialog->resize(467, 431);
        ColumnDialog->setModal(true);
        verticalLayout = new QVBoxLayout(ColumnDialog);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        columnGroup = new QGroupBox(ColumnDialog);
        columnGroup->setObjectName(QString::fromUtf8("columnGroup"));
        gridLayout = new QGridLayout(columnGroup);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        scale = new NumericSpinBox(columnGroup);
        scale->setObjectName(QString::fromUtf8("scale"));
        scale->setMinimumSize(QSize(50, 0));

        gridLayout->addWidget(scale, 1, 2, 1, 1);

        sizeCommaLabel = new QLabel(columnGroup);
        sizeCommaLabel->setObjectName(QString::fromUtf8("sizeCommaLabel"));
        sizeCommaLabel->setText(QString::fromUtf8(","));

        gridLayout->addWidget(sizeCommaLabel, 1, 3, 1, 1);

        precision = new NumericSpinBox(columnGroup);
        precision->setObjectName(QString::fromUtf8("precision"));
        precision->setMinimumSize(QSize(50, 0));

        gridLayout->addWidget(precision, 1, 4, 1, 1);

        typeLabel = new QLabel(columnGroup);
        typeLabel->setObjectName(QString::fromUtf8("typeLabel"));

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

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

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

        name = new QLineEdit(columnGroup);
        name->setObjectName(QString::fromUtf8("name"));

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

        sizeLabel = new QLabel(columnGroup);
        sizeLabel->setObjectName(QString::fromUtf8("sizeLabel"));

        gridLayout->addWidget(sizeLabel, 0, 2, 1, 3);

        typeCombo = new QComboBox(columnGroup);
        typeCombo->setObjectName(QString::fromUtf8("typeCombo"));
        typeCombo->setMinimumSize(QSize(120, 0));
        typeCombo->setEditable(true);

        gridLayout->addWidget(typeCombo, 1, 1, 1, 1);


        verticalLayout->addWidget(columnGroup);

        constraintsGroup = new QGroupBox(ColumnDialog);
        constraintsGroup->setObjectName(QString::fromUtf8("constraintsGroup"));
        verticalLayout_2 = new QVBoxLayout(constraintsGroup);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        constraintModesWidget = new QStackedWidget(constraintsGroup);
        constraintModesWidget->setObjectName(QString::fromUtf8("constraintModesWidget"));
        simplePage = new QWidget();
        simplePage->setObjectName(QString::fromUtf8("simplePage"));
        gridLayout_2 = new QGridLayout(simplePage);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        fkButton = new QToolButton(simplePage);
        fkButton->setObjectName(QString::fromUtf8("fkButton"));

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

        generatedCheck = new QCheckBox(simplePage);
        generatedCheck->setObjectName(QString::fromUtf8("generatedCheck"));

        gridLayout_2->addWidget(generatedCheck, 7, 0, 1, 1);

        notNullCheck = new QCheckBox(simplePage);
        notNullCheck->setObjectName(QString::fromUtf8("notNullCheck"));

        gridLayout_2->addWidget(notNullCheck, 5, 0, 1, 1);

        fkCheck = new QCheckBox(simplePage);
        fkCheck->setObjectName(QString::fromUtf8("fkCheck"));

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

        collateCheck = new QCheckBox(simplePage);
        collateCheck->setObjectName(QString::fromUtf8("collateCheck"));

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

        checkCheck = new QCheckBox(simplePage);
        checkCheck->setObjectName(QString::fromUtf8("checkCheck"));

        gridLayout_2->addWidget(checkCheck, 4, 0, 1, 1);

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

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

        uniqueButton = new QToolButton(simplePage);
        uniqueButton->setObjectName(QString::fromUtf8("uniqueButton"));

        gridLayout_2->addWidget(uniqueButton, 3, 1, 1, 1);

        pkCheck = new QCheckBox(simplePage);
        pkCheck->setObjectName(QString::fromUtf8("pkCheck"));

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

        notNullButton = new QToolButton(simplePage);
        notNullButton->setObjectName(QString::fromUtf8("notNullButton"));

        gridLayout_2->addWidget(notNullButton, 5, 1, 1, 1);

        collateButton = new QToolButton(simplePage);
        collateButton->setObjectName(QString::fromUtf8("collateButton"));

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

        defaultButton = new QToolButton(simplePage);
        defaultButton->setObjectName(QString::fromUtf8("defaultButton"));

        gridLayout_2->addWidget(defaultButton, 8, 1, 1, 1);

        pkButton = new QToolButton(simplePage);
        pkButton->setObjectName(QString::fromUtf8("pkButton"));

        gridLayout_2->addWidget(pkButton, 1, 1, 1, 1);

        defaultCheck = new QCheckBox(simplePage);
        defaultCheck->setObjectName(QString::fromUtf8("defaultCheck"));

        gridLayout_2->addWidget(defaultCheck, 8, 0, 1, 1);

        checkButton = new QToolButton(simplePage);
        checkButton->setObjectName(QString::fromUtf8("checkButton"));

        gridLayout_2->addWidget(checkButton, 4, 1, 1, 1);

        generatedButton = new QToolButton(simplePage);
        generatedButton->setObjectName(QString::fromUtf8("generatedButton"));

        gridLayout_2->addWidget(generatedButton, 7, 1, 1, 1);

        constraintModesWidget->addWidget(simplePage);
        advancedPage = new QWidget();
        advancedPage->setObjectName(QString::fromUtf8("advancedPage"));
        verticalLayout_3 = new QVBoxLayout(advancedPage);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        verticalLayout_3->setContentsMargins(0, 0, 0, 0);
        constraintsToolbar = new QToolBar(advancedPage);
        constraintsToolbar->setObjectName(QString::fromUtf8("constraintsToolbar"));

        verticalLayout_3->addWidget(constraintsToolbar);

        constraintsView = new QTableView(advancedPage);
        constraintsView->setObjectName(QString::fromUtf8("constraintsView"));
        constraintsView->setSelectionMode(QAbstractItemView::SingleSelection);
        constraintsView->setSelectionBehavior(QAbstractItemView::SelectRows);
        constraintsView->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
        constraintsView->horizontalHeader()->setStretchLastSection(true);

        verticalLayout_3->addWidget(constraintsView);

        constraintModesWidget->addWidget(advancedPage);

        verticalLayout_2->addWidget(constraintModesWidget);


        verticalLayout->addWidget(constraintsGroup);

        bottomWidget = new QWidget(ColumnDialog);
        bottomWidget->setObjectName(QString::fromUtf8("bottomWidget"));
        horizontalLayout = new QHBoxLayout(bottomWidget);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalLayout->setContentsMargins(0, 0, 0, 0);
        advancedCheck = new QCheckBox(bottomWidget);
        advancedCheck->setObjectName(QString::fromUtf8("advancedCheck"));

        horizontalLayout->addWidget(advancedCheck);

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

        horizontalLayout->addWidget(buttonBox);


        verticalLayout->addWidget(bottomWidget);

        QWidget::setTabOrder(name, typeCombo);
        QWidget::setTabOrder(typeCombo, scale);
        QWidget::setTabOrder(scale, precision);
        QWidget::setTabOrder(precision, pkCheck);
        QWidget::setTabOrder(pkCheck, pkButton);
        QWidget::setTabOrder(pkButton, fkCheck);
        QWidget::setTabOrder(fkCheck, fkButton);
        QWidget::setTabOrder(fkButton, uniqueCheck);
        QWidget::setTabOrder(uniqueCheck, uniqueButton);
        QWidget::setTabOrder(uniqueButton, checkCheck);
        QWidget::setTabOrder(checkCheck, checkButton);
        QWidget::setTabOrder(checkButton, notNullCheck);
        QWidget::setTabOrder(notNullCheck, notNullButton);
        QWidget::setTabOrder(notNullButton, collateCheck);
        QWidget::setTabOrder(collateCheck, collateButton);
        QWidget::setTabOrder(collateButton, defaultCheck);
        QWidget::setTabOrder(defaultCheck, defaultButton);
        QWidget::setTabOrder(defaultButton, advancedCheck);
        QWidget::setTabOrder(advancedCheck, buttonBox);
        QWidget::setTabOrder(buttonBox, constraintsView);

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

        constraintModesWidget->setCurrentIndex(0);


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

    void retranslateUi(QDialog *ColumnDialog)
    {
        ColumnDialog->setWindowTitle(QCoreApplication::translate("ColumnDialog", "Column", nullptr));
        columnGroup->setTitle(QCoreApplication::translate("ColumnDialog", "Name and type", nullptr));
#if QT_CONFIG(tooltip)
        scale->setToolTip(QCoreApplication::translate("ColumnDialog", "Scale", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(tooltip)
        precision->setToolTip(QCoreApplication::translate("ColumnDialog", "Precision", nullptr));
#endif // QT_CONFIG(tooltip)
        typeLabel->setText(QCoreApplication::translate("ColumnDialog", "Data type:", nullptr));
        nameLabel->setText(QCoreApplication::translate("ColumnDialog", "Column name:", nullptr));
        sizeLabel->setText(QCoreApplication::translate("ColumnDialog", "Size:", nullptr));
        constraintsGroup->setTitle(QCoreApplication::translate("ColumnDialog", "Constraints", nullptr));
        fkButton->setText(QCoreApplication::translate("ColumnDialog", "Configure", nullptr));
        generatedCheck->setText(QCoreApplication::translate("ColumnDialog", "Generated value", nullptr));
        notNullCheck->setText(QCoreApplication::translate("ColumnDialog", "Not NULL", nullptr));
        fkCheck->setText(QCoreApplication::translate("ColumnDialog", "Foreign Key", nullptr));
        collateCheck->setText(QCoreApplication::translate("ColumnDialog", "Collate", nullptr));
        checkCheck->setText(QCoreApplication::translate("ColumnDialog", "Check condition", nullptr));
        uniqueCheck->setText(QCoreApplication::translate("ColumnDialog", "Unique", nullptr));
        uniqueButton->setText(QCoreApplication::translate("ColumnDialog", "Configure", nullptr));
        pkCheck->setText(QCoreApplication::translate("ColumnDialog", "Primary Key", nullptr));
        notNullButton->setText(QCoreApplication::translate("ColumnDialog", "Configure", nullptr));
        collateButton->setText(QCoreApplication::translate("ColumnDialog", "Configure", nullptr));
        defaultButton->setText(QCoreApplication::translate("ColumnDialog", "Configure", nullptr));
        pkButton->setText(QCoreApplication::translate("ColumnDialog", "Configure", nullptr));
        defaultCheck->setText(QCoreApplication::translate("ColumnDialog", "Default", nullptr));
        checkButton->setText(QCoreApplication::translate("ColumnDialog", "Configure", nullptr));
        generatedButton->setText(QCoreApplication::translate("ColumnDialog", "Configure", nullptr));
        advancedCheck->setText(QCoreApplication::translate("ColumnDialog", "Advanced mode", nullptr));
    } // retranslateUi

};

namespace Ui {
    class ColumnDialog: public Ui_ColumnDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_COLUMNDIALOG_H
