/********************************************************************************
** Form generated from reading UI file 'searchwindow.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_SEARCHWINDOW_H
#define UI_SEARCHWINDOW_H

#include <MailCommon/FolderRequester>
#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QWidget>
#include <klocalizedstring.h>
#include "Akonadi/EntityTreeView"
#include "KBusyIndicatorWidget"
#include "klineedit.h"
#include "searchdialog/kmailsearchpatternedit.h"

QT_BEGIN_NAMESPACE

class Ui_SearchWindow
{
public:
    QGridLayout *gridLayout;
    QRadioButton *mChkbxAllFolders;
    QHBoxLayout *horizontalLayout;
    QRadioButton *mChkbxSpecificFolders;
    MailCommon::FolderRequester *mCbxFolders;
    QCheckBox *mChkSubFolders;
    QHBoxLayout *horizontalLayout_4;
    QRadioButton *mChkMultiFolders;
    QPushButton *selectMultipleFolders;
    QSpacerItem *horizontalSpacer;
    QFrame *line_2;
    KMail::KMailSearchPatternEdit *mPatternEdit;
    Akonadi::EntityTreeView *mLbxMatches;
    QHBoxLayout *horizontalLayout_2;
    QLabel *mSearchFolderLbl;
    KLineEdit *mSearchFolderEdt;
    QPushButton *mSearchFolderOpenBtn;
    QPushButton *mSearchResultOpenBtn;
    QFrame *line;
    QHBoxLayout *horizontalLayout_3;
    KBusyIndicatorWidget *mProgressIndicator;
    QLabel *mStatusLbl;
    QDialogButtonBox *mButtonBox;

    void setupUi(QWidget *SearchWindow)
    {
        if (SearchWindow->objectName().isEmpty())
            SearchWindow->setObjectName("SearchWindow");
        SearchWindow->resize(774, 637);
        gridLayout = new QGridLayout(SearchWindow);
        gridLayout->setObjectName("gridLayout");
        mChkbxAllFolders = new QRadioButton(SearchWindow);
        mChkbxAllFolders->setObjectName("mChkbxAllFolders");

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

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        mChkbxSpecificFolders = new QRadioButton(SearchWindow);
        mChkbxSpecificFolders->setObjectName("mChkbxSpecificFolders");
        mChkbxSpecificFolders->setChecked(true);

        horizontalLayout->addWidget(mChkbxSpecificFolders);

        mCbxFolders = new MailCommon::FolderRequester(SearchWindow);
        mCbxFolders->setObjectName("mCbxFolders");

        horizontalLayout->addWidget(mCbxFolders);

        mChkSubFolders = new QCheckBox(SearchWindow);
        mChkSubFolders->setObjectName("mChkSubFolders");
        mChkSubFolders->setChecked(true);

        horizontalLayout->addWidget(mChkSubFolders);


        gridLayout->addLayout(horizontalLayout, 1, 0, 1, 1);

        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setObjectName("horizontalLayout_4");
        mChkMultiFolders = new QRadioButton(SearchWindow);
        mChkMultiFolders->setObjectName("mChkMultiFolders");

        horizontalLayout_4->addWidget(mChkMultiFolders);

        selectMultipleFolders = new QPushButton(SearchWindow);
        selectMultipleFolders->setObjectName("selectMultipleFolders");

        horizontalLayout_4->addWidget(selectMultipleFolders);

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

        horizontalLayout_4->addItem(horizontalSpacer);


        gridLayout->addLayout(horizontalLayout_4, 2, 0, 1, 1);

        line_2 = new QFrame(SearchWindow);
        line_2->setObjectName("line_2");
        line_2->setFrameShape(QFrame::Shape::HLine);
        line_2->setFrameShadow(QFrame::Shadow::Sunken);

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

        mPatternEdit = new KMail::KMailSearchPatternEdit(SearchWindow);
        mPatternEdit->setObjectName("mPatternEdit");

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

        mLbxMatches = new Akonadi::EntityTreeView(SearchWindow);
        mLbxMatches->setObjectName("mLbxMatches");
        mLbxMatches->setContextMenuPolicy(Qt::CustomContextMenu);
        mLbxMatches->setAlternatingRowColors(true);
        mLbxMatches->setSelectionMode(QAbstractItemView::ExtendedSelection);
        mLbxMatches->setRootIsDecorated(false);
        mLbxMatches->setAllColumnsShowFocus(true);

        gridLayout->addWidget(mLbxMatches, 5, 0, 1, 1);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        mSearchFolderLbl = new QLabel(SearchWindow);
        mSearchFolderLbl->setObjectName("mSearchFolderLbl");

        horizontalLayout_2->addWidget(mSearchFolderLbl);

        mSearchFolderEdt = new KLineEdit(SearchWindow);
        mSearchFolderEdt->setObjectName("mSearchFolderEdt");
        mSearchFolderEdt->setProperty("showClearButton", QVariant(true));

        horizontalLayout_2->addWidget(mSearchFolderEdt);

        mSearchFolderOpenBtn = new QPushButton(SearchWindow);
        mSearchFolderOpenBtn->setObjectName("mSearchFolderOpenBtn");
        mSearchFolderOpenBtn->setEnabled(false);

        horizontalLayout_2->addWidget(mSearchFolderOpenBtn);

        mSearchResultOpenBtn = new QPushButton(SearchWindow);
        mSearchResultOpenBtn->setObjectName("mSearchResultOpenBtn");
        mSearchResultOpenBtn->setEnabled(false);

        horizontalLayout_2->addWidget(mSearchResultOpenBtn);


        gridLayout->addLayout(horizontalLayout_2, 6, 0, 1, 1);

        line = new QFrame(SearchWindow);
        line->setObjectName("line");
        line->setFrameShape(QFrame::Shape::HLine);
        line->setFrameShadow(QFrame::Shadow::Sunken);

        gridLayout->addWidget(line, 7, 0, 1, 1);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName("horizontalLayout_3");
        mProgressIndicator = new KBusyIndicatorWidget(SearchWindow);
        mProgressIndicator->setObjectName("mProgressIndicator");

        horizontalLayout_3->addWidget(mProgressIndicator);

        mStatusLbl = new QLabel(SearchWindow);
        mStatusLbl->setObjectName("mStatusLbl");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mStatusLbl->sizePolicy().hasHeightForWidth());
        mStatusLbl->setSizePolicy(sizePolicy);

        horizontalLayout_3->addWidget(mStatusLbl);

        mButtonBox = new QDialogButtonBox(SearchWindow);
        mButtonBox->setObjectName("mButtonBox");
        mButtonBox->setStandardButtons(QDialogButtonBox::Close);

        horizontalLayout_3->addWidget(mButtonBox);


        gridLayout->addLayout(horizontalLayout_3, 8, 0, 1, 1);

#if QT_CONFIG(shortcut)
        mSearchFolderLbl->setBuddy(mSearchFolderEdt);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(mChkbxAllFolders, mChkbxSpecificFolders);
        QWidget::setTabOrder(mChkbxSpecificFolders, mChkSubFolders);
        QWidget::setTabOrder(mChkSubFolders, mChkMultiFolders);
        QWidget::setTabOrder(mChkMultiFolders, selectMultipleFolders);
        QWidget::setTabOrder(selectMultipleFolders, mLbxMatches);
        QWidget::setTabOrder(mLbxMatches, mSearchFolderEdt);
        QWidget::setTabOrder(mSearchFolderEdt, mSearchFolderOpenBtn);
        QWidget::setTabOrder(mSearchFolderOpenBtn, mSearchResultOpenBtn);
        QWidget::setTabOrder(mSearchResultOpenBtn, mButtonBox);

        retranslateUi(SearchWindow);
        QObject::connect(mChkbxSpecificFolders, SIGNAL(toggled(bool)), mCbxFolders, SLOT(setEnabled(bool)));
        QObject::connect(mChkbxSpecificFolders, &QRadioButton::toggled, mChkSubFolders, &QCheckBox::setEnabled);

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

    void retranslateUi(QWidget *SearchWindow)
    {
        mChkbxAllFolders->setText(tr2i18n("Search in &all folders", nullptr));
        mChkbxSpecificFolders->setText(tr2i18n("Search &only in:", nullptr));
        mChkSubFolders->setText(tr2i18n("&Include sub-folders", nullptr));
        mChkMultiFolders->setText(tr2i18n("Select specific folders:", nullptr));
        selectMultipleFolders->setText(tr2i18n("Select Folders\342\200\246", nullptr));
        mSearchFolderLbl->setText(tr2i18n("Search folder &name:", nullptr));
        mSearchFolderOpenBtn->setText(tr2i18n("Open &Search Folder", nullptr));
        mSearchResultOpenBtn->setText(tr2i18n("Open &Message", nullptr));
        mStatusLbl->setText(QString());
        (void)SearchWindow;
    } // retranslateUi

};

namespace Ui {
    class SearchWindow: public Ui_SearchWindow {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SEARCHWINDOW_H

