9 #ifndef UI_PQPROPERTYCOLLECTIONWIDGET_H 10 #define UI_PQPROPERTYCOLLECTIONWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QFrame> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QToolButton> 19 #include <QtWidgets/QVBoxLayout> 20 #include <QtWidgets/QWidget> 37 void setupUi(QWidget *PropertyCollectionWidget)
39 if (PropertyCollectionWidget->objectName().isEmpty())
40 PropertyCollectionWidget->setObjectName(QString::fromUtf8(
"PropertyCollectionWidget"));
41 PropertyCollectionWidget->resize(332, 310);
42 verticalLayout_2 =
new QVBoxLayout(PropertyCollectionWidget);
43 verticalLayout_2->setSpacing(2);
44 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
45 verticalLayout_2->setContentsMargins(2, 2, 2, 2);
46 verticalLayout =
new QVBoxLayout();
47 verticalLayout->setSpacing(0);
48 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
49 horizontalLayout =
new QHBoxLayout();
50 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
51 groupLabel =
new QLabel(PropertyCollectionWidget);
52 groupLabel->setObjectName(QString::fromUtf8(
"groupLabel"));
55 groupLabel->setFont(font);
57 horizontalLayout->addWidget(groupLabel);
59 addItemButton =
new QToolButton(PropertyCollectionWidget);
60 addItemButton->setObjectName(QString::fromUtf8(
"addItemButton"));
62 icon.addFile(QString::fromUtf8(
":/QtWidgets/Icons/pqPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
63 addItemButton->setIcon(icon);
65 horizontalLayout->addWidget(addItemButton);
67 removeAllButton =
new QToolButton(PropertyCollectionWidget);
68 removeAllButton->setObjectName(QString::fromUtf8(
"removeAllButton"));
70 icon1.addFile(QString::fromUtf8(
":/QtWidgets/Icons/pqDelete.svg"), QSize(), QIcon::Normal, QIcon::Off);
71 removeAllButton->setIcon(icon1);
73 horizontalLayout->addWidget(removeAllButton);
76 verticalLayout->addLayout(horizontalLayout);
78 line =
new QFrame(PropertyCollectionWidget);
79 line->setObjectName(QString::fromUtf8(
"line"));
80 line->setFrameShape(QFrame::HLine);
81 line->setFrameShadow(QFrame::Sunken);
83 verticalLayout->addWidget(line);
86 verticalLayout_2->addLayout(verticalLayout);
88 container =
new QWidget(PropertyCollectionWidget);
89 container->setObjectName(QString::fromUtf8(
"container"));
90 verticalLayout_3 =
new QVBoxLayout(container);
91 verticalLayout_3->setSpacing(2);
92 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
93 verticalLayout_3->setContentsMargins(0, 0, 0, 0);
95 verticalLayout_2->addWidget(container);
97 verticalLayout_2->setStretch(1, 1);
101 QMetaObject::connectSlotsByName(PropertyCollectionWidget);
106 PropertyCollectionWidget->setWindowTitle(QCoreApplication::translate(
"PropertyCollectionWidget",
"Form",
nullptr));
107 #if QT_CONFIG(tooltip) 108 groupLabel->setToolTip(QString());
109 #endif // QT_CONFIG(tooltip) 110 groupLabel->setText(QCoreApplication::translate(
"PropertyCollectionWidget",
"Group Label",
nullptr));
111 #if QT_CONFIG(tooltip) 112 addItemButton->setToolTip(QCoreApplication::translate(
"PropertyCollectionWidget",
"Append new",
nullptr));
113 #endif // QT_CONFIG(tooltip) 114 addItemButton->setText(QCoreApplication::translate(
"PropertyCollectionWidget",
"...",
nullptr));
115 #if QT_CONFIG(tooltip) 116 removeAllButton->setToolTip(QCoreApplication::translate(
"PropertyCollectionWidget",
"Remove all",
nullptr));
117 #endif // QT_CONFIG(tooltip) 118 removeAllButton->setText(QCoreApplication::translate(
"PropertyCollectionWidget",
"...",
nullptr));
129 #endif // UI_PQPROPERTYCOLLECTIONWIDGET_H