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

#ifndef UI_PLAYLISTDURATIONEDITWIDGET_H
#define UI_PLAYLISTDURATIONEDITWIDGET_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSlider>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTimeEdit>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <klocalizedstring.h>

QT_BEGIN_NAMESPACE

class Ui_PlaylistDurationEditWidget
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *groupBox;
    QGridLayout *gridLayout_2;
    QGridLayout *gridLayout;
    QComboBox *comboBox_Comparison;
    QHBoxLayout *horizontalLayout;
    QTimeEdit *timeEdit_Duration;
    QSpacerItem *horizontalSpacer;
    QLabel *label_Strictness;
    QHBoxLayout *horizontalLayout_2;
    QLabel *label_Fuzzy;
    QSlider *slider_Strictness;
    QLabel *label_Exact;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *PlaylistDurationEditWidget)
    {
        if (PlaylistDurationEditWidget->objectName().isEmpty())
            PlaylistDurationEditWidget->setObjectName("PlaylistDurationEditWidget");
        PlaylistDurationEditWidget->resize(247, 113);
        verticalLayout = new QVBoxLayout(PlaylistDurationEditWidget);
        verticalLayout->setObjectName("verticalLayout");
        groupBox = new QGroupBox(PlaylistDurationEditWidget);
        groupBox->setObjectName("groupBox");
        gridLayout_2 = new QGridLayout(groupBox);
        gridLayout_2->setObjectName("gridLayout_2");
        gridLayout = new QGridLayout();
        gridLayout->setObjectName("gridLayout");
        comboBox_Comparison = new QComboBox(groupBox);
        comboBox_Comparison->addItem(QString());
        comboBox_Comparison->addItem(QString());
        comboBox_Comparison->addItem(QString());
        comboBox_Comparison->setObjectName("comboBox_Comparison");

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

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        timeEdit_Duration = new QTimeEdit(groupBox);
        timeEdit_Duration->setObjectName("timeEdit_Duration");
        timeEdit_Duration->setTime(QTime(0, 0, 0));

        horizontalLayout->addWidget(timeEdit_Duration);

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

        horizontalLayout->addItem(horizontalSpacer);


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

        label_Strictness = new QLabel(groupBox);
        label_Strictness->setObjectName("label_Strictness");

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

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        label_Fuzzy = new QLabel(groupBox);
        label_Fuzzy->setObjectName("label_Fuzzy");

        horizontalLayout_2->addWidget(label_Fuzzy);

        slider_Strictness = new QSlider(groupBox);
        slider_Strictness->setObjectName("slider_Strictness");
        slider_Strictness->setMaximum(10);
        slider_Strictness->setValue(8);
        slider_Strictness->setOrientation(Qt::Horizontal);

        horizontalLayout_2->addWidget(slider_Strictness);

        label_Exact = new QLabel(groupBox);
        label_Exact->setObjectName("label_Exact");

        horizontalLayout_2->addWidget(label_Exact);


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

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

        gridLayout->addItem(verticalSpacer, 2, 1, 1, 1);


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


        verticalLayout->addWidget(groupBox);

#if QT_CONFIG(shortcut)
        label_Strictness->setBuddy(slider_Strictness);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(comboBox_Comparison, timeEdit_Duration);
        QWidget::setTabOrder(timeEdit_Duration, slider_Strictness);

        retranslateUi(PlaylistDurationEditWidget);

        comboBox_Comparison->setCurrentIndex(1);


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

    void retranslateUi(QWidget *PlaylistDurationEditWidget)
    {
#if QT_CONFIG(whatsthis)
        PlaylistDurationEditWidget->setWhatsThis(tr2i18n("An editor for a PlaylistDuration constraint.  The user can set the name of the constraint; the target duration and whether the playlist should be less than, equal to, or greater than that duration; and the strictness with which the APG should match that duration.", nullptr));
#endif // QT_CONFIG(whatsthis)
        groupBox->setTitle(tr2i18n("Playlist Duration Constraint Settings", nullptr));
        comboBox_Comparison->setItemText(0, tr2i18n("shorter than", nullptr));
        comboBox_Comparison->setItemText(1, tr2i18n("equal to", nullptr));
        comboBox_Comparison->setItemText(2, tr2i18n("longer than", nullptr));

#if QT_CONFIG(tooltip)
        comboBox_Comparison->setToolTip(QString());
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        comboBox_Comparison->setWhatsThis(tr2i18n("Whether the duration of the generated playlist should be shorter than, equal to, or longer than the specified value.", nullptr));
#endif // QT_CONFIG(whatsthis)
#if QT_CONFIG(tooltip)
        timeEdit_Duration->setToolTip(QString());
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        timeEdit_Duration->setWhatsThis(tr2i18n("The desired duration of the playlist, in hours, minutes, and seconds.  Note: because of Qt limitations, the maximum playlist duration that you can specify is 24 hours.", nullptr));
#endif // QT_CONFIG(whatsthis)
        timeEdit_Duration->setDisplayFormat(tr2i18n("h:mm:ss", nullptr));
#if QT_CONFIG(whatsthis)
        label_Strictness->setWhatsThis(tr2i18n("How strict the APG should be about matching the playlist duration to the specified time.", nullptr));
#endif // QT_CONFIG(whatsthis)
        label_Strictness->setText(tr2i18n("Match:", nullptr));
        label_Fuzzy->setText(tr2i18n("fuzzy", nullptr));
#if QT_CONFIG(tooltip)
        slider_Strictness->setToolTip(QString());
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        slider_Strictness->setWhatsThis(tr2i18n("How strict the APG should be about matching the playlist duration to the specified time.", nullptr));
#endif // QT_CONFIG(whatsthis)
        label_Exact->setText(tr2i18n("exact", nullptr));
    } // retranslateUi

};

namespace Ui {
    class PlaylistDurationEditWidget: public Ui_PlaylistDurationEditWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PLAYLISTDURATIONEDITWIDGET_H

