#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'preferencesui.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_PREFERENCESUI_H
#define UI_PREFERENCESUI_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"

QT_BEGIN_NAMESPACE

class Ui_PreferencesUI
{
public:
    QVBoxLayout *vboxLayout;
    QVBoxLayout *vboxLayout1;
    QLabel *speakLabel;
    KComboBox *speakCombo;
    QVBoxLayout *vboxLayout2;
    QLabel *closeLabel;
    KComboBox *closeCombo;

    void setupUi(QWidget *PreferencesUI)
    {
        if (PreferencesUI->objectName().isEmpty())
            PreferencesUI->setObjectName(QStringLiteral("PreferencesUI"));
        PreferencesUI->resize(339, 148);
        QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(PreferencesUI->sizePolicy().hasHeightForWidth());
        PreferencesUI->setSizePolicy(sizePolicy);
        vboxLayout = new QVBoxLayout(PreferencesUI);
#ifndef UI_Q_OS_MAC
        vboxLayout->setSpacing(6);
#endif
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        vboxLayout1 = new QVBoxLayout();
#ifndef UI_Q_OS_MAC
        vboxLayout1->setSpacing(6);
#endif
#ifndef UI_Q_OS_MAC
        vboxLayout1->setContentsMargins(0, 0, 0, 0);
#endif
        vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
        speakLabel = new QLabel(PreferencesUI);
        speakLabel->setObjectName(QStringLiteral("speakLabel"));
        QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0));
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(speakLabel->sizePolicy().hasHeightForWidth());
        speakLabel->setSizePolicy(sizePolicy1);

        vboxLayout1->addWidget(speakLabel);

        speakCombo = new KComboBox(PreferencesUI);
        speakCombo->setObjectName(QStringLiteral("speakCombo"));

        vboxLayout1->addWidget(speakCombo);


        vboxLayout->addLayout(vboxLayout1);

        vboxLayout2 = new QVBoxLayout();
#ifndef UI_Q_OS_MAC
        vboxLayout2->setSpacing(6);
#endif
        vboxLayout2->setContentsMargins(0, 0, 0, 0);
        vboxLayout2->setObjectName(QStringLiteral("vboxLayout2"));
        closeLabel = new QLabel(PreferencesUI);
        closeLabel->setObjectName(QStringLiteral("closeLabel"));
        sizePolicy1.setHeightForWidth(closeLabel->sizePolicy().hasHeightForWidth());
        closeLabel->setSizePolicy(sizePolicy1);

        vboxLayout2->addWidget(closeLabel);

        closeCombo = new KComboBox(PreferencesUI);
        closeCombo->setObjectName(QStringLiteral("closeCombo"));

        vboxLayout2->addWidget(closeCombo);


        vboxLayout->addLayout(vboxLayout2);

#ifndef UI_QT_NO_SHORTCUT
        speakLabel->setBuddy(speakCombo);
        closeLabel->setBuddy(closeCombo);
#endif // QT_NO_SHORTCUT

        retranslateUi(PreferencesUI);

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

    void retranslateUi(QWidget *PreferencesUI)
    {
        PreferencesUI->setWindowTitle(tr2i18n("Preferences", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        speakLabel->setWhatsThis(tr2i18n("This combo box specifies whether selected phrases of the phrase book are immediately spoken or just inserted into the edit field.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        speakLabel->setText(tr2i18n("&Selection of phrases in the phrase book:", Q_NULLPTR));
        speakCombo->clear();
        speakCombo->insertItems(0, QStringList()
         << tr2i18n("Speak Immediately", Q_NULLPTR)
         << tr2i18n("Insert Into Edit Field", Q_NULLPTR)
        );
#ifndef UI_QT_NO_WHATSTHIS
        speakCombo->setWhatsThis(tr2i18n("This combo box specifies whether selected phrases of the phrase book are immediately spoken or just inserted into the edit field.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        closeLabel->setWhatsThis(tr2i18n("This combo box specifies whether the phrase book is automatically saved when the edit window is closed.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        closeLabel->setText(tr2i18n("Closing the phrase &book edit window:", Q_NULLPTR));
        closeCombo->clear();
        closeCombo->insertItems(0, QStringList()
         << tr2i18n("Save Phrase Book", Q_NULLPTR)
         << tr2i18n("Discard Changes", Q_NULLPTR)
         << tr2i18n("Ask Whether to Save", Q_NULLPTR)
        );
#ifndef UI_QT_NO_WHATSTHIS
        closeCombo->setWhatsThis(tr2i18n("This combo box specifies whether the phrase book is automatically saved when the edit window is closed.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
    } // retranslateUi

};

namespace Ui {
    class PreferencesUI: public Ui_PreferencesUI {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PREFERENCESUI_H

