Definition at line 39 of file VP1CustomTourEditor.cxx.
◆ addFrame()
◆ countEnabledFrames()
int VP1CustomTourEditor::Imp::countEnabledFrames |
( |
int & |
nEnabledPerspectiveFrames, |
|
|
int & |
nEnabledOrthographicFrames |
|
) |
| const |
Definition at line 348 of file VP1CustomTourEditor.cxx.
351 nEnabledPerspectiveFrames = 0;
352 nEnabledOrthographicFrames = 0;
354 if (frame->frameIsEnabled()) {
355 if (frame->camStateIsPerspective())
356 ++nEnabledPerspectiveFrames;
358 ++nEnabledOrthographicFrames;
361 return nEnabledPerspectiveFrames+nEnabledOrthographicFrames;
◆ updateFrameListVisuals()
void VP1CustomTourEditor::Imp::updateFrameListVisuals |
( |
| ) |
|
Definition at line 158 of file VP1CustomTourEditor.cxx.
163 int sliderpos=
ui.scrollArea->verticalScrollBar()->value();
165 if (o->isWidgetType()) {
166 static_cast<QWidget*
>(o)->setVisible(
false);
171 QVBoxLayout * vlayout =
new QVBoxLayout;
173 vlayout->addWidget(frame);
175 frame->setVisible(
true);
177 vlayout->addStretch(1);
180 sliderpos=
std::max(
ui.scrollArea->verticalScrollBar()->minimum(),
181 std::min(
ui.scrollArea->verticalScrollBar()->maximum(),sliderpos));
182 ui.scrollArea->verticalScrollBar()->setValue(sliderpos);
◆ updateFrameSnapshot()
◆ updateFrameStepControlsEnablement()
void VP1CustomTourEditor::Imp::updateFrameStepControlsEnablement |
( |
| ) |
|
◆ frameHolderWidget
QWidget* VP1CustomTourEditor::Imp::frameHolderWidget |
◆ frames
◆ objectsToDisableWhenTourUnavailable
QList<QObject*> VP1CustomTourEditor::Imp::objectsToDisableWhenTourUnavailable |
◆ theclass
◆ ui
Ui::VP1CustomTourEditorForm VP1CustomTourEditor::Imp::ui |
◆ viewer
The documentation for this class was generated from the following file: