/********************************************************************************
** Form generated from reading UI file 'settingsnotifications.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_SETTINGSNOTIFICATIONS_H
#define UI_SETTINGSNOTIFICATIONS_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QWidget>
#include "helpspoiler.h"
#include "notificationseditor.h"

QT_BEGIN_NAMESPACE

class Ui_SettingsNotifications
{
public:
    QFormLayout *formLayout;
    QCheckBox *m_checkEnableNotifications;
    NotificationsEditor *m_editor;
    QGroupBox *m_gbNotificationsType;
    QFormLayout *formLayout_2;
    QRadioButton *m_rbNativeNotifications;
    QRadioButton *m_rbCustomNotifications;
    QWidget *m_wdgCustomNotifications;
    QFormLayout *formLayout_3;
    QLabel *label;
    QComboBox *m_cbCustomNotificationsPosition;
    QLabel *label_3;
    QSpinBox *m_sbWidth;
    QLabel *label_4;
    QSpinBox *m_sbMargin;
    QLabel *label_2;
    QSpinBox *m_sbScreen;
    QLabel *m_lblScreenInfo;
    QSpinBox *m_sbOpacity;
    QLabel *label_5;
    QSpinBox *m_sbDuration;
    QLabel *label_6;
    HelpSpoiler *m_lblNativeNotif;
    HelpSpoiler *m_lblInfo;

    void setupUi(QWidget *SettingsNotifications)
    {
        if (SettingsNotifications->objectName().isEmpty())
            SettingsNotifications->setObjectName("SettingsNotifications");
        SettingsNotifications->resize(407, 388);
        formLayout = new QFormLayout(SettingsNotifications);
        formLayout->setObjectName("formLayout");
        m_checkEnableNotifications = new QCheckBox(SettingsNotifications);
        m_checkEnableNotifications->setObjectName("m_checkEnableNotifications");

        formLayout->setWidget(1, QFormLayout::ItemRole::SpanningRole, m_checkEnableNotifications);

        m_editor = new NotificationsEditor(SettingsNotifications);
        m_editor->setObjectName("m_editor");
        m_editor->setEnabled(false);
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(1);
        sizePolicy.setHeightForWidth(m_editor->sizePolicy().hasHeightForWidth());
        m_editor->setSizePolicy(sizePolicy);

        formLayout->setWidget(4, QFormLayout::ItemRole::SpanningRole, m_editor);

        m_gbNotificationsType = new QGroupBox(SettingsNotifications);
        m_gbNotificationsType->setObjectName("m_gbNotificationsType");
        m_gbNotificationsType->setEnabled(false);
        formLayout_2 = new QFormLayout(m_gbNotificationsType);
        formLayout_2->setObjectName("formLayout_2");
        m_rbNativeNotifications = new QRadioButton(m_gbNotificationsType);
        m_rbNativeNotifications->setObjectName("m_rbNativeNotifications");

        formLayout_2->setWidget(0, QFormLayout::ItemRole::SpanningRole, m_rbNativeNotifications);

        m_rbCustomNotifications = new QRadioButton(m_gbNotificationsType);
        m_rbCustomNotifications->setObjectName("m_rbCustomNotifications");
        m_rbCustomNotifications->setChecked(true);

        formLayout_2->setWidget(1, QFormLayout::ItemRole::SpanningRole, m_rbCustomNotifications);

        m_wdgCustomNotifications = new QWidget(m_gbNotificationsType);
        m_wdgCustomNotifications->setObjectName("m_wdgCustomNotifications");
        formLayout_3 = new QFormLayout(m_wdgCustomNotifications);
        formLayout_3->setObjectName("formLayout_3");
        formLayout_3->setContentsMargins(30, -1, -1, -1);
        label = new QLabel(m_wdgCustomNotifications);
        label->setObjectName("label");

        formLayout_3->setWidget(0, QFormLayout::ItemRole::LabelRole, label);

        m_cbCustomNotificationsPosition = new QComboBox(m_wdgCustomNotifications);
        m_cbCustomNotificationsPosition->setObjectName("m_cbCustomNotificationsPosition");

        formLayout_3->setWidget(0, QFormLayout::ItemRole::FieldRole, m_cbCustomNotificationsPosition);

        label_3 = new QLabel(m_wdgCustomNotifications);
        label_3->setObjectName("label_3");

        formLayout_3->setWidget(1, QFormLayout::ItemRole::LabelRole, label_3);

        m_sbWidth = new QSpinBox(m_wdgCustomNotifications);
        m_sbWidth->setObjectName("m_sbWidth");
        m_sbWidth->setSuffix(QString::fromUtf8(" px"));
        m_sbWidth->setMinimum(50);
        m_sbWidth->setMaximum(1000);

        formLayout_3->setWidget(1, QFormLayout::ItemRole::FieldRole, m_sbWidth);

        label_4 = new QLabel(m_wdgCustomNotifications);
        label_4->setObjectName("label_4");

        formLayout_3->setWidget(2, QFormLayout::ItemRole::LabelRole, label_4);

        m_sbMargin = new QSpinBox(m_wdgCustomNotifications);
        m_sbMargin->setObjectName("m_sbMargin");
        m_sbMargin->setSuffix(QString::fromUtf8(" px"));
        m_sbMargin->setMaximum(100);

        formLayout_3->setWidget(2, QFormLayout::ItemRole::FieldRole, m_sbMargin);

        label_2 = new QLabel(m_wdgCustomNotifications);
        label_2->setObjectName("label_2");

        formLayout_3->setWidget(5, QFormLayout::ItemRole::LabelRole, label_2);

        m_sbScreen = new QSpinBox(m_wdgCustomNotifications);
        m_sbScreen->setObjectName("m_sbScreen");
        m_sbScreen->setValue(99);

        formLayout_3->setWidget(5, QFormLayout::ItemRole::FieldRole, m_sbScreen);

        m_lblScreenInfo = new QLabel(m_wdgCustomNotifications);
        m_lblScreenInfo->setObjectName("m_lblScreenInfo");

        formLayout_3->setWidget(6, QFormLayout::ItemRole::FieldRole, m_lblScreenInfo);

        m_sbOpacity = new QSpinBox(m_wdgCustomNotifications);
        m_sbOpacity->setObjectName("m_sbOpacity");
        m_sbOpacity->setSuffix(QString::fromUtf8(" %"));
        m_sbOpacity->setMaximum(100);

        formLayout_3->setWidget(3, QFormLayout::ItemRole::FieldRole, m_sbOpacity);

        label_5 = new QLabel(m_wdgCustomNotifications);
        label_5->setObjectName("label_5");

        formLayout_3->setWidget(3, QFormLayout::ItemRole::LabelRole, label_5);

        m_sbDuration = new QSpinBox(m_wdgCustomNotifications);
        m_sbDuration->setObjectName("m_sbDuration");
        m_sbDuration->setMinimum(3);
        m_sbDuration->setMaximum(100);

        formLayout_3->setWidget(4, QFormLayout::ItemRole::FieldRole, m_sbDuration);

        label_6 = new QLabel(m_wdgCustomNotifications);
        label_6->setObjectName("label_6");

        formLayout_3->setWidget(4, QFormLayout::ItemRole::LabelRole, label_6);


        formLayout_2->setWidget(3, QFormLayout::ItemRole::SpanningRole, m_wdgCustomNotifications);

        m_lblNativeNotif = new HelpSpoiler(m_gbNotificationsType);
        m_lblNativeNotif->setObjectName("m_lblNativeNotif");

        formLayout_2->setWidget(2, QFormLayout::ItemRole::SpanningRole, m_lblNativeNotif);


        formLayout->setWidget(2, QFormLayout::ItemRole::SpanningRole, m_gbNotificationsType);

        m_lblInfo = new HelpSpoiler(SettingsNotifications);
        m_lblInfo->setObjectName("m_lblInfo");

        formLayout->setWidget(3, QFormLayout::ItemRole::SpanningRole, m_lblInfo);

#if QT_CONFIG(shortcut)
        label->setBuddy(m_cbCustomNotificationsPosition);
        label_3->setBuddy(m_sbWidth);
        label_4->setBuddy(m_sbMargin);
        label_2->setBuddy(m_sbScreen);
        label_5->setBuddy(m_sbOpacity);
        label_6->setBuddy(m_sbDuration);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(m_checkEnableNotifications, m_rbNativeNotifications);
        QWidget::setTabOrder(m_rbNativeNotifications, m_rbCustomNotifications);
        QWidget::setTabOrder(m_rbCustomNotifications, m_cbCustomNotificationsPosition);
        QWidget::setTabOrder(m_cbCustomNotificationsPosition, m_sbWidth);
        QWidget::setTabOrder(m_sbWidth, m_sbMargin);
        QWidget::setTabOrder(m_sbMargin, m_sbOpacity);
        QWidget::setTabOrder(m_sbOpacity, m_sbDuration);
        QWidget::setTabOrder(m_sbDuration, m_sbScreen);

        retranslateUi(SettingsNotifications);
        QObject::connect(m_checkEnableNotifications, SIGNAL(toggled(bool)), m_editor, SLOT(setEnabled(bool)));
        QObject::connect(m_checkEnableNotifications, &QCheckBox::toggled, m_gbNotificationsType, &QGroupBox::setEnabled);
        QObject::connect(m_rbCustomNotifications, &QRadioButton::toggled, m_wdgCustomNotifications, &QWidget::setEnabled);

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

    void retranslateUi(QWidget *SettingsNotifications)
    {
        m_checkEnableNotifications->setText(QCoreApplication::translate("SettingsNotifications", "Enable notifications", nullptr));
        m_gbNotificationsType->setTitle(QCoreApplication::translate("SettingsNotifications", "Balloon notifications type", nullptr));
        m_rbNativeNotifications->setText(QCoreApplication::translate("SettingsNotifications", "Native notifications (tray icon must be enabled)", nullptr));
        m_rbCustomNotifications->setText(QCoreApplication::translate("SettingsNotifications", "Custom notifications", nullptr));
        label->setText(QCoreApplication::translate("SettingsNotifications", "Position", nullptr));
        label_3->setText(QCoreApplication::translate("SettingsNotifications", "Width", nullptr));
        label_4->setText(QCoreApplication::translate("SettingsNotifications", "Margins", nullptr));
        label_2->setText(QCoreApplication::translate("SettingsNotifications", "Screen", nullptr));
        m_lblScreenInfo->setText(QString());
        label_5->setText(QCoreApplication::translate("SettingsNotifications", "Opacity", nullptr));
        m_sbDuration->setSuffix(QCoreApplication::translate("SettingsNotifications", " s", nullptr));
        label_6->setText(QCoreApplication::translate("SettingsNotifications", "Duration", nullptr));
        (void)SettingsNotifications;
    } // retranslateUi

};

namespace Ui {
    class SettingsNotifications: public Ui_SettingsNotifications {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_SETTINGSNOTIFICATIONS_H
