#include "PVGUI_Module.h"
#include "PVViewer_ViewManager.h"
+#include "PVViewer_Core.h"
#include "PVViewer_ViewWindow.h"
#include "PVViewer_ViewModel.h"
#include "PVGUI_ParaViewSettingsPane.h"
*/
pqPVApplicationCore* PVGUI_Module::GetPVApplication()
{
- return PVViewer_ViewManager::GetPVApplication();
+ return PVViewer_Core::GetPVApplication();
}
/*!
// Initialize ParaView client and associated behaviors
// and connect to externally launched pvserver
- PVViewer_ViewManager::ParaviewInitApp(aDesktop, anApp->logWindow());
+ PVViewer_Core::ParaviewInitApp(aDesktop, anApp->logWindow());
myGuiElements = PVViewer_GUIElements::GetInstance(aDesktop);
// [ABN]: careful with the order of the GUI element creation, the loading of the configuration
pvCreateMenus();
pvCreateToolBars();
- PVViewer_ViewManager::ParaviewInitBehaviors(true, aDesktop);
+ PVViewer_Core::ParaviewInitBehaviors(true, aDesktop);
QList<QDockWidget*> activeDocks = aDesktop->findChildren<QDockWidget*>();
QList<QMenu*> activeMenus = aDesktop->findChildren<QMenu*>();
// Connect after toolbar creation, etc ... as some activations of the toolbars is triggered
// by the ServerConnection event:
- PVViewer_ViewManager::ParaviewLoadConfigurations(true);
+ const QString configPath(PVViewer_ViewManager::GetPVConfigPath());
+ PVViewer_Core::ParaviewLoadConfigurations(configPath, true);
PVViewer_ViewManager::ConnectToExternalPVServer(aDesktop);
updateObjBrowser();
*/
void PVGUI_Module::onApplicationClosed( SUIT_Application* theApp )
{
- PVViewer_ViewManager::ParaviewCleanup();
+ PVViewer_Core::ParaviewCleanup();
CAM_Module::onApplicationClosed(theApp);
}