#include <klocalizedstring.h>

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

#ifndef UI_QUERYOPTIONS_H
#define UI_QUERYOPTIONS_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTreeView>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"

QT_BEGIN_NAMESPACE

class Ui_QueryOptions
{
public:
    QVBoxLayout *vboxLayout;
    QHBoxLayout *horizontalLayout_2;
    QSpacerItem *horizontalSpacer_2;
    QLabel *label;
    QComboBox *dbName;
    QSpacerItem *horizontalSpacer;
    QHBoxLayout *queryLayout;
    QGridLayout *mainQueryLayout;
    QLineEdit *querySource;
    QLineEdit *queryTarget;
    QLabel *querySourceLabel;
    QLabel *queryTargetLabel;
    QCheckBox *invertTarget;
    QCheckBox *invertSource;
    QFrame *line;
    QGridLayout *optionsLayout;
    QLabel *label_2;
    QLineEdit *filemask;
    QLabel *label_s;
    KComboBox *queryStyle;
    QFrame *line_2;
    QVBoxLayout *buttonsLayout;
    QPushButton *doFind;
    QPushButton *doUpdateTM;
    QTreeView *treeView;

    void setupUi(QWidget *QueryOptions)
    {
        if (QueryOptions->objectName().isEmpty())
            QueryOptions->setObjectName(QStringLiteral("QueryOptions"));
        QueryOptions->resize(600, 278);
        vboxLayout = new QVBoxLayout(QueryOptions);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_2->addItem(horizontalSpacer_2);

        label = new QLabel(QueryOptions);
        label->setObjectName(QStringLiteral("label"));

        horizontalLayout_2->addWidget(label);

        dbName = new QComboBox(QueryOptions);
        dbName->setObjectName(QStringLiteral("dbName"));
        dbName->setSizeAdjustPolicy(QComboBox::AdjustToContents);

        horizontalLayout_2->addWidget(dbName);

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

        horizontalLayout_2->addItem(horizontalSpacer);


        vboxLayout->addLayout(horizontalLayout_2);

        queryLayout = new QHBoxLayout();
        queryLayout->setObjectName(QStringLiteral("queryLayout"));
        queryLayout->setSizeConstraint(QLayout::SetMinimumSize);
        mainQueryLayout = new QGridLayout();
        mainQueryLayout->setObjectName(QStringLiteral("mainQueryLayout"));
        querySource = new QLineEdit(QueryOptions);
        querySource->setObjectName(QStringLiteral("querySource"));

        mainQueryLayout->addWidget(querySource, 1, 1, 1, 1);

        queryTarget = new QLineEdit(QueryOptions);
        queryTarget->setObjectName(QStringLiteral("queryTarget"));

        mainQueryLayout->addWidget(queryTarget, 2, 1, 1, 1);

        querySourceLabel = new QLabel(QueryOptions);
        querySourceLabel->setObjectName(QStringLiteral("querySourceLabel"));

        mainQueryLayout->addWidget(querySourceLabel, 1, 0, 1, 1);

        queryTargetLabel = new QLabel(QueryOptions);
        queryTargetLabel->setObjectName(QStringLiteral("queryTargetLabel"));

        mainQueryLayout->addWidget(queryTargetLabel, 2, 0, 1, 1);

        invertTarget = new QCheckBox(QueryOptions);
        invertTarget->setObjectName(QStringLiteral("invertTarget"));

        mainQueryLayout->addWidget(invertTarget, 2, 2, 1, 1);

        invertSource = new QCheckBox(QueryOptions);
        invertSource->setObjectName(QStringLiteral("invertSource"));

        mainQueryLayout->addWidget(invertSource, 1, 2, 1, 1);


        queryLayout->addLayout(mainQueryLayout);

        line = new QFrame(QueryOptions);
        line->setObjectName(QStringLiteral("line"));
        line->setFrameShape(QFrame::VLine);
        line->setFrameShadow(QFrame::Sunken);

        queryLayout->addWidget(line);

        optionsLayout = new QGridLayout();
        optionsLayout->setObjectName(QStringLiteral("optionsLayout"));
        label_2 = new QLabel(QueryOptions);
        label_2->setObjectName(QStringLiteral("label_2"));

        optionsLayout->addWidget(label_2, 1, 1, 1, 1);

        filemask = new QLineEdit(QueryOptions);
        filemask->setObjectName(QStringLiteral("filemask"));
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(filemask->sizePolicy().hasHeightForWidth());
        filemask->setSizePolicy(sizePolicy);

        optionsLayout->addWidget(filemask, 1, 2, 1, 1);

        label_s = new QLabel(QueryOptions);
        label_s->setObjectName(QStringLiteral("label_s"));

        optionsLayout->addWidget(label_s, 2, 1, 1, 1);

        queryStyle = new KComboBox(QueryOptions);
        queryStyle->setObjectName(QStringLiteral("queryStyle"));

        optionsLayout->addWidget(queryStyle, 2, 2, 1, 1);


        queryLayout->addLayout(optionsLayout);

        line_2 = new QFrame(QueryOptions);
        line_2->setObjectName(QStringLiteral("line_2"));
        line_2->setFrameShape(QFrame::VLine);
        line_2->setFrameShadow(QFrame::Sunken);

        queryLayout->addWidget(line_2);

        buttonsLayout = new QVBoxLayout();
        buttonsLayout->setObjectName(QStringLiteral("buttonsLayout"));
        doFind = new QPushButton(QueryOptions);
        doFind->setObjectName(QStringLiteral("doFind"));

        buttonsLayout->addWidget(doFind);

        doUpdateTM = new QPushButton(QueryOptions);
        doUpdateTM->setObjectName(QStringLiteral("doUpdateTM"));

        buttonsLayout->addWidget(doUpdateTM);


        queryLayout->addLayout(buttonsLayout);


        vboxLayout->addLayout(queryLayout);

        treeView = new QTreeView(QueryOptions);
        treeView->setObjectName(QStringLiteral("treeView"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(treeView->sizePolicy().hasHeightForWidth());
        treeView->setSizePolicy(sizePolicy1);
        treeView->setAlternatingRowColors(true);
        treeView->setRootIsDecorated(false);
        treeView->setWordWrap(true);

        vboxLayout->addWidget(treeView);

#ifndef UI_QT_NO_SHORTCUT
        querySourceLabel->setBuddy(querySource);
        queryTargetLabel->setBuddy(queryTarget);
        label_2->setBuddy(filemask);
        label_s->setBuddy(queryStyle);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(querySource, queryTarget);
        QWidget::setTabOrder(queryTarget, doFind);
        QWidget::setTabOrder(doFind, invertSource);
        QWidget::setTabOrder(invertSource, invertTarget);
        QWidget::setTabOrder(invertTarget, filemask);
        QWidget::setTabOrder(filemask, queryStyle);
        QWidget::setTabOrder(queryStyle, doUpdateTM);
        QWidget::setTabOrder(doUpdateTM, treeView);
        QWidget::setTabOrder(treeView, dbName);

        retranslateUi(QueryOptions);

        queryStyle->setCurrentIndex(-1);


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

    void retranslateUi(QWidget *QueryOptions)
    {
        label->setText(tr2i18n("TM:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        querySource->setToolTip(tr2i18n("Search expression for source language part.\n"
"Press Enter to start the search.\n"
"Press Ctrl+L to go to this control.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        queryTarget->setToolTip(tr2i18n("Search expression for target language part.\n"
"Press Enter to start the search.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        querySourceLabel->setText(tr2i18n("Source:", Q_NULLPTR));
        queryTargetLabel->setText(tr2i18n("Target:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        invertTarget->setToolTip(tr2i18n("Show results that do not match search expression", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        invertTarget->setText(tr2i18n("Invert", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        invertSource->setToolTip(tr2i18n("Show results that do not match search expression", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        invertSource->setText(tr2i18n("Invert", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        label_2->setToolTip(QString());
#endif // QT_NO_TOOLTIP
        label_2->setText(tr2i18n("File mask:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        filemask->setToolTip(tr2i18n("Show only results from files with path matching specified mask", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        label_s->setText(tr2i18n("Query syntax:", Q_NULLPTR));
        doFind->setText(tr2i18n("&Search", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        doUpdateTM->setToolTip(tr2i18n("Reads all project files into translation memory, updating old entries. The scanning will work in background.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        doUpdateTM->setText(tr2i18n("&Rescan project files", Q_NULLPTR));
        Q_UNUSED(QueryOptions);
    } // retranslateUi

};

namespace Ui {
    class QueryOptions: public Ui_QueryOptions {};
} // namespace Ui

QT_END_NAMESPACE

#endif // QUERYOPTIONS_H

