9 #ifndef UI_PQLIGHTPROPERTYWIDGET_H 10 #define UI_PQLIGHTPROPERTYWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QComboBox> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QWidget> 44 void setupUi(QWidget *LightPropertyWidget)
46 if (LightPropertyWidget->objectName().isEmpty())
47 LightPropertyWidget->setObjectName(QString::fromUtf8(
"LightPropertyWidget"));
48 LightPropertyWidget->resize(462, 125);
49 gridLayout =
new QGridLayout(LightPropertyWidget);
50 gridLayout->setSpacing(4);
51 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
52 gridLayout->setContentsMargins(0, 0, 0, 0);
53 focalPointLabel =
new QLabel(LightPropertyWidget);
54 focalPointLabel->setObjectName(QString::fromUtf8(
"focalPointLabel"));
56 gridLayout->addWidget(focalPointLabel, 3, 0, 1, 1);
59 worldPositionX->setObjectName(QString::fromUtf8(
"worldPositionX"));
61 gridLayout->addWidget(worldPositionX, 2, 1, 1, 1);
64 worldPositionZ->setObjectName(QString::fromUtf8(
"worldPositionZ"));
66 gridLayout->addWidget(worldPositionZ, 2, 3, 1, 1);
68 lightPositionLabel =
new QLabel(LightPropertyWidget);
69 lightPositionLabel->setObjectName(QString::fromUtf8(
"lightPositionLabel"));
71 gridLayout->addWidget(lightPositionLabel, 2, 0, 1, 1);
74 focalPointY->setObjectName(QString::fromUtf8(
"focalPointY"));
76 gridLayout->addWidget(focalPointY, 3, 2, 1, 1);
79 coneAngle->setObjectName(QString::fromUtf8(
"coneAngle"));
81 gridLayout->addWidget(coneAngle, 4, 1, 1, 3);
83 show3DWidget =
new QCheckBox(LightPropertyWidget);
84 show3DWidget->setObjectName(QString::fromUtf8(
"show3DWidget"));
85 show3DWidget->setChecked(
false);
87 gridLayout->addWidget(show3DWidget, 0, 0, 1, 2);
89 coneAngleLabel =
new QLabel(LightPropertyWidget);
90 coneAngleLabel->setObjectName(QString::fromUtf8(
"coneAngleLabel"));
92 gridLayout->addWidget(coneAngleLabel, 4, 0, 1, 1);
95 worldPositionY->setObjectName(QString::fromUtf8(
"worldPositionY"));
97 gridLayout->addWidget(worldPositionY, 2, 2, 1, 1);
100 focalPointX->setObjectName(QString::fromUtf8(
"focalPointX"));
102 gridLayout->addWidget(focalPointX, 3, 1, 1, 1);
105 focalPointZ->setObjectName(QString::fromUtf8(
"focalPointZ"));
107 gridLayout->addWidget(focalPointZ, 3, 3, 1, 1);
110 colorButton->setObjectName(QString::fromUtf8(
"colorButton"));
112 gridLayout->addWidget(colorButton, 5, 0, 1, 4);
114 positionalLabel =
new QLabel(LightPropertyWidget);
115 positionalLabel->setObjectName(QString::fromUtf8(
"positionalLabel"));
117 gridLayout->addWidget(positionalLabel, 1, 0, 1, 1);
119 positionalComboBox =
new QComboBox(LightPropertyWidget);
120 positionalComboBox->setObjectName(QString::fromUtf8(
"positionalComboBox"));
122 gridLayout->addWidget(positionalComboBox, 1, 1, 1, 3);
124 QWidget::setTabOrder(show3DWidget, positionalComboBox);
125 QWidget::setTabOrder(positionalComboBox, worldPositionX);
126 QWidget::setTabOrder(worldPositionX, worldPositionY);
127 QWidget::setTabOrder(worldPositionY, worldPositionZ);
128 QWidget::setTabOrder(worldPositionZ, focalPointX);
129 QWidget::setTabOrder(focalPointX, focalPointY);
130 QWidget::setTabOrder(focalPointY, focalPointZ);
134 QMetaObject::connectSlotsByName(LightPropertyWidget);
139 focalPointLabel->setText(QCoreApplication::translate(
"LightPropertyWidget",
"Focal Point",
nullptr));
140 lightPositionLabel->setText(QCoreApplication::translate(
"LightPropertyWidget",
"Light Position",
nullptr));
141 show3DWidget->setText(QCoreApplication::translate(
"LightPropertyWidget",
"Show Light",
nullptr));
142 coneAngleLabel->setText(QCoreApplication::translate(
"LightPropertyWidget",
"Cone Angle",
nullptr));
143 positionalLabel->setText(QCoreApplication::translate(
"LightPropertyWidget",
"Type",
nullptr));
144 (void)LightPropertyWidget;
155 #endif // UI_PQLIGHTPROPERTYWIDGET_H
pqLineEdit subclass that supports a low precision view when inactive