9 #ifndef UI_PQLIGHTSINSPECTOR_H 10 #define UI_PQLIGHTSINSPECTOR_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QPushButton> 15 #include <QtWidgets/QScrollArea> 16 #include <QtWidgets/QVBoxLayout> 17 #include <QtWidgets/QWidget> 32 if (LightsInspector->objectName().isEmpty())
33 LightsInspector->setObjectName(QString::fromUtf8(
"LightsInspector"));
34 LightsInspector->resize(480, 640);
35 verticalLayout =
new QVBoxLayout(LightsInspector);
36 verticalLayout->setSpacing(2);
37 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
38 addLight =
new QPushButton(LightsInspector);
39 addLight->setObjectName(QString::fromUtf8(
"addLight"));
41 verticalLayout->addWidget(addLight);
43 scrollArea =
new QScrollArea(LightsInspector);
44 scrollArea->setObjectName(QString::fromUtf8(
"scrollArea"));
45 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::MinimumExpanding);
46 sizePolicy.setHorizontalStretch(0);
47 sizePolicy.setVerticalStretch(0);
48 sizePolicy.setHeightForWidth(scrollArea->sizePolicy().hasHeightForWidth());
49 scrollArea->setSizePolicy(sizePolicy);
50 scrollArea->setFrameShape(QFrame::NoFrame);
51 scrollArea->setFrameShadow(QFrame::Plain);
52 scrollArea->setLineWidth(0);
53 scrollArea->setWidgetResizable(
true);
54 scrollAreaWidgetContents =
new QWidget();
55 scrollAreaWidgetContents->setObjectName(QString::fromUtf8(
"scrollAreaWidgetContents"));
56 scrollAreaWidgetContents->setGeometry(QRect(0, 0, 460, 562));
57 verticalLayout_2 =
new QVBoxLayout(scrollAreaWidgetContents);
58 verticalLayout_2->setSpacing(0);
59 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
60 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
61 verticalLayout_2->setStretch(6, 1);
62 scrollArea->setWidget(scrollAreaWidgetContents);
64 verticalLayout->addWidget(scrollArea);
69 QMetaObject::connectSlotsByName(LightsInspector);
74 LightsInspector->setWindowTitle(QCoreApplication::translate(
"LightsInspector",
"Light Inspector",
nullptr));
75 addLight->setText(QCoreApplication::translate(
"LightsInspector",
"Add Light",
nullptr));
86 #endif // UI_PQLIGHTSINSPECTOR_H QVBoxLayout * verticalLayout
QWidget * scrollAreaWidgetContents
void setupUi(QWidget *LightsInspector)
void retranslateUi(QWidget *LightsInspector)
QVBoxLayout * verticalLayout_2