#include <kdialog.h>
#include <klocale.h>

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

#ifndef UI_FOLDERVIEWFILTERCONFIG_H
#define UI_FOLDERVIEWFILTERCONFIG_H

#include <KDE/KUrlRequester>
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QListView>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "klineedit.h"

QT_BEGIN_NAMESPACE

class Ui_folderviewFilterConfig
{
public:
    QVBoxLayout *verticalLayout_2;
    QComboBox *filterCombo;
    QFrame *fileFilters;
    QGridLayout *gridLayout_3;
    QGridLayout *mimeTypeLayout;
    QHBoxLayout *horizontalLayout;
    QListView *filterFilesList;
    QVBoxLayout *verticalLayout;
    QPushButton *selectAll;
    QPushButton *deselectAll;
    QLabel *label;
    QSpacerItem *verticalSpacer;
    KLineEdit *searchMimetype;
    QLabel *fileTypesLabel;
    QLabel *fileNameLabel;
    KLineEdit *filterFilesPattern;

    void setupUi(QWidget *folderviewFilterConfig)
    {
        if (folderviewFilterConfig->objectName().isEmpty())
            folderviewFilterConfig->setObjectName(QString::fromUtf8("folderviewFilterConfig"));
        folderviewFilterConfig->resize(509, 375);
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(folderviewFilterConfig->sizePolicy().hasHeightForWidth());
        folderviewFilterConfig->setSizePolicy(sizePolicy);
        folderviewFilterConfig->setMinimumSize(QSize(500, 0));
        verticalLayout_2 = new QVBoxLayout(folderviewFilterConfig);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        filterCombo = new QComboBox(folderviewFilterConfig);
        filterCombo->setObjectName(QString::fromUtf8("filterCombo"));

        verticalLayout_2->addWidget(filterCombo);

        fileFilters = new QFrame(folderviewFilterConfig);
        fileFilters->setObjectName(QString::fromUtf8("fileFilters"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(10);
        sizePolicy1.setHeightForWidth(fileFilters->sizePolicy().hasHeightForWidth());
        fileFilters->setSizePolicy(sizePolicy1);
        gridLayout_3 = new QGridLayout(fileFilters);
        gridLayout_3->setContentsMargins(0, 0, 0, 0);
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
        mimeTypeLayout = new QGridLayout();
        mimeTypeLayout->setObjectName(QString::fromUtf8("mimeTypeLayout"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        filterFilesList = new QListView(fileFilters);
        filterFilesList->setObjectName(QString::fromUtf8("filterFilesList"));
        sizePolicy.setHeightForWidth(filterFilesList->sizePolicy().hasHeightForWidth());
        filterFilesList->setSizePolicy(sizePolicy);
        filterFilesList->setSelectionMode(QAbstractItemView::NoSelection);
        filterFilesList->setFlow(QListView::TopToBottom);
        filterFilesList->setUniformItemSizes(true);

        horizontalLayout->addWidget(filterFilesList);

        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        selectAll = new QPushButton(fileFilters);
        selectAll->setObjectName(QString::fromUtf8("selectAll"));

        verticalLayout->addWidget(selectAll);

        deselectAll = new QPushButton(fileFilters);
        deselectAll->setObjectName(QString::fromUtf8("deselectAll"));

        verticalLayout->addWidget(deselectAll);

        label = new QLabel(fileFilters);
        label->setObjectName(QString::fromUtf8("label"));
        label->setAlignment(Qt::AlignCenter);

        verticalLayout->addWidget(label);

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

        verticalLayout->addItem(verticalSpacer);


        horizontalLayout->addLayout(verticalLayout);

        horizontalLayout->setStretch(0, 1);

        mimeTypeLayout->addLayout(horizontalLayout, 5, 0, 1, 1);

        searchMimetype = new KLineEdit(fileFilters);
        searchMimetype->setObjectName(QString::fromUtf8("searchMimetype"));
        searchMimetype->setProperty("showClearButton", QVariant(true));

        mimeTypeLayout->addWidget(searchMimetype, 3, 0, 1, 1);

        fileTypesLabel = new QLabel(fileFilters);
        fileTypesLabel->setObjectName(QString::fromUtf8("fileTypesLabel"));

        mimeTypeLayout->addWidget(fileTypesLabel, 2, 0, 1, 1);

        fileNameLabel = new QLabel(fileFilters);
        fileNameLabel->setObjectName(QString::fromUtf8("fileNameLabel"));

        mimeTypeLayout->addWidget(fileNameLabel, 0, 0, 1, 1);

        filterFilesPattern = new KLineEdit(fileFilters);
        filterFilesPattern->setObjectName(QString::fromUtf8("filterFilesPattern"));
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(filterFilesPattern->sizePolicy().hasHeightForWidth());
        filterFilesPattern->setSizePolicy(sizePolicy2);
        filterFilesPattern->setAlignment(Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft);
        filterFilesPattern->setUrlDropsEnabled(false);
        filterFilesPattern->setProperty("showClearButton", QVariant(true));

        mimeTypeLayout->addWidget(filterFilesPattern, 1, 0, 1, 1);


        gridLayout_3->addLayout(mimeTypeLayout, 0, 1, 1, 1);


        verticalLayout_2->addWidget(fileFilters);


        retranslateUi(folderviewFilterConfig);

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

    void retranslateUi(QWidget *folderviewFilterConfig)
    {
#ifndef UI_QT_NO_TOOLTIP
        filterCombo->setToolTip(tr2i18n("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">If you have selected \"Show Files Matching\" or \"Hide Files Matching\", only the files matching BOTH the conditions will be shown or hidden respectively.</p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">For example, if you have \"*\" as your pattern, but have nothing selected in the MIME types, no files will be shown.</p></body></html>", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        filterCombo->setWhatsThis(QString());
#endif // QT_NO_WHATSTHIS
        selectAll->setText(tr2i18n("Select All", 0));
        deselectAll->setText(tr2i18n("Deselect All", 0));
#ifndef UI_QT_NO_TOOLTIP
        label->setToolTip(tr2i18n("Note that if you have selected \"Show Files Matching\" or \"Hide Files Matching\",\n"
"only the files matching BOTH the conditions will be shown or hidden respectively.\n"
"For example, if you have \"*\" as your pattern, but have nothing selected in the MIME types, no files will be shown.", 0));
#endif // QT_NO_TOOLTIP
        label->setText(tr2i18n("<a href=\"null\">Cannot See Any Files?</a>", 0));
        searchMimetype->setClickMessage(tr2i18n("Search file type", 0));
        fileTypesLabel->setText(tr2i18n("File types:", 0));
        fileNameLabel->setText(tr2i18n("File name pattern:", 0));
#ifndef UI_QT_NO_TOOLTIP
        filterFilesPattern->setToolTip(tr2i18n("Space-separated list of extensions, e.g. *.txt *.od*", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        filterFilesPattern->setWhatsThis(tr2i18n("Space-separated list of extensions, e.g. *.txt *.od* to display only office- and text-files", 0));
#endif // QT_NO_WHATSTHIS
        filterFilesPattern->setClickMessage(tr2i18n("Pattern filter", 0));
        Q_UNUSED(folderviewFilterConfig);
    } // retranslateUi

};

namespace Ui {
    class folderviewFilterConfig: public Ui_folderviewFilterConfig {};
} // namespace Ui

QT_END_NAMESPACE

#endif // FOLDERVIEWFILTERCONFIG_H

