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

#ifndef UI_DEVTOOLSDIALOG_H
#define UI_DEVTOOLSDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QTableView>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_DevToolsDialog
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *debugLogGroup;
    QVBoxLayout *verticalLayout_2;
    QHBoxLayout *horizontalLayout_2;
    QLabel *loggingRulesLabel;
    QLineEdit *loggingRulesEdit;
    QPushButton *applyRulesButton;
    QHBoxLayout *horizontalLayout;
    QCheckBox *logToFileCheckBox;
    QPushButton *saveDebugLogButton;
    QSpacerItem *horizontalSpacer;
    QLabel *debugLogFileLabel;
    QGroupBox *sqlConsoleGroup;
    QVBoxLayout *verticalLayout_3;
    QHBoxLayout *horizontalLayout_3;
    QPushButton *openButton;
    QPushButton *saveButton;
    QPushButton *runButton;
    QPushButton *exportButton;
    QSplitter *splitter;
    QPlainTextEdit *sqlEditor;
    QTableView *resultsTable;
    QLabel *statusLabel;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *DevToolsDialog)
    {
        if (DevToolsDialog->objectName().isEmpty())
            DevToolsDialog->setObjectName("DevToolsDialog");
        DevToolsDialog->resize(729, 620);
        verticalLayout = new QVBoxLayout(DevToolsDialog);
        verticalLayout->setObjectName("verticalLayout");
        debugLogGroup = new QGroupBox(DevToolsDialog);
        debugLogGroup->setObjectName("debugLogGroup");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Maximum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(debugLogGroup->sizePolicy().hasHeightForWidth());
        debugLogGroup->setSizePolicy(sizePolicy);
        verticalLayout_2 = new QVBoxLayout(debugLogGroup);
        verticalLayout_2->setObjectName("verticalLayout_2");
        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        loggingRulesLabel = new QLabel(debugLogGroup);
        loggingRulesLabel->setObjectName("loggingRulesLabel");

        horizontalLayout_2->addWidget(loggingRulesLabel);

        loggingRulesEdit = new QLineEdit(debugLogGroup);
        loggingRulesEdit->setObjectName("loggingRulesEdit");
        loggingRulesEdit->setClearButtonEnabled(true);

        horizontalLayout_2->addWidget(loggingRulesEdit);

        applyRulesButton = new QPushButton(debugLogGroup);
        applyRulesButton->setObjectName("applyRulesButton");

        horizontalLayout_2->addWidget(applyRulesButton);


        verticalLayout_2->addLayout(horizontalLayout_2);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        logToFileCheckBox = new QCheckBox(debugLogGroup);
        logToFileCheckBox->setObjectName("logToFileCheckBox");

        horizontalLayout->addWidget(logToFileCheckBox);

        saveDebugLogButton = new QPushButton(debugLogGroup);
        saveDebugLogButton->setObjectName("saveDebugLogButton");
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("document-save-as");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        saveDebugLogButton->setIcon(icon);

        horizontalLayout->addWidget(saveDebugLogButton);

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

        horizontalLayout->addItem(horizontalSpacer);


        verticalLayout_2->addLayout(horizontalLayout);

        debugLogFileLabel = new QLabel(debugLogGroup);
        debugLogFileLabel->setObjectName("debugLogFileLabel");
        debugLogFileLabel->setText(QString::fromUtf8(""));

        verticalLayout_2->addWidget(debugLogFileLabel);


        verticalLayout->addWidget(debugLogGroup);

        sqlConsoleGroup = new QGroupBox(DevToolsDialog);
        sqlConsoleGroup->setObjectName("sqlConsoleGroup");
        verticalLayout_3 = new QVBoxLayout(sqlConsoleGroup);
        verticalLayout_3->setObjectName("verticalLayout_3");
        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName("horizontalLayout_3");
        openButton = new QPushButton(sqlConsoleGroup);
        openButton->setObjectName("openButton");
        QIcon icon1(QIcon::fromTheme(QString::fromUtf8("document-open")));
        openButton->setIcon(icon1);

        horizontalLayout_3->addWidget(openButton);

        saveButton = new QPushButton(sqlConsoleGroup);
        saveButton->setObjectName("saveButton");
        QIcon icon2(QIcon::fromTheme(QString::fromUtf8("document-save")));
        saveButton->setIcon(icon2);

        horizontalLayout_3->addWidget(saveButton);

        runButton = new QPushButton(sqlConsoleGroup);
        runButton->setObjectName("runButton");
        QIcon icon3(QIcon::fromTheme(QString::fromUtf8("media-playback-start")));
        runButton->setIcon(icon3);

        horizontalLayout_3->addWidget(runButton);

        exportButton = new QPushButton(sqlConsoleGroup);
        exportButton->setObjectName("exportButton");
        QIcon icon4(QIcon::fromTheme(QString::fromUtf8("document-save-as")));
        exportButton->setIcon(icon4);

        horizontalLayout_3->addWidget(exportButton);


        verticalLayout_3->addLayout(horizontalLayout_3);

        splitter = new QSplitter(sqlConsoleGroup);
        splitter->setObjectName("splitter");
        splitter->setOrientation(Qt::Vertical);
        sqlEditor = new QPlainTextEdit(splitter);
        sqlEditor->setObjectName("sqlEditor");
        splitter->addWidget(sqlEditor);
        resultsTable = new QTableView(splitter);
        resultsTable->setObjectName("resultsTable");
        splitter->addWidget(resultsTable);

        verticalLayout_3->addWidget(splitter);

        statusLabel = new QLabel(sqlConsoleGroup);
        statusLabel->setObjectName("statusLabel");

        verticalLayout_3->addWidget(statusLabel);


        verticalLayout->addWidget(sqlConsoleGroup);

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

        verticalLayout->addWidget(buttonBox);


        retranslateUi(DevToolsDialog);
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, DevToolsDialog, qOverload<>(&QDialog::reject));
        QObject::connect(openButton, SIGNAL(clicked()), DevToolsDialog, SLOT(openQuery()));
        QObject::connect(saveButton, SIGNAL(clicked()), DevToolsDialog, SLOT(saveQuery()));
        QObject::connect(runButton, SIGNAL(clicked()), DevToolsDialog, SLOT(runQuery()));
        QObject::connect(logToFileCheckBox, SIGNAL(toggled(bool)), DevToolsDialog, SLOT(logToFileToggled(bool)));
        QObject::connect(applyRulesButton, SIGNAL(clicked()), DevToolsDialog, SLOT(applyLoggingRules()));
        QObject::connect(saveDebugLogButton, SIGNAL(clicked()), DevToolsDialog, SLOT(saveDebugLog()));

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

    void retranslateUi(QDialog *DevToolsDialog)
    {
        DevToolsDialog->setWindowTitle(QCoreApplication::translate("DevToolsDialog", "Developer Tools", nullptr));
        debugLogGroup->setTitle(QCoreApplication::translate("DevToolsDialog", "Debug Log", nullptr));
        loggingRulesLabel->setText(QCoreApplication::translate("DevToolsDialog", "Logging Rules:", nullptr));
        loggingRulesEdit->setPlaceholderText(QCoreApplication::translate("DevToolsDialog", "e.g. qlog.ui.*.runtime=true", nullptr));
        applyRulesButton->setText(QCoreApplication::translate("DevToolsDialog", "Apply", nullptr));
        logToFileCheckBox->setText(QCoreApplication::translate("DevToolsDialog", "Generate Debug File", nullptr));
        saveDebugLogButton->setText(QCoreApplication::translate("DevToolsDialog", "Export File", nullptr));
        sqlConsoleGroup->setTitle(QCoreApplication::translate("DevToolsDialog", "SQL Console", nullptr));
        openButton->setText(QCoreApplication::translate("DevToolsDialog", "Open SQL", nullptr));
        saveButton->setText(QCoreApplication::translate("DevToolsDialog", "Save SQL", nullptr));
        runButton->setText(QCoreApplication::translate("DevToolsDialog", "Run SQL", nullptr));
        exportButton->setText(QCoreApplication::translate("DevToolsDialog", "Export As", nullptr));
        sqlEditor->setPlaceholderText(QCoreApplication::translate("DevToolsDialog", "Enter SQL query here... Ctrl+Return = run", nullptr));
        statusLabel->setText(QString());
    } // retranslateUi

};

namespace Ui {
    class DevToolsDialog: public Ui_DevToolsDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_DEVTOOLSDIALOG_H
