/********************************************************************************
** Form generated from reading UI file 'phongmaterialwidget.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_PHONGMATERIALWIDGET_H
#define UI_PHONGMATERIALWIDGET_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QWidget>
#include "qgscolorbutton.h"
#include "qgsdoublespinbox.h"
#include "qgsmaterialpreviewwidget.h"
#include "qgsopacitywidget.h"
#include "qgspercentagewidget.h"
#include "qgspropertyoverridebutton.h"

QT_BEGIN_NAMESPACE

class Ui_PhongMaterialWidget
{
public:
    QGridLayout *gridLayout;
    QgsPercentageWidget *mSpecularCoefficientWidget;
    QgsColorButton *btnSpecular;
    QLabel *lblDiffuse;
    QLabel *lblShininess;
    QgsPropertyOverrideButton *mDiffuseDataDefinedButton;
    QgsPropertyOverrideButton *mAmbientDataDefinedButton;
    QLabel *lblSpecular;
    QgsDoubleSpinBox *spinShininess;
    QgsColorButton *btnAmbient;
    QLabel *mLblOpacity;
    QgsPercentageWidget *mDiffuseCoefficientWidget;
    QgsOpacityWidget *mOpacityWidget;
    QgsPercentageWidget *mAmbientCoefficientWidget;
    QgsPropertyOverrideButton *mSpecularDataDefinedButton;
    QLabel *lblAmbient;
    QgsColorButton *btnDiffuse;
    QSpacerItem *verticalSpacer;
    QgsMaterialPreviewWidget *mPreviewWidget;

    void setupUi(QWidget *PhongMaterialWidget)
    {
        if (PhongMaterialWidget->objectName().isEmpty())
            PhongMaterialWidget->setObjectName("PhongMaterialWidget");
        PhongMaterialWidget->resize(472, 250);
        PhongMaterialWidget->setWindowTitle(QString::fromUtf8("Form"));
        gridLayout = new QGridLayout(PhongMaterialWidget);
        gridLayout->setObjectName("gridLayout");
        mSpecularCoefficientWidget = new QgsPercentageWidget(PhongMaterialWidget);
        mSpecularCoefficientWidget->setObjectName("mSpecularCoefficientWidget");
        mSpecularCoefficientWidget->setFocusPolicy(Qt::FocusPolicy::StrongFocus);

        gridLayout->addWidget(mSpecularCoefficientWidget, 5, 2, 1, 1);

        btnSpecular = new QgsColorButton(PhongMaterialWidget);
        btnSpecular->setObjectName("btnSpecular");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(btnSpecular->sizePolicy().hasHeightForWidth());
        btnSpecular->setSizePolicy(sizePolicy);
        btnSpecular->setMinimumSize(QSize(120, 0));

        gridLayout->addWidget(btnSpecular, 4, 2, 1, 1);

        lblDiffuse = new QLabel(PhongMaterialWidget);
        lblDiffuse->setObjectName("lblDiffuse");

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

        lblShininess = new QLabel(PhongMaterialWidget);
        lblShininess->setObjectName("lblShininess");

        gridLayout->addWidget(lblShininess, 6, 1, 1, 1);

        mDiffuseDataDefinedButton = new QgsPropertyOverrideButton(PhongMaterialWidget);
        mDiffuseDataDefinedButton->setObjectName("mDiffuseDataDefinedButton");

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

        mAmbientDataDefinedButton = new QgsPropertyOverrideButton(PhongMaterialWidget);
        mAmbientDataDefinedButton->setObjectName("mAmbientDataDefinedButton");

        gridLayout->addWidget(mAmbientDataDefinedButton, 2, 3, 1, 1);

        lblSpecular = new QLabel(PhongMaterialWidget);
        lblSpecular->setObjectName("lblSpecular");

        gridLayout->addWidget(lblSpecular, 4, 1, 1, 1);

        spinShininess = new QgsDoubleSpinBox(PhongMaterialWidget);
        spinShininess->setObjectName("spinShininess");
        spinShininess->setMaximum(1000.000000000000000);

        gridLayout->addWidget(spinShininess, 6, 2, 1, 2);

        btnAmbient = new QgsColorButton(PhongMaterialWidget);
        btnAmbient->setObjectName("btnAmbient");
        sizePolicy.setHeightForWidth(btnAmbient->sizePolicy().hasHeightForWidth());
        btnAmbient->setSizePolicy(sizePolicy);
        btnAmbient->setMinimumSize(QSize(120, 0));

        gridLayout->addWidget(btnAmbient, 2, 2, 1, 1);

        mLblOpacity = new QLabel(PhongMaterialWidget);
        mLblOpacity->setObjectName("mLblOpacity");

        gridLayout->addWidget(mLblOpacity, 7, 1, 1, 1);

        mDiffuseCoefficientWidget = new QgsPercentageWidget(PhongMaterialWidget);
        mDiffuseCoefficientWidget->setObjectName("mDiffuseCoefficientWidget");
        mDiffuseCoefficientWidget->setFocusPolicy(Qt::FocusPolicy::StrongFocus);

        gridLayout->addWidget(mDiffuseCoefficientWidget, 1, 2, 1, 1);

        mOpacityWidget = new QgsOpacityWidget(PhongMaterialWidget);
        mOpacityWidget->setObjectName("mOpacityWidget");
        mOpacityWidget->setFocusPolicy(Qt::FocusPolicy::StrongFocus);

        gridLayout->addWidget(mOpacityWidget, 7, 2, 1, 2);

        mAmbientCoefficientWidget = new QgsPercentageWidget(PhongMaterialWidget);
        mAmbientCoefficientWidget->setObjectName("mAmbientCoefficientWidget");
        mAmbientCoefficientWidget->setFocusPolicy(Qt::FocusPolicy::StrongFocus);

        gridLayout->addWidget(mAmbientCoefficientWidget, 3, 2, 1, 1);

        mSpecularDataDefinedButton = new QgsPropertyOverrideButton(PhongMaterialWidget);
        mSpecularDataDefinedButton->setObjectName("mSpecularDataDefinedButton");

        gridLayout->addWidget(mSpecularDataDefinedButton, 4, 3, 1, 1);

        lblAmbient = new QLabel(PhongMaterialWidget);
        lblAmbient->setObjectName("lblAmbient");

        gridLayout->addWidget(lblAmbient, 2, 1, 1, 1);

        btnDiffuse = new QgsColorButton(PhongMaterialWidget);
        btnDiffuse->setObjectName("btnDiffuse");
        sizePolicy.setHeightForWidth(btnDiffuse->sizePolicy().hasHeightForWidth());
        btnDiffuse->setSizePolicy(sizePolicy);
        btnDiffuse->setMinimumSize(QSize(120, 0));

        gridLayout->addWidget(btnDiffuse, 0, 2, 1, 1);

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

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

        mPreviewWidget = new QgsMaterialPreviewWidget(PhongMaterialWidget);
        mPreviewWidget->setObjectName("mPreviewWidget");
        mPreviewWidget->setMinimumSize(QSize(200, 200));

        gridLayout->addWidget(mPreviewWidget, 0, 0, 9, 1);

        QWidget::setTabOrder(btnDiffuse, mDiffuseDataDefinedButton);
        QWidget::setTabOrder(mDiffuseDataDefinedButton, mDiffuseCoefficientWidget);
        QWidget::setTabOrder(mDiffuseCoefficientWidget, btnAmbient);
        QWidget::setTabOrder(btnAmbient, mAmbientDataDefinedButton);
        QWidget::setTabOrder(mAmbientDataDefinedButton, mAmbientCoefficientWidget);
        QWidget::setTabOrder(mAmbientCoefficientWidget, btnSpecular);
        QWidget::setTabOrder(btnSpecular, mSpecularDataDefinedButton);
        QWidget::setTabOrder(mSpecularDataDefinedButton, mSpecularCoefficientWidget);
        QWidget::setTabOrder(mSpecularCoefficientWidget, spinShininess);
        QWidget::setTabOrder(spinShininess, mOpacityWidget);

        retranslateUi(PhongMaterialWidget);

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

    void retranslateUi(QWidget *PhongMaterialWidget)
    {
#if QT_CONFIG(tooltip)
        lblDiffuse->setToolTip(QCoreApplication::translate("PhongMaterialWidget", "Color of light reflected from rough surfaces.", nullptr));
#endif // QT_CONFIG(tooltip)
        lblDiffuse->setText(QCoreApplication::translate("PhongMaterialWidget", "Diffuse", nullptr));
#if QT_CONFIG(tooltip)
        lblShininess->setToolTip(QCoreApplication::translate("PhongMaterialWidget", "How shiny smooth surfaces are.", nullptr));
#endif // QT_CONFIG(tooltip)
        lblShininess->setText(QCoreApplication::translate("PhongMaterialWidget", "Shininess", nullptr));
        mDiffuseDataDefinedButton->setText(QCoreApplication::translate("PhongMaterialWidget", "...", nullptr));
        mAmbientDataDefinedButton->setText(QCoreApplication::translate("PhongMaterialWidget", "...", nullptr));
#if QT_CONFIG(tooltip)
        lblSpecular->setToolTip(QCoreApplication::translate("PhongMaterialWidget", "Color of light reflecting from smooth surfaces.", nullptr));
#endif // QT_CONFIG(tooltip)
        lblSpecular->setText(QCoreApplication::translate("PhongMaterialWidget", "Specular", nullptr));
        mLblOpacity->setText(QCoreApplication::translate("PhongMaterialWidget", "Opacity", nullptr));
        mSpecularDataDefinedButton->setText(QCoreApplication::translate("PhongMaterialWidget", "...", nullptr));
#if QT_CONFIG(tooltip)
        lblAmbient->setToolTip(QCoreApplication::translate("PhongMaterialWidget", "Color of light that is scattered around the entire scene.", nullptr));
#endif // QT_CONFIG(tooltip)
        lblAmbient->setText(QCoreApplication::translate("PhongMaterialWidget", "Ambient", nullptr));
        (void)PhongMaterialWidget;
    } // retranslateUi

};

namespace Ui {
    class PhongMaterialWidget: public Ui_PhongMaterialWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_PHONGMATERIALWIDGET_H
