void ossimQtViewDialogController::apply()
{
    if ( isIdentityMode() )
    {
        emit setIdentityMode(true);
    }
    else
    {
        emit setIdentityMode(false);
        transferFromDialog();
        emit applyView(theViewObject.get());
        transferToDialog();
    }
}
Example #2
0
void Dialog::apply()
{
	if (isBufferDependent()) {
		if (!isBufferAvailable() ||
		    (isBufferReadonly() && !canApplyToReadOnly()))
			return;
	}

	applyView();
	dispatchParams();

	if (disconnectOnApply() && !isClosing()) {
		disconnect();
		initialiseParams(string());
		updateView();
	}
}
Example #3
0
/// Pop the current active view
void Renderer::popView(){
	m_viewStack.pop();
	if(!m_viewStack.empty()){
		applyView(m_viewStack.top());
	}
};
Example #4
0
/// Activate view and push it to the stack
void Renderer::pushView(const View& view){
	m_viewStack.push(view);
	applyView(view);
};
Example #5
0
/// Set the currently active view
void Renderer::setView(const View &view){
	m_currentView = view;
	applyView(m_currentView);
};