9 #ifndef UI_PQPROXYINFORMATIONWIDGET_H 10 #define UI_PQPROXYINFORMATIONWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QFrame> 15 #include <QtWidgets/QGridLayout> 16 #include <QtWidgets/QHeaderView> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QPlainTextEdit> 19 #include <QtWidgets/QTabWidget> 20 #include <QtWidgets/QVBoxLayout> 21 #include <QtWidgets/QWidget> 85 void setupUi(QWidget *ProxyInformationWidget)
87 if (ProxyInformationWidget->objectName().isEmpty())
88 ProxyInformationWidget->setObjectName(QString::fromUtf8(
"ProxyInformationWidget"));
89 ProxyInformationWidget->resize(282, 1127);
90 gridLayout =
new QGridLayout(ProxyInformationWidget);
91 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
92 gridLayout->setContentsMargins(0, 0, 0, 0);
93 labelDataType =
new QLabel(ProxyInformationWidget);
94 labelDataType->setObjectName(QString::fromUtf8(
"labelDataType"));
96 gridLayout->addWidget(labelDataType, 8, 0, 1, 1);
98 rowCount =
new QLabel(ProxyInformationWidget);
99 rowCount->setObjectName(QString::fromUtf8(
"rowCount"));
100 rowCount->setWordWrap(
true);
101 rowCount->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
103 gridLayout->addWidget(rowCount, 13, 1, 1, 1);
105 edgeCount =
new QLabel(ProxyInformationWidget);
106 edgeCount->setObjectName(QString::fromUtf8(
"edgeCount"));
107 edgeCount->setWordWrap(
true);
108 edgeCount->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
110 gridLayout->addWidget(edgeCount, 11, 1, 1, 1);
112 extents =
new QLabel(ProxyInformationWidget);
113 extents->setObjectName(QString::fromUtf8(
"extents"));
114 extents->setWordWrap(
true);
115 extents->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
117 gridLayout->addWidget(extents, 18, 1, 1, 1);
119 dataGroupingTab =
new QTabWidget(ProxyInformationWidget);
120 dataGroupingTab->setObjectName(QString::fromUtf8(
"dataGroupingTab"));
121 hierarchyTab =
new QWidget();
122 hierarchyTab->setObjectName(QString::fromUtf8(
"hierarchyTab"));
123 verticalLayout_5 =
new QVBoxLayout(hierarchyTab);
124 verticalLayout_5->setSpacing(2);
125 verticalLayout_5->setObjectName(QString::fromUtf8(
"verticalLayout_5"));
126 verticalLayout_5->setContentsMargins(0, 0, 0, 0);
128 compositeTree->setObjectName(QString::fromUtf8(
"compositeTree"));
129 compositeTree->setAlternatingRowColors(
true);
130 compositeTree->setUniformRowHeights(
true);
131 compositeTree->setProperty(
"maximumRowCountBeforeScrolling", QVariant(30));
132 compositeTree->header()->setVisible(
false);
134 verticalLayout_5->addWidget(compositeTree);
136 rawCompositeTree =
new QPlainTextEdit(hierarchyTab);
137 rawCompositeTree->setObjectName(QString::fromUtf8(
"rawCompositeTree"));
138 rawCompositeTree->setLineWrapMode(QPlainTextEdit::NoWrap);
139 rawCompositeTree->setReadOnly(
true);
141 verticalLayout_5->addWidget(rawCompositeTree);
143 dataGroupingTab->addTab(hierarchyTab, QString());
144 assemblyTab =
new QWidget();
145 assemblyTab->setObjectName(QString::fromUtf8(
"assemblyTab"));
146 verticalLayout_6 =
new QVBoxLayout(assemblyTab);
147 verticalLayout_6->setSpacing(2);
148 verticalLayout_6->setObjectName(QString::fromUtf8(
"verticalLayout_6"));
149 verticalLayout_6->setContentsMargins(0, 0, 0, 0);
151 assemblyTree->setObjectName(QString::fromUtf8(
"assemblyTree"));
152 assemblyTree->setAlternatingRowColors(
true);
153 assemblyTree->setUniformRowHeights(
true);
154 assemblyTree->setProperty(
"maximumRowCountBeforeScrolling", QVariant(30));
155 assemblyTree->header()->setVisible(
false);
157 verticalLayout_6->addWidget(assemblyTree);
159 rawAssemblyTree =
new QPlainTextEdit(assemblyTab);
160 rawAssemblyTree->setObjectName(QString::fromUtf8(
"rawAssemblyTree"));
161 rawAssemblyTree->setLineWrapMode(QPlainTextEdit::NoWrap);
162 rawAssemblyTree->setReadOnly(
true);
164 verticalLayout_6->addWidget(rawAssemblyTree);
166 dataGroupingTab->addTab(assemblyTab, QString());
168 gridLayout->addWidget(dataGroupingTab, 6, 0, 1, 2);
170 labelDataGrouping =
new QLabel(ProxyInformationWidget);
171 labelDataGrouping->setObjectName(QString::fromUtf8(
"labelDataGrouping"));
172 labelDataGrouping->setEnabled(
false);
174 gridLayout->addWidget(labelDataGrouping, 5, 0, 1, 2);
176 filename =
new QLabel(ProxyInformationWidget);
177 filename->setObjectName(QString::fromUtf8(
"filename"));
178 filename->setWordWrap(
true);
179 filename->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
181 gridLayout->addWidget(filename, 1, 1, 1, 1);
183 timeValues =
new pqTreeView(ProxyInformationWidget);
184 timeValues->setObjectName(QString::fromUtf8(
"timeValues"));
185 timeValues->setAlternatingRowColors(
true);
186 timeValues->setRootIsDecorated(
false);
187 timeValues->setUniformRowHeights(
true);
189 gridLayout->addWidget(timeValues, 22, 0, 1, 2);
191 labelRowCount =
new QLabel(ProxyInformationWidget);
192 labelRowCount->setObjectName(QString::fromUtf8(
"labelRowCount"));
194 gridLayout->addWidget(labelRowCount, 13, 0, 1, 1);
196 verticalLayout_3 =
new QVBoxLayout();
197 verticalLayout_3->setSpacing(0);
198 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
199 labelDataStatistics =
new QLabel(ProxyInformationWidget);
200 labelDataStatistics->setObjectName(QString::fromUtf8(
"labelDataStatistics"));
204 labelDataStatistics->setFont(font);
206 verticalLayout_3->addWidget(labelDataStatistics);
208 line_3 =
new QFrame(ProxyInformationWidget);
209 line_3->setObjectName(QString::fromUtf8(
"line_3"));
210 line_3->setFrameShape(QFrame::HLine);
211 line_3->setFrameShadow(QFrame::Sunken);
213 verticalLayout_3->addWidget(line_3);
216 gridLayout->addLayout(verticalLayout_3, 7, 0, 1, 2);
218 labelVertexCount =
new QLabel(ProxyInformationWidget);
219 labelVertexCount->setObjectName(QString::fromUtf8(
"labelVertexCount"));
221 gridLayout->addWidget(labelVertexCount, 12, 0, 1, 1);
223 labelExtents =
new QLabel(ProxyInformationWidget);
224 labelExtents->setObjectName(QString::fromUtf8(
"labelExtents"));
225 labelExtents->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
227 gridLayout->addWidget(labelExtents, 18, 0, 1, 1);
229 pointCount =
new QLabel(ProxyInformationWidget);
230 pointCount->setObjectName(QString::fromUtf8(
"pointCount"));
231 pointCount->setWordWrap(
true);
232 pointCount->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
234 gridLayout->addWidget(pointCount, 10, 1, 1, 1);
236 verticalLayout_4 =
new QVBoxLayout();
237 verticalLayout_4->setSpacing(0);
238 verticalLayout_4->setObjectName(QString::fromUtf8(
"verticalLayout_4"));
239 labelDataArrays =
new QLabel(ProxyInformationWidget);
240 labelDataArrays->setObjectName(QString::fromUtf8(
"labelDataArrays"));
241 labelDataArrays->setFont(font);
243 verticalLayout_4->addWidget(labelDataArrays);
245 line_4 =
new QFrame(ProxyInformationWidget);
246 line_4->setObjectName(QString::fromUtf8(
"line_4"));
247 line_4->setFrameShape(QFrame::HLine);
248 line_4->setFrameShadow(QFrame::Sunken);
250 verticalLayout_4->addWidget(line_4);
253 gridLayout->addLayout(verticalLayout_4, 19, 0, 1, 2);
255 verticalLayout_7 =
new QVBoxLayout();
256 verticalLayout_7->setSpacing(0);
257 verticalLayout_7->setObjectName(QString::fromUtf8(
"verticalLayout_7"));
258 labelTimes =
new QLabel(ProxyInformationWidget);
259 labelTimes->setObjectName(QString::fromUtf8(
"labelTimes"));
260 labelTimes->setFont(font);
262 verticalLayout_7->addWidget(labelTimes);
264 line_5 =
new QFrame(ProxyInformationWidget);
265 line_5->setObjectName(QString::fromUtf8(
"line_5"));
266 line_5->setFrameShape(QFrame::HLine);
267 line_5->setFrameShadow(QFrame::Sunken);
269 verticalLayout_7->addWidget(line_5);
272 gridLayout->addLayout(verticalLayout_7, 21, 0, 1, 2);
274 bounds =
new QLabel(ProxyInformationWidget);
275 bounds->setObjectName(QString::fromUtf8(
"bounds"));
276 bounds->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
277 bounds->setWordWrap(
true);
278 bounds->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
280 gridLayout->addWidget(bounds, 17, 1, 1, 1);
282 labelCellCount =
new QLabel(ProxyInformationWidget);
283 labelCellCount->setObjectName(QString::fromUtf8(
"labelCellCount"));
285 gridLayout->addWidget(labelCellCount, 9, 0, 1, 1);
287 memory =
new QLabel(ProxyInformationWidget);
288 memory->setObjectName(QString::fromUtf8(
"memory"));
289 memory->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
291 gridLayout->addWidget(memory, 16, 1, 1, 1);
293 labelPointCount =
new QLabel(ProxyInformationWidget);
294 labelPointCount->setObjectName(QString::fromUtf8(
"labelPointCount"));
296 gridLayout->addWidget(labelPointCount, 10, 0, 1, 1);
298 cellCount =
new QLabel(ProxyInformationWidget);
299 cellCount->setObjectName(QString::fromUtf8(
"cellCount"));
300 cellCount->setWordWrap(
true);
301 cellCount->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
303 gridLayout->addWidget(cellCount, 9, 1, 1, 1);
305 labelEdgeCount =
new QLabel(ProxyInformationWidget);
306 labelEdgeCount->setObjectName(QString::fromUtf8(
"labelEdgeCount"));
308 gridLayout->addWidget(labelEdgeCount, 11, 0, 1, 1);
310 dataArraysTable =
new pqTreeView(ProxyInformationWidget);
311 dataArraysTable->setObjectName(QString::fromUtf8(
"dataArraysTable"));
312 QSizePolicy sizePolicy(QSizePolicy::Ignored, QSizePolicy::MinimumExpanding);
313 sizePolicy.setHorizontalStretch(0);
314 sizePolicy.setVerticalStretch(0);
315 sizePolicy.setHeightForWidth(dataArraysTable->sizePolicy().hasHeightForWidth());
316 dataArraysTable->setSizePolicy(sizePolicy);
317 dataArraysTable->setAlternatingRowColors(
true);
318 dataArraysTable->setRootIsDecorated(
false);
319 dataArraysTable->setUniformRowHeights(
true);
321 gridLayout->addWidget(dataArraysTable, 20, 0, 1, 2);
323 verticalLayout =
new QVBoxLayout();
324 verticalLayout->setSpacing(0);
325 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
326 label =
new QLabel(ProxyInformationWidget);
327 label->setObjectName(QString::fromUtf8(
"label"));
328 label->setFont(font);
330 verticalLayout->addWidget(label);
332 line =
new QFrame(ProxyInformationWidget);
333 line->setObjectName(QString::fromUtf8(
"line"));
334 line->setFrameShape(QFrame::HLine);
335 line->setFrameShadow(QFrame::Sunken);
337 verticalLayout->addWidget(line);
340 gridLayout->addLayout(verticalLayout, 4, 0, 1, 2);
342 labelMemory =
new QLabel(ProxyInformationWidget);
343 labelMemory->setObjectName(QString::fromUtf8(
"labelMemory"));
345 gridLayout->addWidget(labelMemory, 16, 0, 1, 1);
347 labelBounds =
new QLabel(ProxyInformationWidget);
348 labelBounds->setObjectName(QString::fromUtf8(
"labelBounds"));
349 labelBounds->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
351 gridLayout->addWidget(labelBounds, 17, 0, 1, 1);
353 labelFilename =
new QLabel(ProxyInformationWidget);
354 labelFilename->setObjectName(QString::fromUtf8(
"labelFilename"));
355 labelFilename->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
357 gridLayout->addWidget(labelFilename, 1, 0, 1, 1);
359 path =
new QLabel(ProxyInformationWidget);
360 path->setObjectName(QString::fromUtf8(
"path"));
361 path->setWordWrap(
true);
362 path->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
364 gridLayout->addWidget(path, 2, 1, 1, 1);
366 dataType =
new QLabel(ProxyInformationWidget);
367 dataType->setObjectName(QString::fromUtf8(
"dataType"));
368 dataType->setWordWrap(
true);
369 dataType->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
371 gridLayout->addWidget(dataType, 8, 1, 1, 1);
373 vertexCount =
new QLabel(ProxyInformationWidget);
374 vertexCount->setObjectName(QString::fromUtf8(
"vertexCount"));
375 vertexCount->setWordWrap(
true);
376 vertexCount->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
378 gridLayout->addWidget(vertexCount, 12, 1, 1, 1);
380 verticalLayout_2 =
new QVBoxLayout();
381 verticalLayout_2->setSpacing(0);
382 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
383 label_2 =
new QLabel(ProxyInformationWidget);
384 label_2->setObjectName(QString::fromUtf8(
"label_2"));
385 label_2->setFont(font);
387 verticalLayout_2->addWidget(label_2);
389 line_2 =
new QFrame(ProxyInformationWidget);
390 line_2->setObjectName(QString::fromUtf8(
"line_2"));
391 line_2->setFrameShape(QFrame::HLine);
392 line_2->setFrameShadow(QFrame::Sunken);
394 verticalLayout_2->addWidget(line_2);
397 gridLayout->addLayout(verticalLayout_2, 0, 0, 1, 2);
399 labelPath =
new QLabel(ProxyInformationWidget);
400 labelPath->setObjectName(QString::fromUtf8(
"labelPath"));
402 gridLayout->addWidget(labelPath, 2, 0, 1, 1);
404 labelFilePropertiesNA =
new QLabel(ProxyInformationWidget);
405 labelFilePropertiesNA->setObjectName(QString::fromUtf8(
"labelFilePropertiesNA"));
406 labelFilePropertiesNA->setEnabled(
false);
408 gridLayout->addWidget(labelFilePropertiesNA, 3, 0, 1, 2);
410 labelTimeSteps =
new QLabel(ProxyInformationWidget);
411 labelTimeSteps->setObjectName(QString::fromUtf8(
"labelTimeSteps"));
413 gridLayout->addWidget(labelTimeSteps, 14, 0, 1, 1);
415 timeSteps =
new QLabel(ProxyInformationWidget);
416 timeSteps->setObjectName(QString::fromUtf8(
"timeSteps"));
418 gridLayout->addWidget(timeSteps, 14, 1, 1, 1);
420 labelCurrentTime =
new QLabel(ProxyInformationWidget);
421 labelCurrentTime->setObjectName(QString::fromUtf8(
"labelCurrentTime"));
423 gridLayout->addWidget(labelCurrentTime, 15, 0, 1, 1);
425 currentTime =
new QLabel(ProxyInformationWidget);
426 currentTime->setObjectName(QString::fromUtf8(
"currentTime"));
428 gridLayout->addWidget(currentTime, 15, 1, 1, 1);
430 gridLayout->setColumnStretch(1, 1);
434 dataGroupingTab->setCurrentIndex(0);
437 QMetaObject::connectSlotsByName(ProxyInformationWidget);
442 ProxyInformationWidget->setWindowTitle(QCoreApplication::translate(
"ProxyInformationWidget",
"Form",
nullptr));
443 labelDataType->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"Type",
nullptr));
444 rowCount->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"TextLabel",
nullptr));
445 edgeCount->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"TextLabel",
nullptr));
446 extents->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"0 - 100\n" 448 "0 - 100",
nullptr));
449 rawCompositeTree->setPlaceholderText(QCoreApplication::translate(
"ProxyInformationWidget",
"Hierarchy shown here",
nullptr));
450 dataGroupingTab->setTabText(dataGroupingTab->indexOf(hierarchyTab), QCoreApplication::translate(
"ProxyInformationWidget",
"Hierarchy",
nullptr));
451 rawAssemblyTree->setPlaceholderText(QCoreApplication::translate(
"ProxyInformationWidget",
"Assembly shown here",
nullptr));
452 dataGroupingTab->setTabText(dataGroupingTab->indexOf(assemblyTab), QCoreApplication::translate(
"ProxyInformationWidget",
"Assembly",
nullptr));
453 labelDataGrouping->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"(n/a)",
nullptr));
454 filename->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"TextLabel",
nullptr));
455 labelRowCount->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"# of Rows",
nullptr));
456 labelDataStatistics->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"Data Statistics",
nullptr));
457 labelVertexCount->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"# of Vertices",
nullptr));
458 labelExtents->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"Extents",
nullptr));
459 pointCount->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"TextLabel",
nullptr));
460 labelDataArrays->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"Data Arrays",
nullptr));
461 labelTimes->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"Time",
nullptr));
462 bounds->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"0.000 - 0.000\n" 463 "100.000 - 100.000\n" 464 "200.000 - 200.00",
nullptr));
465 labelCellCount->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"# of Cells",
nullptr));
466 memory->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"TextLabel",
nullptr));
467 labelPointCount->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"# of Points",
nullptr));
468 cellCount->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"TextLabel",
nullptr));
469 labelEdgeCount->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"# of Edges",
nullptr));
470 label->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"Data Grouping",
nullptr));
471 labelMemory->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"Memory:",
nullptr));
472 labelBounds->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"Bounds",
nullptr));
473 labelFilename->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"Name",
nullptr));
474 path->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"TextLabel",
nullptr));
475 dataType->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"TextLabel",
nullptr));
476 vertexCount->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"TextLabel",
nullptr));
477 label_2->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"File Properties",
nullptr));
478 labelPath->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"Path",
nullptr));
479 labelFilePropertiesNA->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"(n/a)",
nullptr));
480 labelTimeSteps->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"# of TimeSteps",
nullptr));
481 timeSteps->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"1",
nullptr));
482 labelCurrentTime->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"Current Time",
nullptr));
483 currentTime->setText(QCoreApplication::translate(
"ProxyInformationWidget",
"1 (range: [0, 1])",
nullptr));
494 #endif // UI_PQPROXYINFORMATIONWIDGET_H
: QTreeView subclass that add ParaView specific customizations.