#include <klocalizedstring.h>

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

#ifndef UI_KEXIFINDDIALOG_H
#define UI_KEXIFINDDIALOG_H

#include <KComboBox>
#include <KHistoryComboBox>
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_KexiFindDialog
{
public:
    QGridLayout *gridLayout;
    QLabel *textLabel2_2;
    QLabel *textLabel2_2_2;
    QCheckBox *m_wholeWords;
    QLabel *textLabel1;
    KComboBox *m_lookIn;
    KHistoryComboBox *m_textToFind;
    QLabel *m_replaceLbl;
    QCheckBox *m_promptOnReplace;
    KHistoryComboBox *m_textToReplace;
    QLabel *textLabel2_2_3;
    QCheckBox *m_caseSensitive;
    KComboBox *m_match;
    KComboBox *m_search;
    QVBoxLayout *vboxLayout;
    QPushButton *m_btnFind;
    QPushButton *m_btnReplace;
    QPushButton *m_btnReplaceAll;
    QSpacerItem *spacerItem;
    QLabel *m_messageLabel;

    void setupUi(QDialog *KexiFindDialog)
    {
        if (KexiFindDialog->objectName().isEmpty())
            KexiFindDialog->setObjectName(QStringLiteral("KexiFindDialog"));
        KexiFindDialog->resize(460, 226);
        KexiFindDialog->setWindowTitle(QStringLiteral(""));
        gridLayout = new QGridLayout(KexiFindDialog);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        textLabel2_2 = new QLabel(KexiFindDialog);
        textLabel2_2->setObjectName(QStringLiteral("textLabel2_2"));
        textLabel2_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel2_2->setWordWrap(false);

        gridLayout->addWidget(textLabel2_2, 2, 0, 1, 1);

        textLabel2_2_2 = new QLabel(KexiFindDialog);
        textLabel2_2_2->setObjectName(QStringLiteral("textLabel2_2_2"));
        textLabel2_2_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel2_2_2->setWordWrap(false);

        gridLayout->addWidget(textLabel2_2_2, 3, 0, 1, 1);

        m_wholeWords = new QCheckBox(KexiFindDialog);
        m_wholeWords->setObjectName(QStringLiteral("m_wholeWords"));
        m_wholeWords->setFocusPolicy(Qt::WheelFocus);

        gridLayout->addWidget(m_wholeWords, 3, 2, 1, 1);

        textLabel1 = new QLabel(KexiFindDialog);
        textLabel1->setObjectName(QStringLiteral("textLabel1"));
        textLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel1->setWordWrap(false);

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

        m_lookIn = new KComboBox(KexiFindDialog);
        m_lookIn->setObjectName(QStringLiteral("m_lookIn"));
        m_lookIn->setFocusPolicy(Qt::StrongFocus);

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

        m_textToFind = new KHistoryComboBox(KexiFindDialog);
        m_textToFind->setObjectName(QStringLiteral("m_textToFind"));
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_textToFind->sizePolicy().hasHeightForWidth());
        m_textToFind->setSizePolicy(sizePolicy);
        m_textToFind->setMaxCount(10);
        m_textToFind->setAutoCompletion(true);
        m_textToFind->setDuplicatesEnabled(false);

        gridLayout->addWidget(m_textToFind, 0, 1, 1, 2);

        m_replaceLbl = new QLabel(KexiFindDialog);
        m_replaceLbl->setObjectName(QStringLiteral("m_replaceLbl"));
        QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(m_replaceLbl->sizePolicy().hasHeightForWidth());
        m_replaceLbl->setSizePolicy(sizePolicy1);
        m_replaceLbl->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        m_replaceLbl->setWordWrap(false);

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

        m_promptOnReplace = new QCheckBox(KexiFindDialog);
        m_promptOnReplace->setObjectName(QStringLiteral("m_promptOnReplace"));
        m_promptOnReplace->setFocusPolicy(Qt::WheelFocus);
        m_promptOnReplace->setChecked(true);

        gridLayout->addWidget(m_promptOnReplace, 4, 2, 1, 1);

        m_textToReplace = new KHistoryComboBox(KexiFindDialog);
        m_textToReplace->setObjectName(QStringLiteral("m_textToReplace"));
        m_textToReplace->setMaxCount(10);
        m_textToReplace->setAutoCompletion(true);
        m_textToReplace->setDuplicatesEnabled(false);

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

        textLabel2_2_3 = new QLabel(KexiFindDialog);
        textLabel2_2_3->setObjectName(QStringLiteral("textLabel2_2_3"));
        textLabel2_2_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel2_2_3->setWordWrap(false);

        gridLayout->addWidget(textLabel2_2_3, 4, 0, 1, 1);

        m_caseSensitive = new QCheckBox(KexiFindDialog);
        m_caseSensitive->setObjectName(QStringLiteral("m_caseSensitive"));
        m_caseSensitive->setFocusPolicy(Qt::WheelFocus);

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

        m_match = new KComboBox(KexiFindDialog);
        m_match->setObjectName(QStringLiteral("m_match"));
        m_match->setFocusPolicy(Qt::StrongFocus);

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

        m_search = new KComboBox(KexiFindDialog);
        m_search->setObjectName(QStringLiteral("m_search"));
        m_search->setFocusPolicy(Qt::StrongFocus);

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

        vboxLayout = new QVBoxLayout();
        vboxLayout->setSpacing(6);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        m_btnFind = new QPushButton(KexiFindDialog);
        m_btnFind->setObjectName(QStringLiteral("m_btnFind"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(m_btnFind->sizePolicy().hasHeightForWidth());
        m_btnFind->setSizePolicy(sizePolicy2);
        m_btnFind->setAutoDefault(true);

        vboxLayout->addWidget(m_btnFind);

        m_btnReplace = new QPushButton(KexiFindDialog);
        m_btnReplace->setObjectName(QStringLiteral("m_btnReplace"));
        sizePolicy2.setHeightForWidth(m_btnReplace->sizePolicy().hasHeightForWidth());
        m_btnReplace->setSizePolicy(sizePolicy2);

        vboxLayout->addWidget(m_btnReplace);

        m_btnReplaceAll = new QPushButton(KexiFindDialog);
        m_btnReplaceAll->setObjectName(QStringLiteral("m_btnReplaceAll"));
        sizePolicy2.setHeightForWidth(m_btnReplaceAll->sizePolicy().hasHeightForWidth());
        m_btnReplaceAll->setSizePolicy(sizePolicy2);

        vboxLayout->addWidget(m_btnReplaceAll);

        spacerItem = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacerItem);


        gridLayout->addLayout(vboxLayout, 0, 3, 8, 1);

        m_messageLabel = new QLabel(KexiFindDialog);
        m_messageLabel->setObjectName(QStringLiteral("m_messageLabel"));
        m_messageLabel->setWordWrap(false);

        gridLayout->addWidget(m_messageLabel, 6, 0, 1, 3);

#ifndef UI_QT_NO_SHORTCUT
        textLabel2_2->setBuddy(m_lookIn);
        textLabel2_2_2->setBuddy(m_search);
        textLabel1->setBuddy(m_textToFind);
        m_replaceLbl->setBuddy(m_textToReplace);
        textLabel2_2_3->setBuddy(m_match);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(m_textToFind, m_textToReplace);
        QWidget::setTabOrder(m_textToReplace, m_btnFind);
        QWidget::setTabOrder(m_btnFind, m_btnReplace);
        QWidget::setTabOrder(m_btnReplace, m_btnReplaceAll);
        QWidget::setTabOrder(m_btnReplaceAll, m_lookIn);
        QWidget::setTabOrder(m_lookIn, m_search);
        QWidget::setTabOrder(m_search, m_match);
        QWidget::setTabOrder(m_match, m_caseSensitive);
        QWidget::setTabOrder(m_caseSensitive, m_wholeWords);
        QWidget::setTabOrder(m_wholeWords, m_promptOnReplace);

        retranslateUi(KexiFindDialog);

        m_btnFind->setDefault(true);


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

    void retranslateUi(QDialog *KexiFindDialog)
    {
        textLabel2_2->setText(tr2i18n("&Look in:", "Look in field:"));
        textLabel2_2_2->setText(tr2i18n("&Search:", 0));
        m_wholeWords->setText(tr2i18n("&Whole words only", "Match: Whole words only"));
        textLabel1->setText(tr2i18n("Fi&nd:", 0));
        m_replaceLbl->setText(tr2i18n("Re&place with:", "Replace all occurences with"));
        m_promptOnReplace->setText(tr2i18n("Prompt on replace", 0));
        textLabel2_2_3->setText(tr2i18n("&Match:", 0));
        m_caseSensitive->setText(tr2i18n("C&ase sensitive", "Match: Case sensitive"));
        m_match->clear();
        m_match->insertItems(0, QStringList()
         << tr2i18n("Any Part of Field", "Match: Any Part of Field")
         << tr2i18n("Whole Field", "Match: Whole Field")
         << tr2i18n("Start of Field", "Match: Start of Field")
        );
        m_search->clear();
        m_search->insertItems(0, QStringList()
         << tr2i18n("Up", "Search Up")
         << tr2i18n("Down", "Search Down")
         << tr2i18n("All Rows", "Look In All Rows")
        );
        m_btnFind->setText(QString());
        m_btnFind->setShortcut(QString());
        m_btnReplace->setText(tr2i18n("&Replace", 0));
        m_btnReplaceAll->setText(tr2i18n("Replace All", "Replace All Occurences"));
        m_messageLabel->setText(QString());
        Q_UNUSED(KexiFindDialog);
    } // retranslateUi

};

namespace Ui {
    class KexiFindDialog: public Ui_KexiFindDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KEXIFINDDIALOG_H

