void ossimQtViewDialogController::apply() { if ( isIdentityMode() ) { emit setIdentityMode(true); } else { emit setIdentityMode(false); transferFromDialog(); emit applyView(theViewObject.get()); transferToDialog(); } }
void Dialog::apply() { if (isBufferDependent()) { if (!isBufferAvailable() || (isBufferReadonly() && !canApplyToReadOnly())) return; } applyView(); dispatchParams(); if (disconnectOnApply() && !isClosing()) { disconnect(); initialiseParams(string()); updateView(); } }
/// Pop the current active view void Renderer::popView(){ m_viewStack.pop(); if(!m_viewStack.empty()){ applyView(m_viewStack.top()); } };
/// Activate view and push it to the stack void Renderer::pushView(const View& view){ m_viewStack.push(view); applyView(view); };
/// Set the currently active view void Renderer::setView(const View &view){ m_currentView = view; applyView(m_currentView); };