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"));
54 horizontalLayout->addWidget(groupLabel);
56 addItemButton =
new QToolButton(PropertyCollectionWidget);
57 addItemButton->setObjectName(QString::fromUtf8(
"addItemButton"));
59 icon.addFile(QString::fromUtf8(
":/QtWidgets/Icons/pqPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
60 addItemButton->setIcon(icon);
62 horizontalLayout->addWidget(addItemButton);
64 removeAllButton =
new QToolButton(PropertyCollectionWidget);
65 removeAllButton->setObjectName(QString::fromUtf8(
"removeAllButton"));
67 icon1.addFile(QString::fromUtf8(
":/QtWidgets/Icons/pqDelete.svg"), QSize(), QIcon::Normal, QIcon::Off);
68 removeAllButton->setIcon(icon1);
70 horizontalLayout->addWidget(removeAllButton);
73 verticalLayout->addLayout(horizontalLayout);
75 line =
new QFrame(PropertyCollectionWidget);
76 line->setObjectName(QString::fromUtf8(
"line"));
77 line->setFrameShape(QFrame::HLine);
78 line->setFrameShadow(QFrame::Sunken);
80 verticalLayout->addWidget(line);
83 verticalLayout_2->addLayout(verticalLayout);
85 container =
new QWidget(PropertyCollectionWidget);
86 container->setObjectName(QString::fromUtf8(
"container"));
87 verticalLayout_3 =
new QVBoxLayout(container);
88 verticalLayout_3->setSpacing(2);
89 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
90 verticalLayout_3->setContentsMargins(0, 0, 0, 0);
92 verticalLayout_2->addWidget(container);
94 verticalLayout_2->setStretch(1, 1);
98 QMetaObject::connectSlotsByName(PropertyCollectionWidget);
103 PropertyCollectionWidget->setWindowTitle(QCoreApplication::translate(
"PropertyCollectionWidget",
"Form",
nullptr));
104 #if QT_CONFIG(tooltip) 105 groupLabel->setToolTip(QString());
106 #endif // QT_CONFIG(tooltip) 107 groupLabel->setText(QCoreApplication::translate(
"PropertyCollectionWidget",
"<html><head/><body><p><span style=\" font-weight:600;\">Group Label</span></p></body></html>",
nullptr));
108 #if QT_CONFIG(tooltip) 109 addItemButton->setToolTip(QCoreApplication::translate(
"PropertyCollectionWidget",
"Append new",
nullptr));
110 #endif // QT_CONFIG(tooltip) 111 addItemButton->setText(QCoreApplication::translate(
"PropertyCollectionWidget",
"...",
nullptr));
112 #if QT_CONFIG(tooltip) 113 removeAllButton->setToolTip(QCoreApplication::translate(
"PropertyCollectionWidget",
"Remove all",
nullptr));
114 #endif // QT_CONFIG(tooltip) 115 removeAllButton->setText(QCoreApplication::translate(
"PropertyCollectionWidget",
"...",
nullptr));
126 #endif // UI_PQPROPERTYCOLLECTIONWIDGET_H