9 #ifndef UI_PQMEMORYINSPECTORPANELFORM_H 10 #define UI_PQMEMORYINSPECTORPANELFORM_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QHBoxLayout> 16 #include <QtWidgets/QHeaderView> 17 #include <QtWidgets/QPushButton> 18 #include <QtWidgets/QSpacerItem> 19 #include <QtWidgets/QSplitter> 20 #include <QtWidgets/QTreeWidget> 21 #include <QtWidgets/QVBoxLayout> 22 #include <QtWidgets/QWidget> 40 void setupUi(QWidget *pqMemoryInspectorPanelForm)
42 if (pqMemoryInspectorPanelForm->objectName().isEmpty())
43 pqMemoryInspectorPanelForm->setObjectName(QString::fromUtf8(
"pqMemoryInspectorPanelForm"));
44 pqMemoryInspectorPanelForm->resize(318, 293);
45 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
46 sizePolicy.setHorizontalStretch(0);
47 sizePolicy.setVerticalStretch(0);
48 sizePolicy.setHeightForWidth(pqMemoryInspectorPanelForm->sizePolicy().hasHeightForWidth());
49 pqMemoryInspectorPanelForm->setSizePolicy(sizePolicy);
50 verticalLayout_2 =
new QVBoxLayout(pqMemoryInspectorPanelForm);
51 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
52 splitter =
new QSplitter(pqMemoryInspectorPanelForm);
53 splitter->setObjectName(QString::fromUtf8(
"splitter"));
54 splitter->setOrientation(Qt::Vertical);
55 configView =
new QTreeWidget(splitter);
56 configView->headerItem()->setText(0, QString());
57 configView->setObjectName(QString::fromUtf8(
"configView"));
58 QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
59 sizePolicy1.setHorizontalStretch(0);
60 sizePolicy1.setVerticalStretch(0);
61 sizePolicy1.setHeightForWidth(configView->sizePolicy().hasHeightForWidth());
62 configView->setSizePolicy(sizePolicy1);
63 configView->setMinimumSize(QSize(300, 150));
64 configView->setHeaderHidden(
true);
65 splitter->addWidget(configView);
66 widget =
new QWidget(splitter);
67 widget->setObjectName(QString::fromUtf8(
"widget"));
68 verticalLayout =
new QVBoxLayout(widget);
69 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
70 verticalLayout->setContentsMargins(0, 0, 0, 0);
71 horizontalLayout =
new QHBoxLayout();
72 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
73 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
75 horizontalLayout->addItem(horizontalSpacer_2);
77 autoUpdate =
new QCheckBox(widget);
78 autoUpdate->setObjectName(QString::fromUtf8(
"autoUpdate"));
79 autoUpdate->setChecked(
true);
81 horizontalLayout->addWidget(autoUpdate);
83 updateMemUse =
new QPushButton(widget);
84 updateMemUse->setObjectName(QString::fromUtf8(
"updateMemUse"));
86 horizontalLayout->addWidget(updateMemUse);
89 verticalLayout->addLayout(horizontalLayout);
91 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
93 verticalLayout->addItem(verticalSpacer);
95 splitter->addWidget(widget);
97 verticalLayout_2->addWidget(splitter);
102 QMetaObject::connectSlotsByName(pqMemoryInspectorPanelForm);
107 pqMemoryInspectorPanelForm->setWindowTitle(QCoreApplication::translate(
"pqMemoryInspectorPanelForm",
"Form",
nullptr));
108 #if QT_CONFIG(tooltip) 109 pqMemoryInspectorPanelForm->setToolTip(QString());
110 #endif // QT_CONFIG(tooltip) 111 #if QT_CONFIG(tooltip) 112 configView->setToolTip(QString());
113 #endif // QT_CONFIG(tooltip) 114 autoUpdate->setText(QCoreApplication::translate(
"pqMemoryInspectorPanelForm",
"Auto-update",
nullptr));
115 #if QT_CONFIG(tooltip) 116 updateMemUse->setToolTip(QString());
117 #endif // QT_CONFIG(tooltip) 118 updateMemUse->setText(QString());
129 #endif // UI_PQMEMORYINSPECTORPANELFORM_H