/********************************************************************************
** Form generated from reading UI file 'viewwindow.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_VIEWWINDOW_H
#define UI_VIEWWINDOW_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QToolBar>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "common/dbcombobox.h"
#include "common/exttablewidget.h"
#include "dataview.h"
#include "sqleditor.h"
#include "sqlview.h"

QT_BEGIN_NAMESPACE

class Ui_ViewWindow
{
public:
    QVBoxLayout *verticalLayout;
    QTabWidget *tabWidget;
    QWidget *queryTab;
    QVBoxLayout *verticalLayout_2;
    QToolBar *queryToolbar;
    QWidget *nameWidget;
    QHBoxLayout *horizontalLayout;
    DbComboBox *dbCombo;
    QLabel *nameLabel;
    QLineEdit *nameEdit;
    QWidget *widget;
    QHBoxLayout *horizontalLayout_4;
    QSplitter *splitter;
    QWidget *outputColumnsContainer;
    QHBoxLayout *horizontalLayout_3;
    QGroupBox *outputColumnsGroup;
    QHBoxLayout *horizontalLayout_2;
    QListWidget *outputColumnsTable;
    SqlEditor *queryEdit;
    QWidget *dataTab;
    QVBoxLayout *verticalLayout_3;
    DataView *dataView;
    QWidget *triggersTab;
    QVBoxLayout *verticalLayout_4;
    QToolBar *triggersToolbar;
    ExtTableWidget *triggersList;
    QWidget *ddlTab;
    QVBoxLayout *verticalLayout_5;
    SqlView *ddlEdit;

    void setupUi(QWidget *ViewWindow)
    {
        if (ViewWindow->objectName().isEmpty())
            ViewWindow->setObjectName(QString::fromUtf8("ViewWindow"));
        ViewWindow->resize(621, 468);
        ViewWindow->setWindowTitle(QString::fromUtf8("Form"));
        verticalLayout = new QVBoxLayout(ViewWindow);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        tabWidget = new QTabWidget(ViewWindow);
        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
        queryTab = new QWidget();
        queryTab->setObjectName(QString::fromUtf8("queryTab"));
        verticalLayout_2 = new QVBoxLayout(queryTab);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        queryToolbar = new QToolBar(queryTab);
        queryToolbar->setObjectName(QString::fromUtf8("queryToolbar"));

        verticalLayout_2->addWidget(queryToolbar);

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

        horizontalLayout->addWidget(dbCombo);

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

        horizontalLayout->addWidget(nameLabel);

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

        horizontalLayout->addWidget(nameEdit);


        verticalLayout_2->addWidget(nameWidget);

        widget = new QWidget(queryTab);
        widget->setObjectName(QString::fromUtf8("widget"));
        horizontalLayout_4 = new QHBoxLayout(widget);
        horizontalLayout_4->setSpacing(0);
        horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
        horizontalLayout_4->setContentsMargins(0, 0, 0, 0);
        splitter = new QSplitter(widget);
        splitter->setObjectName(QString::fromUtf8("splitter"));
        splitter->setOrientation(Qt::Vertical);
        outputColumnsContainer = new QWidget(splitter);
        outputColumnsContainer->setObjectName(QString::fromUtf8("outputColumnsContainer"));
        horizontalLayout_3 = new QHBoxLayout(outputColumnsContainer);
        horizontalLayout_3->setSpacing(4);
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        horizontalLayout_3->setContentsMargins(4, 4, 4, 4);
        outputColumnsGroup = new QGroupBox(outputColumnsContainer);
        outputColumnsGroup->setObjectName(QString::fromUtf8("outputColumnsGroup"));
        horizontalLayout_2 = new QHBoxLayout(outputColumnsGroup);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        outputColumnsTable = new QListWidget(outputColumnsGroup);
        outputColumnsTable->setObjectName(QString::fromUtf8("outputColumnsTable"));
        outputColumnsTable->setDragEnabled(true);
        outputColumnsTable->setDragDropMode(QAbstractItemView::InternalMove);
        outputColumnsTable->setDefaultDropAction(Qt::MoveAction);
        outputColumnsTable->setAlternatingRowColors(true);
        outputColumnsTable->setSelectionMode(QAbstractItemView::SingleSelection);
        outputColumnsTable->setSelectionBehavior(QAbstractItemView::SelectRows);
        outputColumnsTable->setSelectionRectVisible(true);

        horizontalLayout_2->addWidget(outputColumnsTable);


        horizontalLayout_3->addWidget(outputColumnsGroup);

        splitter->addWidget(outputColumnsContainer);
        queryEdit = new SqlEditor(splitter);
        queryEdit->setObjectName(QString::fromUtf8("queryEdit"));
        queryEdit->setLineWrapMode(QPlainTextEdit::NoWrap);
        splitter->addWidget(queryEdit);

        horizontalLayout_4->addWidget(splitter);


        verticalLayout_2->addWidget(widget);

        tabWidget->addTab(queryTab, QString());
        dataTab = new QWidget();
        dataTab->setObjectName(QString::fromUtf8("dataTab"));
        verticalLayout_3 = new QVBoxLayout(dataTab);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        dataView = new DataView(dataTab);
        dataView->setObjectName(QString::fromUtf8("dataView"));

        verticalLayout_3->addWidget(dataView);

        tabWidget->addTab(dataTab, QString());
        triggersTab = new QWidget();
        triggersTab->setObjectName(QString::fromUtf8("triggersTab"));
        verticalLayout_4 = new QVBoxLayout(triggersTab);
        verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
        triggersToolbar = new QToolBar(triggersTab);
        triggersToolbar->setObjectName(QString::fromUtf8("triggersToolbar"));

        verticalLayout_4->addWidget(triggersToolbar);

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

        verticalLayout_4->addWidget(triggersList);

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

        verticalLayout_5->addWidget(ddlEdit);

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

        verticalLayout->addWidget(tabWidget);


        retranslateUi(ViewWindow);

        tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *ViewWindow)
    {
        nameLabel->setText(QCoreApplication::translate("ViewWindow", "View name:", nullptr));
        outputColumnsGroup->setTitle(QCoreApplication::translate("ViewWindow", "Output column names", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(queryTab), QCoreApplication::translate("ViewWindow", "Query", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(dataTab), QCoreApplication::translate("ViewWindow", "Data", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(triggersTab), QCoreApplication::translate("ViewWindow", "Triggers", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(ddlTab), QCoreApplication::translate("ViewWindow", "DDL", nullptr));
        (void)ViewWindow;
    } // retranslateUi

};

namespace Ui {
    class ViewWindow: public Ui_ViewWindow {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_VIEWWINDOW_H
