9 #ifndef UI_PQCAMERADIALOG_H 10 #define UI_PQCAMERADIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QCheckBox> 16 #include <QtWidgets/QComboBox> 17 #include <QtWidgets/QDialog> 18 #include <QtWidgets/QDialogButtonBox> 19 #include <QtWidgets/QDoubleSpinBox> 20 #include <QtWidgets/QFrame> 21 #include <QtWidgets/QGridLayout> 22 #include <QtWidgets/QHBoxLayout> 23 #include <QtWidgets/QLabel> 24 #include <QtWidgets/QPushButton> 25 #include <QtWidgets/QScrollArea> 26 #include <QtWidgets/QSpacerItem> 27 #include <QtWidgets/QToolButton> 28 #include <QtWidgets/QVBoxLayout> 29 #include <QtWidgets/QWidget> 126 if (pqCameraDialog->objectName().isEmpty())
127 pqCameraDialog->setObjectName(QString::fromUtf8(
"pqCameraDialog"));
128 pqCameraDialog->setWindowModality(Qt::NonModal);
129 pqCameraDialog->resize(422, 781);
130 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
131 sizePolicy.setHorizontalStretch(0);
132 sizePolicy.setVerticalStretch(0);
133 sizePolicy.setHeightForWidth(pqCameraDialog->sizePolicy().hasHeightForWidth());
134 pqCameraDialog->setSizePolicy(sizePolicy);
135 verticalLayout_3 =
new QVBoxLayout(pqCameraDialog);
136 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
137 scrollArea =
new QScrollArea(pqCameraDialog);
138 scrollArea->setObjectName(QString::fromUtf8(
"scrollArea"));
139 scrollArea->setFrameShape(QFrame::NoFrame);
140 scrollArea->setWidgetResizable(
true);
141 scrollAreaWidgetContents_2 =
new QWidget();
142 scrollAreaWidgetContents_2->setObjectName(QString::fromUtf8(
"scrollAreaWidgetContents_2"));
143 scrollAreaWidgetContents_2->setGeometry(QRect(0, -11, 390, 704));
144 verticalLayout =
new QVBoxLayout(scrollAreaWidgetContents_2);
145 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
146 verticalLayout->setContentsMargins(0, 0, 0, 0);
147 verticalLayout_4 =
new QVBoxLayout();
148 verticalLayout_4->setSpacing(0);
149 verticalLayout_4->setObjectName(QString::fromUtf8(
"verticalLayout_4"));
150 verticalLayout_4->setSizeConstraint(QLayout::SetMinimumSize);
151 label =
new QLabel(scrollAreaWidgetContents_2);
152 label->setObjectName(QString::fromUtf8(
"label"));
153 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Minimum);
154 sizePolicy1.setHorizontalStretch(0);
155 sizePolicy1.setVerticalStretch(0);
156 sizePolicy1.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
157 label->setSizePolicy(sizePolicy1);
161 label->setFont(font);
163 verticalLayout_4->addWidget(label);
165 line =
new QFrame(scrollAreaWidgetContents_2);
166 line->setObjectName(QString::fromUtf8(
"line"));
167 QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Minimum);
168 sizePolicy2.setHorizontalStretch(0);
169 sizePolicy2.setVerticalStretch(0);
170 sizePolicy2.setHeightForWidth(line->sizePolicy().hasHeightForWidth());
171 line->setSizePolicy(sizePolicy2);
172 line->setFrameShape(QFrame::HLine);
173 line->setFrameShadow(QFrame::Sunken);
175 verticalLayout_4->addWidget(line);
178 verticalLayout->addLayout(verticalLayout_4);
180 horizontalLayout_3 =
new QHBoxLayout();
181 horizontalLayout_3->setObjectName(QString::fromUtf8(
"horizontalLayout_3"));
182 viewXPlus =
new QToolButton(scrollAreaWidgetContents_2);
183 viewXPlus->setObjectName(QString::fromUtf8(
"viewXPlus"));
185 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqXPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
186 viewXPlus->setIcon(icon);
187 viewXPlus->setIconSize(QSize(24, 24));
189 horizontalLayout_3->addWidget(viewXPlus);
191 viewXMinus =
new QToolButton(scrollAreaWidgetContents_2);
192 viewXMinus->setObjectName(QString::fromUtf8(
"viewXMinus"));
194 icon1.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqXMinus.svg"), QSize(), QIcon::Normal, QIcon::Off);
195 viewXMinus->setIcon(icon1);
196 viewXMinus->setIconSize(QSize(24, 24));
198 horizontalLayout_3->addWidget(viewXMinus);
200 viewYPlus =
new QToolButton(scrollAreaWidgetContents_2);
201 viewYPlus->setObjectName(QString::fromUtf8(
"viewYPlus"));
203 icon2.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqYPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
204 viewYPlus->setIcon(icon2);
205 viewYPlus->setIconSize(QSize(24, 24));
207 horizontalLayout_3->addWidget(viewYPlus);
209 viewYMinus =
new QToolButton(scrollAreaWidgetContents_2);
210 viewYMinus->setObjectName(QString::fromUtf8(
"viewYMinus"));
212 icon3.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqYMinus.svg"), QSize(), QIcon::Normal, QIcon::Off);
213 viewYMinus->setIcon(icon3);
214 viewYMinus->setIconSize(QSize(24, 24));
216 horizontalLayout_3->addWidget(viewYMinus);
218 viewZPlus =
new QToolButton(scrollAreaWidgetContents_2);
219 viewZPlus->setObjectName(QString::fromUtf8(
"viewZPlus"));
221 icon4.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqZPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
222 viewZPlus->setIcon(icon4);
223 viewZPlus->setIconSize(QSize(24, 24));
225 horizontalLayout_3->addWidget(viewZPlus);
227 viewZMinus =
new QToolButton(scrollAreaWidgetContents_2);
228 viewZMinus->setObjectName(QString::fromUtf8(
"viewZMinus"));
230 icon5.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqZMinus.svg"), QSize(), QIcon::Normal, QIcon::Off);
231 viewZMinus->setIcon(icon5);
232 viewZMinus->setIconSize(QSize(24, 24));
234 horizontalLayout_3->addWidget(viewZMinus);
236 spacer =
new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
238 horizontalLayout_3->addItem(spacer);
241 verticalLayout->addLayout(horizontalLayout_3);
243 verticalLayout_5 =
new QVBoxLayout();
244 verticalLayout_5->setSpacing(0);
245 verticalLayout_5->setObjectName(QString::fromUtf8(
"verticalLayout_5"));
246 verticalLayout_5->setSizeConstraint(QLayout::SetMinimumSize);
247 label_2 =
new QLabel(scrollAreaWidgetContents_2);
248 label_2->setObjectName(QString::fromUtf8(
"label_2"));
249 sizePolicy1.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
250 label_2->setSizePolicy(sizePolicy1);
251 label_2->setFont(font);
253 verticalLayout_5->addWidget(label_2);
255 line_2 =
new QFrame(scrollAreaWidgetContents_2);
256 line_2->setObjectName(QString::fromUtf8(
"line_2"));
257 sizePolicy2.setHeightForWidth(line_2->sizePolicy().hasHeightForWidth());
258 line_2->setSizePolicy(sizePolicy2);
259 line_2->setFrameShape(QFrame::HLine);
260 line_2->setFrameShadow(QFrame::Sunken);
262 verticalLayout_5->addWidget(line_2);
265 verticalLayout->addLayout(verticalLayout_5);
267 horizontalLayout_4 =
new QHBoxLayout();
268 horizontalLayout_4->setObjectName(QString::fromUtf8(
"horizontalLayout_4"));
269 customViewpointGridLayout =
new QGridLayout();
270 customViewpointGridLayout->setObjectName(QString::fromUtf8(
"customViewpointGridLayout"));
272 horizontalLayout_4->addLayout(customViewpointGridLayout);
274 horizontalSpacer_2 =
new QSpacerItem(49, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
276 horizontalLayout_4->addItem(horizontalSpacer_2);
278 configureCustomViewpoints =
new QPushButton(scrollAreaWidgetContents_2);
279 configureCustomViewpoints->setObjectName(QString::fromUtf8(
"configureCustomViewpoints"));
281 horizontalLayout_4->addWidget(configureCustomViewpoints);
283 horizontalLayout_4->setStretch(0, 1);
285 verticalLayout->addLayout(horizontalLayout_4);
287 verticalLayout_6 =
new QVBoxLayout();
288 verticalLayout_6->setSpacing(0);
289 verticalLayout_6->setObjectName(QString::fromUtf8(
"verticalLayout_6"));
290 verticalLayout_6->setSizeConstraint(QLayout::SetMinimumSize);
291 label_3 =
new QLabel(scrollAreaWidgetContents_2);
292 label_3->setObjectName(QString::fromUtf8(
"label_3"));
293 sizePolicy1.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
294 label_3->setSizePolicy(sizePolicy1);
295 label_3->setFont(font);
297 verticalLayout_6->addWidget(label_3);
299 line_3 =
new QFrame(scrollAreaWidgetContents_2);
300 line_3->setObjectName(QString::fromUtf8(
"line_3"));
301 sizePolicy2.setHeightForWidth(line_3->sizePolicy().hasHeightForWidth());
302 line_3->setSizePolicy(sizePolicy2);
303 line_3->setFrameShape(QFrame::HLine);
304 line_3->setFrameShadow(QFrame::Sunken);
306 verticalLayout_6->addWidget(line_3);
309 verticalLayout->addLayout(verticalLayout_6);
311 horizontalLayout_5 =
new QHBoxLayout();
312 horizontalLayout_5->setObjectName(QString::fromUtf8(
"horizontalLayout_5"));
314 CenterX->setObjectName(QString::fromUtf8(
"CenterX"));
316 horizontalLayout_5->addWidget(CenterX);
319 CenterY->setObjectName(QString::fromUtf8(
"CenterY"));
321 horizontalLayout_5->addWidget(CenterY);
324 CenterZ->setObjectName(QString::fromUtf8(
"CenterZ"));
326 horizontalLayout_5->addWidget(CenterZ);
329 verticalLayout->addLayout(horizontalLayout_5);
331 AutoResetCenterOfRotation =
new QCheckBox(scrollAreaWidgetContents_2);
332 AutoResetCenterOfRotation->setObjectName(QString::fromUtf8(
"AutoResetCenterOfRotation"));
334 verticalLayout->addWidget(AutoResetCenterOfRotation);
336 verticalLayout_7 =
new QVBoxLayout();
337 verticalLayout_7->setSpacing(0);
338 verticalLayout_7->setObjectName(QString::fromUtf8(
"verticalLayout_7"));
339 verticalLayout_7->setSizeConstraint(QLayout::SetMinimumSize);
340 label_4 =
new QLabel(scrollAreaWidgetContents_2);
341 label_4->setObjectName(QString::fromUtf8(
"label_4"));
342 sizePolicy1.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
343 label_4->setSizePolicy(sizePolicy1);
344 label_4->setFont(font);
346 verticalLayout_7->addWidget(label_4);
348 line_4 =
new QFrame(scrollAreaWidgetContents_2);
349 line_4->setObjectName(QString::fromUtf8(
"line_4"));
350 sizePolicy2.setHeightForWidth(line_4->sizePolicy().hasHeightForWidth());
351 line_4->setSizePolicy(sizePolicy2);
352 line_4->setFrameShape(QFrame::HLine);
353 line_4->setFrameShadow(QFrame::Sunken);
355 verticalLayout_7->addWidget(line_4);
358 verticalLayout->addLayout(verticalLayout_7);
361 rotationFactor->setObjectName(QString::fromUtf8(
"rotationFactor"));
363 verticalLayout->addWidget(rotationFactor);
365 verticalLayout_8 =
new QVBoxLayout();
366 verticalLayout_8->setSpacing(0);
367 verticalLayout_8->setObjectName(QString::fromUtf8(
"verticalLayout_8"));
368 verticalLayout_8->setSizeConstraint(QLayout::SetMinimumSize);
369 label_5 =
new QLabel(scrollAreaWidgetContents_2);
370 label_5->setObjectName(QString::fromUtf8(
"label_5"));
371 sizePolicy1.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
372 label_5->setSizePolicy(sizePolicy1);
373 label_5->setFont(font);
375 verticalLayout_8->addWidget(label_5);
377 line_5 =
new QFrame(scrollAreaWidgetContents_2);
378 line_5->setObjectName(QString::fromUtf8(
"line_5"));
379 sizePolicy2.setHeightForWidth(line_5->sizePolicy().hasHeightForWidth());
380 line_5->setSizePolicy(sizePolicy2);
381 line_5->setFrameShape(QFrame::HLine);
382 line_5->setFrameShadow(QFrame::Sunken);
384 verticalLayout_8->addWidget(line_5);
387 verticalLayout->addLayout(verticalLayout_8);
389 gridLayout =
new QGridLayout();
390 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
391 label_22 =
new QLabel(scrollAreaWidgetContents_2);
392 label_22->setObjectName(QString::fromUtf8(
"label_22"));
394 gridLayout->addWidget(label_22, 0, 0, 1, 1);
397 position0->setObjectName(QString::fromUtf8(
"position0"));
399 gridLayout->addWidget(position0, 0, 1, 1, 1);
402 position1->setObjectName(QString::fromUtf8(
"position1"));
404 gridLayout->addWidget(position1, 0, 2, 1, 1);
407 position2->setObjectName(QString::fromUtf8(
"position2"));
409 gridLayout->addWidget(position2, 0, 3, 1, 1);
411 label_17 =
new QLabel(scrollAreaWidgetContents_2);
412 label_17->setObjectName(QString::fromUtf8(
"label_17"));
414 gridLayout->addWidget(label_17, 1, 0, 1, 1);
417 focalPoint0->setObjectName(QString::fromUtf8(
"focalPoint0"));
419 gridLayout->addWidget(focalPoint0, 1, 1, 1, 1);
422 focalPoint1->setObjectName(QString::fromUtf8(
"focalPoint1"));
424 gridLayout->addWidget(focalPoint1, 1, 2, 1, 1);
427 focalPoint2->setObjectName(QString::fromUtf8(
"focalPoint2"));
429 gridLayout->addWidget(focalPoint2, 1, 3, 1, 1);
431 label_14 =
new QLabel(scrollAreaWidgetContents_2);
432 label_14->setObjectName(QString::fromUtf8(
"label_14"));
434 gridLayout->addWidget(label_14, 2, 0, 1, 1);
437 viewUp0->setObjectName(QString::fromUtf8(
"viewUp0"));
439 gridLayout->addWidget(viewUp0, 2, 1, 1, 1);
442 viewUp1->setObjectName(QString::fromUtf8(
"viewUp1"));
444 gridLayout->addWidget(viewUp1, 2, 2, 1, 1);
447 viewUp2->setObjectName(QString::fromUtf8(
"viewUp2"));
449 gridLayout->addWidget(viewUp2, 2, 3, 1, 1);
451 label_23 =
new QLabel(scrollAreaWidgetContents_2);
452 label_23->setObjectName(QString::fromUtf8(
"label_23"));
454 gridLayout->addWidget(label_23, 3, 0, 1, 1);
456 viewAngle =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
457 viewAngle->setObjectName(QString::fromUtf8(
"viewAngle"));
458 viewAngle->setMinimum(-360.000000000000000);
459 viewAngle->setMaximum(360.000000000000000);
461 gridLayout->addWidget(viewAngle, 3, 1, 1, 1);
463 label_8 =
new QLabel(scrollAreaWidgetContents_2);
464 label_8->setObjectName(QString::fromUtf8(
"label_8"));
466 gridLayout->addWidget(label_8, 3, 2, 1, 1);
468 eyeAngle =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
469 eyeAngle->setObjectName(QString::fromUtf8(
"eyeAngle"));
471 gridLayout->addWidget(eyeAngle, 3, 3, 1, 1);
473 label_9 =
new QLabel(scrollAreaWidgetContents_2);
474 label_9->setObjectName(QString::fromUtf8(
"label_9"));
476 gridLayout->addWidget(label_9, 4, 0, 1, 1);
478 focalDisk =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
479 focalDisk->setObjectName(QString::fromUtf8(
"focalDisk"));
480 focalDisk->setMinimum(0.000000000000000);
481 focalDisk->setMaximum(99999.000000000000000);
483 gridLayout->addWidget(focalDisk, 4, 1, 1, 1);
485 label_10 =
new QLabel(scrollAreaWidgetContents_2);
486 label_10->setObjectName(QString::fromUtf8(
"label_10"));
488 gridLayout->addWidget(label_10, 4, 2, 1, 1);
490 focalDistance =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
491 focalDistance->setObjectName(QString::fromUtf8(
"focalDistance"));
492 focalDistance->setMinimum(0.000000000000000);
493 focalDistance->setMaximum(99999.000000000000000);
495 gridLayout->addWidget(focalDistance, 4, 3, 1, 1);
497 loadCameraConfiguration =
new QPushButton(scrollAreaWidgetContents_2);
498 loadCameraConfiguration->setObjectName(QString::fromUtf8(
"loadCameraConfiguration"));
500 gridLayout->addWidget(loadCameraConfiguration, 5, 0, 1, 1);
502 saveCameraConfiguration =
new QPushButton(scrollAreaWidgetContents_2);
503 saveCameraConfiguration->setObjectName(QString::fromUtf8(
"saveCameraConfiguration"));
505 gridLayout->addWidget(saveCameraConfiguration, 5, 1, 1, 1);
508 verticalLayout->addLayout(gridLayout);
510 verticalLayout_9 =
new QVBoxLayout();
511 verticalLayout_9->setSpacing(0);
512 verticalLayout_9->setObjectName(QString::fromUtf8(
"verticalLayout_9"));
513 verticalLayout_9->setSizeConstraint(QLayout::SetMinimumSize);
514 label_6 =
new QLabel(scrollAreaWidgetContents_2);
515 label_6->setObjectName(QString::fromUtf8(
"label_6"));
516 sizePolicy1.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
517 label_6->setSizePolicy(sizePolicy1);
518 label_6->setFont(font);
520 verticalLayout_9->addWidget(label_6);
522 line_6 =
new QFrame(scrollAreaWidgetContents_2);
523 line_6->setObjectName(QString::fromUtf8(
"line_6"));
524 sizePolicy2.setHeightForWidth(line_6->sizePolicy().hasHeightForWidth());
525 line_6->setSizePolicy(sizePolicy2);
526 line_6->setFrameShape(QFrame::HLine);
527 line_6->setFrameShadow(QFrame::Sunken);
529 verticalLayout_9->addWidget(line_6);
532 verticalLayout->addLayout(verticalLayout_9);
534 gridLayout_2 =
new QGridLayout();
535 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
536 rollButton =
new QPushButton(scrollAreaWidgetContents_2);
537 rollButton->setObjectName(QString::fromUtf8(
"rollButton"));
539 icon6.addFile(QString::fromUtf8(
"."), QSize(), QIcon::Normal, QIcon::Off);
540 rollButton->setIcon(icon6);
541 rollButton->setIconSize(QSize(24, 24));
543 gridLayout_2->addWidget(rollButton, 0, 0, 1, 1);
545 rollAngle =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
546 rollAngle->setObjectName(QString::fromUtf8(
"rollAngle"));
547 rollAngle->setMinimum(-360.000000000000000);
548 rollAngle->setMaximum(360.000000000000000);
550 gridLayout_2->addWidget(rollAngle, 0, 1, 1, 1);
552 label_20 =
new QLabel(scrollAreaWidgetContents_2);
553 label_20->setObjectName(QString::fromUtf8(
"label_20"));
554 QSizePolicy sizePolicy3(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
555 sizePolicy3.setHorizontalStretch(0);
556 sizePolicy3.setVerticalStretch(0);
557 sizePolicy3.setHeightForWidth(label_20->sizePolicy().hasHeightForWidth());
558 label_20->setSizePolicy(sizePolicy3);
560 gridLayout_2->addWidget(label_20, 0, 2, 1, 1);
562 elevationButton =
new QPushButton(scrollAreaWidgetContents_2);
563 elevationButton->setObjectName(QString::fromUtf8(
"elevationButton"));
564 elevationButton->setIcon(icon6);
565 elevationButton->setIconSize(QSize(24, 24));
567 gridLayout_2->addWidget(elevationButton, 1, 0, 1, 1);
569 elevationAngle =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
570 elevationAngle->setObjectName(QString::fromUtf8(
"elevationAngle"));
571 elevationAngle->setMinimum(-360.000000000000000);
572 elevationAngle->setMaximum(360.000000000000000);
574 gridLayout_2->addWidget(elevationAngle, 1, 1, 1, 1);
576 label_21 =
new QLabel(scrollAreaWidgetContents_2);
577 label_21->setObjectName(QString::fromUtf8(
"label_21"));
578 sizePolicy3.setHeightForWidth(label_21->sizePolicy().hasHeightForWidth());
579 label_21->setSizePolicy(sizePolicy3);
581 gridLayout_2->addWidget(label_21, 1, 2, 1, 1);
583 azimuthButton =
new QPushButton(scrollAreaWidgetContents_2);
584 azimuthButton->setObjectName(QString::fromUtf8(
"azimuthButton"));
585 azimuthButton->setIcon(icon6);
586 azimuthButton->setIconSize(QSize(24, 24));
588 gridLayout_2->addWidget(azimuthButton, 2, 0, 1, 1);
590 azimuthAngle =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
591 azimuthAngle->setObjectName(QString::fromUtf8(
"azimuthAngle"));
592 azimuthAngle->setMinimum(-360.000000000000000);
593 azimuthAngle->setMaximum(360.000000000000000);
595 gridLayout_2->addWidget(azimuthAngle, 2, 1, 1, 1);
597 label_16 =
new QLabel(scrollAreaWidgetContents_2);
598 label_16->setObjectName(QString::fromUtf8(
"label_16"));
599 sizePolicy3.setHeightForWidth(label_16->sizePolicy().hasHeightForWidth());
600 label_16->setSizePolicy(sizePolicy3);
602 gridLayout_2->addWidget(label_16, 2, 2, 1, 1);
604 zoomInButton =
new QPushButton(scrollAreaWidgetContents_2);
605 zoomInButton->setObjectName(QString::fromUtf8(
"zoomInButton"));
606 zoomInButton->setIcon(icon6);
607 zoomInButton->setIconSize(QSize(24, 24));
609 gridLayout_2->addWidget(zoomInButton, 3, 0, 1, 1);
611 zoomFactor =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
612 zoomFactor->setObjectName(QString::fromUtf8(
"zoomFactor"));
613 zoomFactor->setDecimals(2);
614 zoomFactor->setMinimum(1.000000000000000);
615 zoomFactor->setMaximum(10.000000000000000);
616 zoomFactor->setSingleStep(0.100000000000000);
617 zoomFactor->setValue(1.500000000000000);
619 gridLayout_2->addWidget(zoomFactor, 3, 1, 1, 1);
621 zoomOutButton =
new QPushButton(scrollAreaWidgetContents_2);
622 zoomOutButton->setObjectName(QString::fromUtf8(
"zoomOutButton"));
623 QSizePolicy sizePolicy4(QSizePolicy::Fixed, QSizePolicy::Fixed);
624 sizePolicy4.setHorizontalStretch(0);
625 sizePolicy4.setVerticalStretch(0);
626 sizePolicy4.setHeightForWidth(zoomOutButton->sizePolicy().hasHeightForWidth());
627 zoomOutButton->setSizePolicy(sizePolicy4);
628 zoomOutButton->setIcon(icon6);
629 zoomOutButton->setIconSize(QSize(24, 24));
631 gridLayout_2->addWidget(zoomOutButton, 3, 2, 1, 1);
634 verticalLayout->addLayout(gridLayout_2);
636 label_7 =
new QLabel(scrollAreaWidgetContents_2);
637 label_7->setObjectName(QString::fromUtf8(
"label_7"));
638 sizePolicy1.setHeightForWidth(label_7->sizePolicy().hasHeightForWidth());
639 label_7->setSizePolicy(sizePolicy1);
640 label_7->setFont(font);
642 verticalLayout->addWidget(label_7);
644 line_7 =
new QFrame(scrollAreaWidgetContents_2);
645 line_7->setObjectName(QString::fromUtf8(
"line_7"));
646 sizePolicy2.setHeightForWidth(line_7->sizePolicy().hasHeightForWidth());
647 line_7->setSizePolicy(sizePolicy2);
648 line_7->setFrameShape(QFrame::HLine);
649 line_7->setFrameShadow(QFrame::Sunken);
651 verticalLayout->addWidget(line_7);
653 gridLayout_3 =
new QGridLayout();
654 gridLayout_3->setObjectName(QString::fromUtf8(
"gridLayout_3"));
655 interactiveViewLinkBackground =
new QCheckBox(scrollAreaWidgetContents_2);
656 interactiveViewLinkBackground->setObjectName(QString::fromUtf8(
"interactiveViewLinkBackground"));
658 gridLayout_3->addWidget(interactiveViewLinkBackground, 1, 0, 1, 2);
660 label_InteractiveViewLinkOpacity =
new QLabel(scrollAreaWidgetContents_2);
661 label_InteractiveViewLinkOpacity->setObjectName(QString::fromUtf8(
"label_InteractiveViewLinkOpacity"));
663 gridLayout_3->addWidget(label_InteractiveViewLinkOpacity, 2, 0, 1, 1);
666 interactiveViewLinkOpacity->setObjectName(QString::fromUtf8(
"interactiveViewLinkOpacity"));
668 gridLayout_3->addWidget(interactiveViewLinkOpacity, 2, 1, 1, 1);
670 interactiveViewLinkComboBox =
new QComboBox(scrollAreaWidgetContents_2);
671 interactiveViewLinkComboBox->setObjectName(QString::fromUtf8(
"interactiveViewLinkComboBox"));
673 gridLayout_3->addWidget(interactiveViewLinkComboBox, 0, 0, 1, 2);
675 gridLayout_3->setColumnStretch(1, 1);
677 verticalLayout->addLayout(gridLayout_3);
679 verticalSpacer =
new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
681 verticalLayout->addItem(verticalSpacer);
683 scrollArea->setWidget(scrollAreaWidgetContents_2);
685 verticalLayout_3->addWidget(scrollArea);
687 buttonBox =
new QDialogButtonBox(pqCameraDialog);
688 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
689 buttonBox->setStandardButtons(QDialogButtonBox::Close);
691 verticalLayout_3->addWidget(buttonBox);
693 QWidget::setTabOrder(CenterX, CenterY);
694 QWidget::setTabOrder(CenterY, CenterZ);
695 QWidget::setTabOrder(CenterZ, AutoResetCenterOfRotation);
698 QObject::connect(buttonBox, SIGNAL(rejected()), pqCameraDialog, SLOT(close()));
700 QMetaObject::connectSlotsByName(pqCameraDialog);
705 pqCameraDialog->setWindowTitle(QCoreApplication::translate(
"pqCameraDialog",
"Adjusting Camera",
nullptr));
706 label->setText(QCoreApplication::translate(
"pqCameraDialog",
"Standard Viewpoints",
nullptr));
707 #if QT_CONFIG(tooltip) 708 viewXPlus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down X axis from (1, 0, 0)",
nullptr));
709 #endif // QT_CONFIG(tooltip) 710 viewXPlus->setText(QString());
711 #if QT_CONFIG(tooltip) 712 viewXMinus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down X axis from (-1, 0, 0)",
nullptr));
713 #endif // QT_CONFIG(tooltip) 714 viewXMinus->setText(QString());
715 #if QT_CONFIG(tooltip) 716 viewYPlus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down Y axis from (0, 1, 0)",
nullptr));
717 #endif // QT_CONFIG(tooltip) 718 viewYPlus->setText(QString());
719 #if QT_CONFIG(tooltip) 720 viewYMinus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down Y axis from (0, -1, 0)",
nullptr));
721 #endif // QT_CONFIG(tooltip) 722 viewYMinus->setText(QString());
723 #if QT_CONFIG(tooltip) 724 viewZPlus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down X axis from (0, 0, 1)",
nullptr));
725 #endif // QT_CONFIG(tooltip) 726 viewZPlus->setText(QString());
727 #if QT_CONFIG(tooltip) 728 viewZMinus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down Z axis from (0, 0, -1)",
nullptr));
729 #endif // QT_CONFIG(tooltip) 730 viewZMinus->setText(QString());
731 label_2->setText(QCoreApplication::translate(
"pqCameraDialog",
"Custom Viewpoints",
nullptr));
732 #if QT_CONFIG(tooltip) 733 configureCustomViewpoints->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Configure custom viewpoint buttons.",
nullptr));
734 #endif // QT_CONFIG(tooltip) 735 configureCustomViewpoints->setText(QCoreApplication::translate(
"pqCameraDialog",
"Configure ...",
nullptr));
736 label_3->setText(QCoreApplication::translate(
"pqCameraDialog",
"Center of Rotation",
nullptr));
737 #if QT_CONFIG(tooltip) 738 AutoResetCenterOfRotation->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Reset center of rotation when camera is reset.",
nullptr));
739 #endif // QT_CONFIG(tooltip) 740 AutoResetCenterOfRotation->setText(QCoreApplication::translate(
"pqCameraDialog",
"Reset Center of Rotation When Camera is Reset",
nullptr));
741 label_4->setText(QCoreApplication::translate(
"pqCameraDialog",
"Rotation Factor",
nullptr));
742 #if QT_CONFIG(tooltip) 743 rotationFactor->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Define the rotation speed factor.",
nullptr));
744 #endif // QT_CONFIG(tooltip) 745 label_5->setText(QCoreApplication::translate(
"pqCameraDialog",
"Camera Parameters",
nullptr));
746 label_22->setText(QCoreApplication::translate(
"pqCameraDialog",
"Position",
nullptr));
747 label_17->setText(QCoreApplication::translate(
"pqCameraDialog",
"Focal Point",
nullptr));
748 label_14->setText(QCoreApplication::translate(
"pqCameraDialog",
"View Up",
nullptr));
749 label_23->setText(QCoreApplication::translate(
"pqCameraDialog",
"View Angle",
nullptr));
750 label_8->setText(QCoreApplication::translate(
"pqCameraDialog",
"Eye Angle",
nullptr));
751 #if QT_CONFIG(tooltip) 752 eyeAngle->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"The separation between eyes (in degrees). This is used when rendering in stereo mode.",
nullptr));
753 #endif // QT_CONFIG(tooltip) 754 label_9->setText(QCoreApplication::translate(
"pqCameraDialog",
"Focal Disk",
nullptr));
755 #if QT_CONFIG(tooltip) 756 focalDisk->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
" The size of the camera's lens in world coordinates. Affects ray traced depth of field rendering.\n" 758 #endif // QT_CONFIG(tooltip) 759 label_10->setText(QCoreApplication::translate(
"pqCameraDialog",
"Focal Distance",
nullptr));
760 #if QT_CONFIG(tooltip) 761 focalDistance->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Depth of field rendering focus distance. Only affects ray traced renderers. 0 (default) disables it.",
nullptr));
762 #endif // QT_CONFIG(tooltip) 763 #if QT_CONFIG(tooltip) 764 loadCameraConfiguration->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Load camera properties.",
nullptr));
765 #endif // QT_CONFIG(tooltip) 766 loadCameraConfiguration->setText(QCoreApplication::translate(
"pqCameraDialog",
"Load",
nullptr));
767 #if QT_CONFIG(tooltip) 768 saveCameraConfiguration->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Save camera properties.",
nullptr));
769 #endif // QT_CONFIG(tooltip) 770 saveCameraConfiguration->setText(QCoreApplication::translate(
"pqCameraDialog",
"Save",
nullptr));
771 label_6->setText(QCoreApplication::translate(
"pqCameraDialog",
"Manipulate Camera",
nullptr));
772 #if QT_CONFIG(tooltip) 773 rollButton->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Rotate around vertical axis",
nullptr));
774 #endif // QT_CONFIG(tooltip) 775 rollButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"Roll",
nullptr));
776 #if QT_CONFIG(tooltip) 777 label_20->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Apply a manipulation to the current camera using the buttons on the left.",
nullptr));
778 #endif // QT_CONFIG(tooltip) 779 label_20->setText(QCoreApplication::translate(
"pqCameraDialog",
"degrees",
nullptr));
780 #if QT_CONFIG(tooltip) 781 elevationButton->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Rotate around horizontal axis",
nullptr));
782 #endif // QT_CONFIG(tooltip) 783 elevationButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"Elevation",
nullptr));
784 label_21->setText(QCoreApplication::translate(
"pqCameraDialog",
"degrees",
nullptr));
785 #if QT_CONFIG(tooltip) 786 azimuthButton->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Rotate around center of screen",
nullptr));
787 #endif // QT_CONFIG(tooltip) 788 azimuthButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"Azimuth",
nullptr));
789 label_16->setText(QCoreApplication::translate(
"pqCameraDialog",
"degrees",
nullptr));
790 #if QT_CONFIG(tooltip) 791 zoomInButton->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Decrease view angle",
nullptr));
792 #endif // QT_CONFIG(tooltip) 793 zoomInButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"Zoom In",
nullptr));
794 zoomFactor->setSuffix(QCoreApplication::translate(
"pqCameraDialog",
"X",
nullptr));
795 #if QT_CONFIG(tooltip) 796 zoomOutButton->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Increase view angle",
nullptr));
797 #endif // QT_CONFIG(tooltip) 798 zoomOutButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"Zoom Out",
nullptr));
799 label_7->setText(QCoreApplication::translate(
"pqCameraDialog",
"Interactive View Link Parameters",
nullptr));
800 #if QT_CONFIG(tooltip) 801 interactiveViewLinkBackground->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Hide background from linked view.",
nullptr));
802 #endif // QT_CONFIG(tooltip) 803 interactiveViewLinkBackground->setText(QCoreApplication::translate(
"pqCameraDialog",
"Hide background from linked view.",
nullptr));
804 label_InteractiveViewLinkOpacity->setText(QCoreApplication::translate(
"pqCameraDialog",
"Opacity:",
nullptr));
805 #if QT_CONFIG(tooltip) 806 interactiveViewLinkOpacity->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Define the view link opacity.",
nullptr));
807 #endif // QT_CONFIG(tooltip) 808 #if QT_CONFIG(tooltip) 809 interactiveViewLinkComboBox->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Select Interactive View Link to manage.",
nullptr));
810 #endif // QT_CONFIG(tooltip) 821 #endif // UI_PQCAMERADIALOG_H
QVBoxLayout * verticalLayout_9
QLabel * label_InteractiveViewLinkOpacity
QPushButton * elevationButton
pqDoubleLineEdit * viewUp1
QPushButton * loadCameraConfiguration
QVBoxLayout * verticalLayout_8
QPushButton * azimuthButton
QVBoxLayout * verticalLayout_7
QDoubleSpinBox * elevationAngle
QHBoxLayout * horizontalLayout_4
QPushButton * zoomOutButton
pqDoubleRangeWidget * interactiveViewLinkOpacity
QDoubleSpinBox * azimuthAngle
void retranslateUi(QDialog *pqCameraDialog)
QGridLayout * gridLayout_3
pqDoubleLineEdit * focalPoint1
QPushButton * configureCustomViewpoints
QVBoxLayout * verticalLayout_4
void setupUi(QDialog *pqCameraDialog)
QVBoxLayout * verticalLayout
QHBoxLayout * horizontalLayout_5
pqDoubleLineEdit * position1
QVBoxLayout * verticalLayout_5
QGridLayout * gridLayout_2
QSpacerItem * verticalSpacer
QDialogButtonBox * buttonBox
QCheckBox * AutoResetCenterOfRotation
pqLineEdit subclass that supports a low precision view when inactive
QPushButton * saveCameraConfiguration
pqDoubleLineEdit * CenterZ
QSpacerItem * horizontalSpacer_2
QComboBox * interactiveViewLinkComboBox
QCheckBox * interactiveViewLinkBackground
QVBoxLayout * verticalLayout_3
QWidget * scrollAreaWidgetContents_2
pqDoubleLineEdit * position2
QDoubleSpinBox * rollAngle
QHBoxLayout * horizontalLayout_3
QPushButton * zoomInButton
QDoubleSpinBox * eyeAngle
pqDoubleLineEdit * focalPoint0
pqDoubleLineEdit * position0
QDoubleSpinBox * focalDistance
pqDoubleLineEdit * CenterY
pqDoubleRangeWidget * rotationFactor
QGridLayout * customViewpointGridLayout
QDoubleSpinBox * zoomFactor
pqDoubleLineEdit * CenterX
pqDoubleLineEdit * viewUp2
QDoubleSpinBox * viewAngle
QVBoxLayout * verticalLayout_6
pqDoubleLineEdit * viewUp0
pqDoubleLineEdit * focalPoint2
QDoubleSpinBox * focalDisk