#include "SalomeApp_VisualState.h"
#include "SalomeApp_Module.h"
#include "SalomeApp_Study.h"
#include "SalomeApp_Application.h"
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
#include <SUIT_ViewManager.h>
#include <SUIT_ViewWindow.h>
#include <QtxWorkstack.h>
#include <STD_TabDesktop.h>
#include <QList>
#include <QApplication>
#include <QMultiHash>
#include <SALOMEDSClient_ClientFactory.hxx>
#include <SALOMEDSClient_IParameters.hxx>
#include <vector>
#include <string>
#include <cstdio>
Functions | |
void | nameViewWindows (const ViewManagerList &lst) |
void nameViewWindows | ( | const ViewManagerList & | lst | ) |
Sets names of all view windows in given list. This is used in order to apply the same naming algorithm when saving and restoring view windows. Names of view windows must be the same before saving workstack (splitters) information, and before its restoring! Naming rule: ViewerType_IndexOfViewerOfThisType_IndexOfViewInThisViewer VTKViewer_0_0 OCCViewer_0_0 OCCViewer_0_1 OCCViewer_0_2 VTKViewer_1_0
References SUIT_ViewManager::getType(), SUIT_ViewManager::getViews(), and SUIT_ViewManager::getViewsCount().