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> 134 if (pqCameraDialog->objectName().isEmpty())
135 pqCameraDialog->setObjectName(QString::fromUtf8(
"pqCameraDialog"));
136 pqCameraDialog->setWindowModality(Qt::NonModal);
137 pqCameraDialog->resize(604, 950);
138 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
139 sizePolicy.setHorizontalStretch(0);
140 sizePolicy.setVerticalStretch(0);
141 sizePolicy.setHeightForWidth(pqCameraDialog->sizePolicy().hasHeightForWidth());
142 pqCameraDialog->setSizePolicy(sizePolicy);
143 verticalLayout_3 =
new QVBoxLayout(pqCameraDialog);
144 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
145 scrollArea =
new QScrollArea(pqCameraDialog);
146 scrollArea->setObjectName(QString::fromUtf8(
"scrollArea"));
147 scrollArea->setFrameShape(QFrame::NoFrame);
148 scrollArea->setWidgetResizable(
true);
149 scrollAreaWidgetContents_2 =
new QWidget();
150 scrollAreaWidgetContents_2->setObjectName(QString::fromUtf8(
"scrollAreaWidgetContents_2"));
151 scrollAreaWidgetContents_2->setGeometry(QRect(0, 0, 587, 935));
152 verticalLayout =
new QVBoxLayout(scrollAreaWidgetContents_2);
153 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
154 verticalLayout_4 =
new QVBoxLayout();
155 verticalLayout_4->setSpacing(0);
156 verticalLayout_4->setObjectName(QString::fromUtf8(
"verticalLayout_4"));
157 verticalLayout_4->setSizeConstraint(QLayout::SetMinimumSize);
158 label =
new QLabel(scrollAreaWidgetContents_2);
159 label->setObjectName(QString::fromUtf8(
"label"));
160 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Minimum);
161 sizePolicy1.setHorizontalStretch(0);
162 sizePolicy1.setVerticalStretch(0);
163 sizePolicy1.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
164 label->setSizePolicy(sizePolicy1);
167 label->setFont(font);
169 verticalLayout_4->addWidget(label);
171 line =
new QFrame(scrollAreaWidgetContents_2);
172 line->setObjectName(QString::fromUtf8(
"line"));
173 QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Minimum);
174 sizePolicy2.setHorizontalStretch(0);
175 sizePolicy2.setVerticalStretch(0);
176 sizePolicy2.setHeightForWidth(line->sizePolicy().hasHeightForWidth());
177 line->setSizePolicy(sizePolicy2);
178 line->setFrameShape(QFrame::HLine);
179 line->setFrameShadow(QFrame::Sunken);
181 verticalLayout_4->addWidget(line);
184 verticalLayout->addLayout(verticalLayout_4);
186 horizontalLayout_3 =
new QHBoxLayout();
187 horizontalLayout_3->setObjectName(QString::fromUtf8(
"horizontalLayout_3"));
188 viewXPlus =
new QToolButton(scrollAreaWidgetContents_2);
189 viewXPlus->setObjectName(QString::fromUtf8(
"viewXPlus"));
191 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqXPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
192 viewXPlus->setIcon(icon);
193 viewXPlus->setIconSize(QSize(24, 24));
195 horizontalLayout_3->addWidget(viewXPlus);
197 viewXMinus =
new QToolButton(scrollAreaWidgetContents_2);
198 viewXMinus->setObjectName(QString::fromUtf8(
"viewXMinus"));
200 icon1.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqXMinus.svg"), QSize(), QIcon::Normal, QIcon::Off);
201 viewXMinus->setIcon(icon1);
202 viewXMinus->setIconSize(QSize(24, 24));
204 horizontalLayout_3->addWidget(viewXMinus);
206 viewYPlus =
new QToolButton(scrollAreaWidgetContents_2);
207 viewYPlus->setObjectName(QString::fromUtf8(
"viewYPlus"));
209 icon2.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqYPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
210 viewYPlus->setIcon(icon2);
211 viewYPlus->setIconSize(QSize(24, 24));
213 horizontalLayout_3->addWidget(viewYPlus);
215 viewYMinus =
new QToolButton(scrollAreaWidgetContents_2);
216 viewYMinus->setObjectName(QString::fromUtf8(
"viewYMinus"));
218 icon3.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqYMinus.svg"), QSize(), QIcon::Normal, QIcon::Off);
219 viewYMinus->setIcon(icon3);
220 viewYMinus->setIconSize(QSize(24, 24));
222 horizontalLayout_3->addWidget(viewYMinus);
224 viewZPlus =
new QToolButton(scrollAreaWidgetContents_2);
225 viewZPlus->setObjectName(QString::fromUtf8(
"viewZPlus"));
227 icon4.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqZPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
228 viewZPlus->setIcon(icon4);
229 viewZPlus->setIconSize(QSize(24, 24));
231 horizontalLayout_3->addWidget(viewZPlus);
233 viewZMinus =
new QToolButton(scrollAreaWidgetContents_2);
234 viewZMinus->setObjectName(QString::fromUtf8(
"viewZMinus"));
236 icon5.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqZMinus.svg"), QSize(), QIcon::Normal, QIcon::Off);
237 viewZMinus->setIcon(icon5);
238 viewZMinus->setIconSize(QSize(24, 24));
240 horizontalLayout_3->addWidget(viewZMinus);
242 viewIsometric =
new QToolButton(scrollAreaWidgetContents_2);
243 viewIsometric->setObjectName(QString::fromUtf8(
"viewIsometric"));
245 icon6.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqIsometricView.svg"), QSize(), QIcon::Normal, QIcon::Off);
246 viewIsometric->setIcon(icon6);
247 viewIsometric->setIconSize(QSize(24, 24));
249 horizontalLayout_3->addWidget(viewIsometric);
251 spacer =
new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
253 horizontalLayout_3->addItem(spacer);
256 verticalLayout->addLayout(horizontalLayout_3);
258 verticalLayout_5 =
new QVBoxLayout();
259 verticalLayout_5->setSpacing(0);
260 verticalLayout_5->setObjectName(QString::fromUtf8(
"verticalLayout_5"));
261 verticalLayout_5->setSizeConstraint(QLayout::SetMinimumSize);
262 label_2 =
new QLabel(scrollAreaWidgetContents_2);
263 label_2->setObjectName(QString::fromUtf8(
"label_2"));
264 sizePolicy1.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
265 label_2->setSizePolicy(sizePolicy1);
266 label_2->setFont(font);
268 verticalLayout_5->addWidget(label_2);
270 line_2 =
new QFrame(scrollAreaWidgetContents_2);
271 line_2->setObjectName(QString::fromUtf8(
"line_2"));
272 sizePolicy2.setHeightForWidth(line_2->sizePolicy().hasHeightForWidth());
273 line_2->setSizePolicy(sizePolicy2);
274 line_2->setFrameShape(QFrame::HLine);
275 line_2->setFrameShadow(QFrame::Sunken);
277 verticalLayout_5->addWidget(line_2);
280 verticalLayout->addLayout(verticalLayout_5);
282 horizontalLayout_4 =
new QHBoxLayout();
283 horizontalLayout_4->setObjectName(QString::fromUtf8(
"horizontalLayout_4"));
284 customViewpointGridLayout =
new QGridLayout();
285 customViewpointGridLayout->setObjectName(QString::fromUtf8(
"customViewpointGridLayout"));
287 horizontalLayout_4->addLayout(customViewpointGridLayout);
289 horizontalSpacer_2 =
new QSpacerItem(49, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
291 horizontalLayout_4->addItem(horizontalSpacer_2);
293 configureCustomViewpoints =
new QPushButton(scrollAreaWidgetContents_2);
294 configureCustomViewpoints->setObjectName(QString::fromUtf8(
"configureCustomViewpoints"));
296 horizontalLayout_4->addWidget(configureCustomViewpoints);
298 horizontalLayout_4->setStretch(0, 1);
300 verticalLayout->addLayout(horizontalLayout_4);
302 verticalLayout_6 =
new QVBoxLayout();
303 verticalLayout_6->setSpacing(0);
304 verticalLayout_6->setObjectName(QString::fromUtf8(
"verticalLayout_6"));
305 verticalLayout_6->setSizeConstraint(QLayout::SetMinimumSize);
306 label_3 =
new QLabel(scrollAreaWidgetContents_2);
307 label_3->setObjectName(QString::fromUtf8(
"label_3"));
308 sizePolicy1.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
309 label_3->setSizePolicy(sizePolicy1);
310 label_3->setFont(font);
312 verticalLayout_6->addWidget(label_3);
314 line_3 =
new QFrame(scrollAreaWidgetContents_2);
315 line_3->setObjectName(QString::fromUtf8(
"line_3"));
316 sizePolicy2.setHeightForWidth(line_3->sizePolicy().hasHeightForWidth());
317 line_3->setSizePolicy(sizePolicy2);
318 line_3->setFrameShape(QFrame::HLine);
319 line_3->setFrameShadow(QFrame::Sunken);
321 verticalLayout_6->addWidget(line_3);
324 verticalLayout->addLayout(verticalLayout_6);
326 horizontalLayout_5 =
new QHBoxLayout();
327 horizontalLayout_5->setObjectName(QString::fromUtf8(
"horizontalLayout_5"));
329 CenterX->setObjectName(QString::fromUtf8(
"CenterX"));
331 horizontalLayout_5->addWidget(CenterX);
334 CenterY->setObjectName(QString::fromUtf8(
"CenterY"));
336 horizontalLayout_5->addWidget(CenterY);
339 CenterZ->setObjectName(QString::fromUtf8(
"CenterZ"));
341 horizontalLayout_5->addWidget(CenterZ);
344 verticalLayout->addLayout(horizontalLayout_5);
346 AutoResetCenterOfRotation =
new QCheckBox(scrollAreaWidgetContents_2);
347 AutoResetCenterOfRotation->setObjectName(QString::fromUtf8(
"AutoResetCenterOfRotation"));
349 verticalLayout->addWidget(AutoResetCenterOfRotation);
351 verticalLayout_7 =
new QVBoxLayout();
352 verticalLayout_7->setSpacing(0);
353 verticalLayout_7->setObjectName(QString::fromUtf8(
"verticalLayout_7"));
354 verticalLayout_7->setSizeConstraint(QLayout::SetMinimumSize);
355 label_4 =
new QLabel(scrollAreaWidgetContents_2);
356 label_4->setObjectName(QString::fromUtf8(
"label_4"));
357 sizePolicy1.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
358 label_4->setSizePolicy(sizePolicy1);
359 label_4->setFont(font);
361 verticalLayout_7->addWidget(label_4);
363 line_4 =
new QFrame(scrollAreaWidgetContents_2);
364 line_4->setObjectName(QString::fromUtf8(
"line_4"));
365 sizePolicy2.setHeightForWidth(line_4->sizePolicy().hasHeightForWidth());
366 line_4->setSizePolicy(sizePolicy2);
367 line_4->setFrameShape(QFrame::HLine);
368 line_4->setFrameShadow(QFrame::Sunken);
370 verticalLayout_7->addWidget(line_4);
373 verticalLayout->addLayout(verticalLayout_7);
376 rotationFactor->setObjectName(QString::fromUtf8(
"rotationFactor"));
378 verticalLayout->addWidget(rotationFactor);
380 verticalLayout_8 =
new QVBoxLayout();
381 verticalLayout_8->setSpacing(0);
382 verticalLayout_8->setObjectName(QString::fromUtf8(
"verticalLayout_8"));
383 verticalLayout_8->setSizeConstraint(QLayout::SetMinimumSize);
384 label_5 =
new QLabel(scrollAreaWidgetContents_2);
385 label_5->setObjectName(QString::fromUtf8(
"label_5"));
386 sizePolicy1.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
387 label_5->setSizePolicy(sizePolicy1);
388 label_5->setFont(font);
390 verticalLayout_8->addWidget(label_5);
392 line_5 =
new QFrame(scrollAreaWidgetContents_2);
393 line_5->setObjectName(QString::fromUtf8(
"line_5"));
394 sizePolicy2.setHeightForWidth(line_5->sizePolicy().hasHeightForWidth());
395 line_5->setSizePolicy(sizePolicy2);
396 line_5->setFrameShape(QFrame::HLine);
397 line_5->setFrameShadow(QFrame::Sunken);
399 verticalLayout_8->addWidget(line_5);
402 verticalLayout->addLayout(verticalLayout_8);
404 gridLayout =
new QGridLayout();
405 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
406 label_22 =
new QLabel(scrollAreaWidgetContents_2);
407 label_22->setObjectName(QString::fromUtf8(
"label_22"));
409 gridLayout->addWidget(label_22, 0, 0, 1, 1);
412 position0->setObjectName(QString::fromUtf8(
"position0"));
414 gridLayout->addWidget(position0, 0, 1, 1, 1);
417 position1->setObjectName(QString::fromUtf8(
"position1"));
419 gridLayout->addWidget(position1, 0, 2, 1, 1);
422 position2->setObjectName(QString::fromUtf8(
"position2"));
424 gridLayout->addWidget(position2, 0, 3, 1, 1);
426 label_17 =
new QLabel(scrollAreaWidgetContents_2);
427 label_17->setObjectName(QString::fromUtf8(
"label_17"));
429 gridLayout->addWidget(label_17, 1, 0, 1, 1);
432 focalPoint0->setObjectName(QString::fromUtf8(
"focalPoint0"));
434 gridLayout->addWidget(focalPoint0, 1, 1, 1, 1);
437 focalPoint1->setObjectName(QString::fromUtf8(
"focalPoint1"));
439 gridLayout->addWidget(focalPoint1, 1, 2, 1, 1);
442 focalPoint2->setObjectName(QString::fromUtf8(
"focalPoint2"));
444 gridLayout->addWidget(focalPoint2, 1, 3, 1, 1);
446 label_14 =
new QLabel(scrollAreaWidgetContents_2);
447 label_14->setObjectName(QString::fromUtf8(
"label_14"));
449 gridLayout->addWidget(label_14, 2, 0, 1, 1);
452 viewUp0->setObjectName(QString::fromUtf8(
"viewUp0"));
454 gridLayout->addWidget(viewUp0, 2, 1, 1, 1);
457 viewUp1->setObjectName(QString::fromUtf8(
"viewUp1"));
459 gridLayout->addWidget(viewUp1, 2, 2, 1, 1);
462 viewUp2->setObjectName(QString::fromUtf8(
"viewUp2"));
464 gridLayout->addWidget(viewUp2, 2, 3, 1, 1);
466 label_23 =
new QLabel(scrollAreaWidgetContents_2);
467 label_23->setObjectName(QString::fromUtf8(
"label_23"));
469 gridLayout->addWidget(label_23, 3, 0, 1, 1);
471 viewAngle =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
472 viewAngle->setObjectName(QString::fromUtf8(
"viewAngle"));
473 viewAngle->setMinimum(-360.000000000000000);
474 viewAngle->setMaximum(360.000000000000000);
476 gridLayout->addWidget(viewAngle, 3, 1, 1, 1);
478 label_8 =
new QLabel(scrollAreaWidgetContents_2);
479 label_8->setObjectName(QString::fromUtf8(
"label_8"));
481 gridLayout->addWidget(label_8, 3, 2, 1, 1);
483 eyeAngle =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
484 eyeAngle->setObjectName(QString::fromUtf8(
"eyeAngle"));
486 gridLayout->addWidget(eyeAngle, 3, 3, 1, 1);
488 label_9 =
new QLabel(scrollAreaWidgetContents_2);
489 label_9->setObjectName(QString::fromUtf8(
"label_9"));
491 gridLayout->addWidget(label_9, 4, 0, 1, 1);
493 focalDisk =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
494 focalDisk->setObjectName(QString::fromUtf8(
"focalDisk"));
495 focalDisk->setMinimum(0.000000000000000);
496 focalDisk->setMaximum(99999.000000000000000);
498 gridLayout->addWidget(focalDisk, 4, 1, 1, 1);
500 label_10 =
new QLabel(scrollAreaWidgetContents_2);
501 label_10->setObjectName(QString::fromUtf8(
"label_10"));
503 gridLayout->addWidget(label_10, 4, 2, 1, 1);
505 focalDistance =
new QDoubleSpinBox(scrollAreaWidgetContents_2);
506 focalDistance->setObjectName(QString::fromUtf8(
"focalDistance"));
507 focalDistance->setMinimum(0.000000000000000);
508 focalDistance->setMaximum(99999.000000000000000);
510 gridLayout->addWidget(focalDistance, 4, 3, 1, 1);
512 loadCameraConfiguration =
new QPushButton(scrollAreaWidgetContents_2);
513 loadCameraConfiguration->setObjectName(QString::fromUtf8(
"loadCameraConfiguration"));
515 gridLayout->addWidget(loadCameraConfiguration, 5, 0, 1, 1);
517 saveCameraConfiguration =
new QPushButton(scrollAreaWidgetContents_2);
518 saveCameraConfiguration->setObjectName(QString::fromUtf8(
"saveCameraConfiguration"));
520 gridLayout->addWidget(saveCameraConfiguration, 5, 1, 1, 1);
523 verticalLayout->addLayout(gridLayout);
525 verticalLayout_9 =
new QVBoxLayout();
526 verticalLayout_9->setSpacing(0);
527 verticalLayout_9->setObjectName(QString::fromUtf8(
"verticalLayout_9"));
528 verticalLayout_9->setSizeConstraint(QLayout::SetMinimumSize);
529 label_6 =
new QLabel(scrollAreaWidgetContents_2);
530 label_6->setObjectName(QString::fromUtf8(
"label_6"));
531 sizePolicy1.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
532 label_6->setSizePolicy(sizePolicy1);
533 label_6->setFont(font);
535 verticalLayout_9->addWidget(label_6);
537 line_6 =
new QFrame(scrollAreaWidgetContents_2);
538 line_6->setObjectName(QString::fromUtf8(
"line_6"));
539 sizePolicy2.setHeightForWidth(line_6->sizePolicy().hasHeightForWidth());
540 line_6->setSizePolicy(sizePolicy2);
541 line_6->setFrameShape(QFrame::HLine);
542 line_6->setFrameShadow(QFrame::Sunken);
544 verticalLayout_9->addWidget(line_6);
547 verticalLayout->addLayout(verticalLayout_9);
549 horizontalLayout =
new QHBoxLayout();
550 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
551 gridLayout_2 =
new QGridLayout();
552 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
553 label_16 =
new QLabel(scrollAreaWidgetContents_2);
554 label_16->setObjectName(QString::fromUtf8(
"label_16"));
555 label_16->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
557 gridLayout_2->addWidget(label_16, 0, 0, 1, 1);
559 rollMinusButton =
new QPushButton(scrollAreaWidgetContents_2);
560 rollMinusButton->setObjectName(QString::fromUtf8(
"rollMinusButton"));
562 gridLayout_2->addWidget(rollMinusButton, 0, 1, 1, 1);
565 rollAngle->setObjectName(QString::fromUtf8(
"rollAngle"));
566 rollAngle->setMinimum(0.100000000000000);
567 rollAngle->setMaximum(360.000000000000000);
568 rollAngle->setSingleStep(0.000010000000000);
569 rollAngle->
setValue(5.000000000000000);
571 gridLayout_2->addWidget(rollAngle, 0, 2, 1, 1);
573 rollPlusButton =
new QPushButton(scrollAreaWidgetContents_2);
574 rollPlusButton->setObjectName(QString::fromUtf8(
"rollPlusButton"));
576 gridLayout_2->addWidget(rollPlusButton, 0, 3, 1, 1);
578 label_13 =
new QLabel(scrollAreaWidgetContents_2);
579 label_13->setObjectName(QString::fromUtf8(
"label_13"));
580 label_13->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
582 gridLayout_2->addWidget(label_13, 1, 0, 1, 1);
584 elevationMinusButton =
new QPushButton(scrollAreaWidgetContents_2);
585 elevationMinusButton->setObjectName(QString::fromUtf8(
"elevationMinusButton"));
587 gridLayout_2->addWidget(elevationMinusButton, 1, 1, 1, 1);
590 elevationAngle->setObjectName(QString::fromUtf8(
"elevationAngle"));
591 elevationAngle->setMinimum(0.100000000000000);
592 elevationAngle->setMaximum(360.000000000000000);
593 elevationAngle->setSingleStep(0.000010000000000);
594 elevationAngle->
setValue(5.000000000000000);
596 gridLayout_2->addWidget(elevationAngle, 1, 2, 1, 1);
598 elevationPlusButton =
new QPushButton(scrollAreaWidgetContents_2);
599 elevationPlusButton->setObjectName(QString::fromUtf8(
"elevationPlusButton"));
601 gridLayout_2->addWidget(elevationPlusButton, 1, 3, 1, 1);
603 label_15 =
new QLabel(scrollAreaWidgetContents_2);
604 label_15->setObjectName(QString::fromUtf8(
"label_15"));
605 label_15->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
607 gridLayout_2->addWidget(label_15, 2, 0, 1, 1);
609 azimuthMinusButton =
new QPushButton(scrollAreaWidgetContents_2);
610 azimuthMinusButton->setObjectName(QString::fromUtf8(
"azimuthMinusButton"));
612 gridLayout_2->addWidget(azimuthMinusButton, 2, 1, 1, 1);
615 azimuthAngle->setObjectName(QString::fromUtf8(
"azimuthAngle"));
616 azimuthAngle->setMinimum(0.100000000000000);
617 azimuthAngle->setMaximum(360.000000000000000);
618 azimuthAngle->setSingleStep(0.000010000000000);
619 azimuthAngle->
setValue(5.000000000000000);
621 gridLayout_2->addWidget(azimuthAngle, 2, 2, 1, 1);
623 azimuthPlusButton =
new QPushButton(scrollAreaWidgetContents_2);
624 azimuthPlusButton->setObjectName(QString::fromUtf8(
"azimuthPlusButton"));
626 gridLayout_2->addWidget(azimuthPlusButton, 2, 3, 1, 1);
628 label_11 =
new QLabel(scrollAreaWidgetContents_2);
629 label_11->setObjectName(QString::fromUtf8(
"label_11"));
630 label_11->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
632 gridLayout_2->addWidget(label_11, 3, 0, 1, 1);
634 zoomOutButton =
new QPushButton(scrollAreaWidgetContents_2);
635 zoomOutButton->setObjectName(QString::fromUtf8(
"zoomOutButton"));
637 gridLayout_2->addWidget(zoomOutButton, 3, 1, 1, 1);
640 zoomFactor->setObjectName(QString::fromUtf8(
"zoomFactor"));
641 zoomFactor->setDecimals(2);
642 zoomFactor->setMinimum(1.000000000000000);
643 zoomFactor->setMaximum(10.000000000000000);
644 zoomFactor->setSingleStep(0.100000000000000);
645 zoomFactor->
setValue(1.500000000000000);
647 gridLayout_2->addWidget(zoomFactor, 3, 2, 1, 1);
649 zoomInButton =
new QPushButton(scrollAreaWidgetContents_2);
650 zoomInButton->setObjectName(QString::fromUtf8(
"zoomInButton"));
652 gridLayout_2->addWidget(zoomInButton, 3, 3, 1, 1);
655 horizontalLayout->addLayout(gridLayout_2);
657 Image =
new QLabel(scrollAreaWidgetContents_2);
658 Image->setObjectName(QString::fromUtf8(
"Image"));
659 Image->setPixmap(QPixmap(QString::fromUtf8(
":/pqWidgets/Icons/pqCameraManipulationIllustration.png")));
660 Image->setScaledContents(
false);
661 Image->setAlignment(Qt::AlignCenter);
663 horizontalLayout->addWidget(Image);
666 verticalLayout->addLayout(horizontalLayout);
668 label_7 =
new QLabel(scrollAreaWidgetContents_2);
669 label_7->setObjectName(QString::fromUtf8(
"label_7"));
670 sizePolicy1.setHeightForWidth(label_7->sizePolicy().hasHeightForWidth());
671 label_7->setSizePolicy(sizePolicy1);
672 label_7->setFont(font);
674 verticalLayout->addWidget(label_7);
676 line_7 =
new QFrame(scrollAreaWidgetContents_2);
677 line_7->setObjectName(QString::fromUtf8(
"line_7"));
678 sizePolicy2.setHeightForWidth(line_7->sizePolicy().hasHeightForWidth());
679 line_7->setSizePolicy(sizePolicy2);
680 line_7->setFrameShape(QFrame::HLine);
681 line_7->setFrameShadow(QFrame::Sunken);
683 verticalLayout->addWidget(line_7);
685 gridLayout_3 =
new QGridLayout();
686 gridLayout_3->setObjectName(QString::fromUtf8(
"gridLayout_3"));
687 interactiveViewLinkComboBox =
new QComboBox(scrollAreaWidgetContents_2);
688 interactiveViewLinkComboBox->setObjectName(QString::fromUtf8(
"interactiveViewLinkComboBox"));
690 gridLayout_3->addWidget(interactiveViewLinkComboBox, 0, 0, 1, 2);
692 interactiveViewLinkBackground =
new QCheckBox(scrollAreaWidgetContents_2);
693 interactiveViewLinkBackground->setObjectName(QString::fromUtf8(
"interactiveViewLinkBackground"));
695 gridLayout_3->addWidget(interactiveViewLinkBackground, 1, 0, 1, 2);
697 label_InteractiveViewLinkOpacity =
new QLabel(scrollAreaWidgetContents_2);
698 label_InteractiveViewLinkOpacity->setObjectName(QString::fromUtf8(
"label_InteractiveViewLinkOpacity"));
700 gridLayout_3->addWidget(label_InteractiveViewLinkOpacity, 2, 0, 1, 1);
703 interactiveViewLinkOpacity->setObjectName(QString::fromUtf8(
"interactiveViewLinkOpacity"));
705 gridLayout_3->addWidget(interactiveViewLinkOpacity, 2, 1, 1, 1);
707 gridLayout_3->setColumnStretch(1, 1);
709 verticalLayout->addLayout(gridLayout_3);
711 verticalSpacer =
new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
713 verticalLayout->addItem(verticalSpacer);
715 scrollArea->setWidget(scrollAreaWidgetContents_2);
717 verticalLayout_3->addWidget(scrollArea);
719 buttonBox =
new QDialogButtonBox(pqCameraDialog);
720 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
721 buttonBox->setStandardButtons(QDialogButtonBox::Close);
723 verticalLayout_3->addWidget(buttonBox);
725 QWidget::setTabOrder(CenterX, CenterY);
726 QWidget::setTabOrder(CenterY, CenterZ);
727 QWidget::setTabOrder(CenterZ, AutoResetCenterOfRotation);
730 QObject::connect(buttonBox, SIGNAL(rejected()), pqCameraDialog, SLOT(close()));
732 QMetaObject::connectSlotsByName(pqCameraDialog);
737 pqCameraDialog->setWindowTitle(QCoreApplication::translate(
"pqCameraDialog",
"Adjusting Camera",
nullptr));
738 label->setText(QCoreApplication::translate(
"pqCameraDialog",
"Standard Viewpoints",
nullptr));
739 #if QT_CONFIG(tooltip) 740 viewXPlus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down X axis from (1, 0, 0)",
nullptr));
741 #endif // QT_CONFIG(tooltip) 742 viewXPlus->setText(QString());
743 #if QT_CONFIG(tooltip) 744 viewXMinus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down X axis from (-1, 0, 0)",
nullptr));
745 #endif // QT_CONFIG(tooltip) 746 viewXMinus->setText(QString());
747 #if QT_CONFIG(tooltip) 748 viewYPlus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down Y axis from (0, 1, 0)",
nullptr));
749 #endif // QT_CONFIG(tooltip) 750 viewYPlus->setText(QString());
751 #if QT_CONFIG(tooltip) 752 viewYMinus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down Y axis from (0, -1, 0)",
nullptr));
753 #endif // QT_CONFIG(tooltip) 754 viewYMinus->setText(QString());
755 #if QT_CONFIG(tooltip) 756 viewZPlus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down X axis from (0, 0, 1)",
nullptr));
757 #endif // QT_CONFIG(tooltip) 758 viewZPlus->setText(QString());
759 #if QT_CONFIG(tooltip) 760 viewZMinus->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Looking down Z axis from (0, 0, -1)",
nullptr));
761 #endif // QT_CONFIG(tooltip) 762 viewZMinus->setText(QString());
763 viewIsometric->setText(QCoreApplication::translate(
"pqCameraDialog",
"...",
nullptr));
764 label_2->setText(QCoreApplication::translate(
"pqCameraDialog",
"Custom Viewpoints",
nullptr));
765 #if QT_CONFIG(tooltip) 766 configureCustomViewpoints->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Configure custom viewpoint buttons.",
nullptr));
767 #endif // QT_CONFIG(tooltip) 768 configureCustomViewpoints->setText(QCoreApplication::translate(
"pqCameraDialog",
"Configure ...",
nullptr));
769 label_3->setText(QCoreApplication::translate(
"pqCameraDialog",
"Center of Rotation",
nullptr));
770 #if QT_CONFIG(tooltip) 771 AutoResetCenterOfRotation->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Reset center of rotation when camera is reset.",
nullptr));
772 #endif // QT_CONFIG(tooltip) 773 AutoResetCenterOfRotation->setText(QCoreApplication::translate(
"pqCameraDialog",
"Reset Center of Rotation When Camera is Reset",
nullptr));
774 label_4->setText(QCoreApplication::translate(
"pqCameraDialog",
"Rotation Factor",
nullptr));
775 #if QT_CONFIG(tooltip) 776 rotationFactor->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Define the rotation speed factor.",
nullptr));
777 #endif // QT_CONFIG(tooltip) 778 label_5->setText(QCoreApplication::translate(
"pqCameraDialog",
"Camera Parameters",
nullptr));
779 label_22->setText(QCoreApplication::translate(
"pqCameraDialog",
"Position",
nullptr));
780 label_17->setText(QCoreApplication::translate(
"pqCameraDialog",
"Focal Point",
nullptr));
781 label_14->setText(QCoreApplication::translate(
"pqCameraDialog",
"View Up",
nullptr));
782 label_23->setText(QCoreApplication::translate(
"pqCameraDialog",
"View Angle",
nullptr));
783 label_8->setText(QCoreApplication::translate(
"pqCameraDialog",
"Eye Angle",
nullptr));
784 #if QT_CONFIG(tooltip) 785 eyeAngle->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"The separation between eyes (in degrees). This is used when rendering in stereo mode.",
nullptr));
786 #endif // QT_CONFIG(tooltip) 787 label_9->setText(QCoreApplication::translate(
"pqCameraDialog",
"Focal Disk",
nullptr));
788 #if QT_CONFIG(tooltip) 789 focalDisk->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
" The size of the camera's lens in world coordinates. Affects ray traced depth of field rendering.\n" 791 #endif // QT_CONFIG(tooltip) 792 label_10->setText(QCoreApplication::translate(
"pqCameraDialog",
"Focal Distance",
nullptr));
793 #if QT_CONFIG(tooltip) 794 focalDistance->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Depth of field rendering focus distance. Only affects ray traced renderers. 0 (default) disables it.",
nullptr));
795 #endif // QT_CONFIG(tooltip) 796 #if QT_CONFIG(tooltip) 797 loadCameraConfiguration->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Load camera properties.",
nullptr));
798 #endif // QT_CONFIG(tooltip) 799 loadCameraConfiguration->setText(QCoreApplication::translate(
"pqCameraDialog",
"Load",
nullptr));
800 #if QT_CONFIG(tooltip) 801 saveCameraConfiguration->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Save camera properties.",
nullptr));
802 #endif // QT_CONFIG(tooltip) 803 saveCameraConfiguration->setText(QCoreApplication::translate(
"pqCameraDialog",
"Save",
nullptr));
804 label_6->setText(QCoreApplication::translate(
"pqCameraDialog",
"Manipulate Camera",
nullptr));
805 label_16->setText(QCoreApplication::translate(
"pqCameraDialog",
"Roll",
nullptr));
806 rollMinusButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"-",
nullptr));
807 rollAngle->setSuffix(QCoreApplication::translate(
"pqCameraDialog",
"\302\260",
nullptr));
808 rollPlusButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"+",
nullptr));
809 label_13->setText(QCoreApplication::translate(
"pqCameraDialog",
"Elevation",
nullptr));
810 elevationMinusButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"-",
nullptr));
811 elevationAngle->setSuffix(QCoreApplication::translate(
"pqCameraDialog",
"\302\260",
nullptr));
812 elevationPlusButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"+",
nullptr));
813 label_15->setText(QCoreApplication::translate(
"pqCameraDialog",
"Azimuth",
nullptr));
814 azimuthMinusButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"-",
nullptr));
815 azimuthAngle->setSuffix(QCoreApplication::translate(
"pqCameraDialog",
"\302\260",
nullptr));
816 azimuthPlusButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"+",
nullptr));
817 label_11->setText(QCoreApplication::translate(
"pqCameraDialog",
"Zoom",
nullptr));
818 zoomOutButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"-",
nullptr));
819 zoomFactor->setSuffix(QCoreApplication::translate(
"pqCameraDialog",
"X",
nullptr));
820 zoomInButton->setText(QCoreApplication::translate(
"pqCameraDialog",
"+",
nullptr));
821 #if QT_CONFIG(tooltip) 822 Image->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Apply a manipulation to the current camera using the buttons on the left.",
nullptr));
823 #endif // QT_CONFIG(tooltip) 824 Image->setText(QString());
825 label_7->setText(QCoreApplication::translate(
"pqCameraDialog",
"Interactive View Link Parameters",
nullptr));
826 #if QT_CONFIG(tooltip) 827 interactiveViewLinkComboBox->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Select Interactive View Link to manage.",
nullptr));
828 #endif // QT_CONFIG(tooltip) 829 #if QT_CONFIG(tooltip) 830 interactiveViewLinkBackground->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Hide background from linked view.",
nullptr));
831 #endif // QT_CONFIG(tooltip) 832 interactiveViewLinkBackground->setText(QCoreApplication::translate(
"pqCameraDialog",
"Hide background from linked view.",
nullptr));
833 label_InteractiveViewLinkOpacity->setText(QCoreApplication::translate(
"pqCameraDialog",
"Opacity:",
nullptr));
834 #if QT_CONFIG(tooltip) 835 interactiveViewLinkOpacity->setToolTip(QCoreApplication::translate(
"pqCameraDialog",
"Define the view link opacity.",
nullptr));
836 #endif // QT_CONFIG(tooltip) 847 #endif // UI_PQCAMERADIALOG_H
QVBoxLayout * verticalLayout_9
QLabel * label_InteractiveViewLinkOpacity
pqDoubleLineEdit * viewUp1
QPushButton * loadCameraConfiguration
QVBoxLayout * verticalLayout_8
pqScaledSpinBox * rollAngle
QVBoxLayout * verticalLayout_7
QHBoxLayout * horizontalLayout_4
QPushButton * zoomOutButton
void setValue(double val)
Overrides QDoubleSpinBox::setValue()
pqDoubleRangeWidget * interactiveViewLinkOpacity
void retranslateUi(QDialog *pqCameraDialog)
Identical to a QDoubleSpinBox, but doubles/halves the value upon button presses.
QToolButton * viewIsometric
QGridLayout * gridLayout_3
pqDoubleLineEdit * focalPoint1
QPushButton * elevationMinusButton
QPushButton * configureCustomViewpoints
QVBoxLayout * verticalLayout_4
void setupUi(QDialog *pqCameraDialog)
QVBoxLayout * verticalLayout
QHBoxLayout * horizontalLayout_5
pqDoubleLineEdit * position1
QVBoxLayout * verticalLayout_5
QGridLayout * gridLayout_2
QPushButton * rollMinusButton
QSpacerItem * verticalSpacer
QDialogButtonBox * buttonBox
QCheckBox * AutoResetCenterOfRotation
pqLineEdit subclass that supports a low precision view when inactive
QPushButton * saveCameraConfiguration
pqDoubleLineEdit * CenterZ
QHBoxLayout * horizontalLayout
QSpacerItem * horizontalSpacer_2
QPushButton * azimuthMinusButton
QComboBox * interactiveViewLinkComboBox
QPushButton * azimuthPlusButton
QCheckBox * interactiveViewLinkBackground
pqScaledSpinBox * elevationAngle
QVBoxLayout * verticalLayout_3
pqScaledSpinBox * azimuthAngle
QWidget * scrollAreaWidgetContents_2
pqScaledSpinBox * zoomFactor
pqDoubleLineEdit * position2
QHBoxLayout * horizontalLayout_3
QPushButton * zoomInButton
QDoubleSpinBox * eyeAngle
pqDoubleLineEdit * focalPoint0
pqDoubleLineEdit * position0
QPushButton * rollPlusButton
QDoubleSpinBox * focalDistance
pqDoubleLineEdit * CenterY
pqDoubleRangeWidget * rotationFactor
QGridLayout * customViewpointGridLayout
QPushButton * elevationPlusButton
pqDoubleLineEdit * CenterX
pqDoubleLineEdit * viewUp2
QDoubleSpinBox * viewAngle
QVBoxLayout * verticalLayout_6
pqDoubleLineEdit * viewUp0
pqDoubleLineEdit * focalPoint2
QDoubleSpinBox * focalDisk