ParaView
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pqPVApplicationCore Class Reference

pqPVApplicationCore is the application code used by ParaView-based applications that use more of ParaView's functionality than that provided by pqApplicationCore such as the the selection manager, animation manager etc. More...

#include <pqPVApplicationCore.h>

Inheritance diagram for pqPVApplicationCore:
Inheritance graph
[legend]
Collaboration diagram for pqPVApplicationCore:
Collaboration graph
[legend]

Public Slots

void quickLaunch ()
 Pops-up the quick launch dialog. More...
 
void startSearch ()
 Pops-up the search dialog if the focused widget is QAsbstractItemView type. More...
 
- Public Slots inherited from pqApplicationCore
void prepareForQuit ()
 Applications calls this to ensure that any cleanup is performed correctly. More...
 
void quit ()
 Calls QCoreApplication::quit(). More...
 
void showOutputWindow ()
 Causes the output window to be shown. More...
 
void loadConfiguration (const QString &filename)
 Load configuration xml. More...
 
void loadConfigurationXML (const char *xmldata)
 
void render ()
 Renders all windows. More...
 

Signals

void aboutToShowQuickLaunch ()
 Emitted whenever the quickLaunch dialog is about to show. More...
 
- Signals inherited from pqApplicationCore
void aboutToLoadState (vtkPVXMLElement *root)
 Fired before a state xml is being loaded. More...
 
void stateLoaded (vtkPVXMLElement *root, vtkSMProxyLocator *locator)
 Fired when a state file is loaded successfully. More...
 
void stateSaved (vtkPVXMLElement *root)
 Fired to save state xml. More...
 
void undoStackChanged (pqUndoStack *)
 Fired when the undo stack is set. More...
 
void loadXML (vtkPVXMLElement *)
 Fired on loadConfiguration(). More...
 
void forceFilterMenuRefresh ()
 Fired when the filter menu state needs to be manually updated. More...
 
void updateMasterEnableState (bool)
 Fired when master changed. More...
 

Public Member Functions

 pqPVApplicationCore (int &argc, char **argv, pqOptions *options=0)
 
 ~pqPVApplicationCore ()
 
pqSelectionManagerselectionManager () const
 Provides access to the selection manager. More...
 
pqAnimationManageranimationManager () const
 Provides access to the animation manager. More...
 
virtual pqTestUtility * testUtility ()
 Provides access to the test utility. More...
 
pqPythonManagerpythonManager () const
 Provides access to the python manager. More...
 
virtual void registerForQuicklaunch (QWidget *)
 ParaView provides a mechanism to trigger menu actions using a quick-launch dialog. More...
 
- Public Member Functions inherited from pqApplicationCore
 pqApplicationCore (int &argc, char **argv, pqOptions *options=0, QObject *parent=0)
 Preferred constructor. More...
 
pqOptionsgetOptions () const
 Provides access to the command line options object. More...
 
pqObjectBuildergetObjectBuilder () const
 Get the Object Builder. More...
 
void setUndoStack (pqUndoStack *stack)
 Set/Get the application's central undo stack. More...
 
pqUndoStackgetUndoStack () const
 
void registerManager (const QString &function, QObject *manager)
 Custom Applications may need use various "managers" All such manager can be registered with the pqApplicationCore so that that can be used by other components of the application. More...
 
QObject * manager (const QString &function)
 Returns a manager for a particular function, if any. More...
 
void unRegisterManager (const QString &function)
 Unregisters a manager for a particular function, if any. More...
 
void registerDocumentation (const QString &filename)
 QHelpEngine doesn't like filenames in resource space. More...
 
pqServerManagerObservergetServerManagerObserver ()
 ServerManagerObserver observer the vtkSMProxyManager for changes to the server manager and fires signals on certain actions such as registeration/unregistration of proxies etc. More...
 
pqServerManagerModelgetServerManagerModel () const
 ServerManagerModel is the representation of the ServerManager using pqServerManagerModelItem subclasses. More...
 
pq3DWidgetFactoryget3DWidgetFactory () const
 
pqInterfaceTrackerinterfaceTracker () const
 Locates the interface tracker for the application. More...
 
pqLinksModelgetLinksModel () const
 pqLinksModel is the model used to keep track of proxy/property links maintained by vtkSMProxyManager. More...
 
pqPluginManagergetPluginManager () const
 pqPluginManager manages all functionality associated with loading plugins. More...
 
pqProgressManagergetProgressManager () const
 ProgressManager is the manager that streamlines progress. More...
 
pqDisplayPolicygetDisplayPolicy () const
 Returns the display policy instance used by the application. More...
 
pqOutputWindowAdapteroutputWindowAdapter ()
 Returns the output window. More...
 
pqOutputWindowoutputWindow ()
 
void setDisplayPolicy (pqDisplayPolicy *dp)
 It is possible to change the display policy used by the application. More...
 
pqRecentlyUsedResourcesListrecentlyUsedResources ()
 Returns the set of recently-used resources i.e. More...
 
pqServerConfigurationCollectionserverConfigurations ()
 Returns the collection of server configurations known. More...
 
pqSettingssettings ()
 Get the application settings. More...
 
vtkPVXMLElementsaveState ()
 Save the ServerManager state. More...
 
void saveState (const QString &filename)
 
void loadState (vtkPVXMLElement *root, pqServer *server, vtkSMStateLoader *loader=NULL)
 Loads the ServerManager state. More...
 
void loadState (const char *filename, pqServer *server, vtkSMStateLoader *loader=NULL)
 Load state xml from a file. More...
 
void loadStateFromString (const char *xmlcontents, pqServer *server, vtkSMStateLoader *loader=NULL)
 Loads state from an in-memory buffer. More...
 
void loadStateIncremental (vtkPVXMLElement *root, pqServer *server, vtkSMStateLoader *loader=NULL)
 Same as loadState() except that it doesn't clear the current visualization state. More...
 
void loadStateIncremental (const QString &filename, pqServer *server, vtkSMStateLoader *loader=NULL)
 
bool isLoadingState ()
 Check to see if its in the process of loading a state Reliance on this flag is chimerical since we cannot set this ivar when state file is being loaded from python shell. More...
 
pqServergetActiveServer () const
 returns the active server is any. More...
 
void loadDistributedPlugins (const char *filename=0)
 Called to load the configuration xml bundled with the application the lists the plugins that the application is aware by default. More...
 
virtual ~pqApplicationCore ()
 Destructor. More...
 

Static Public Member Functions

static pqPVApplicationCoreinstance ()
 Returns the pqPVApplicationCore instance. More...
 
- Static Public Member Functions inherited from pqApplicationCore
static pqApplicationCoreinstance ()
 

Protected Member Functions

virtual bool eventFilter (QObject *obj, QEvent *event)
 Override event filter in order to catch file association mechanism. More...
 

Protected Attributes

QPointer< pqSelectionManagerSelectionManager
 
QPointer< pqAnimationManagerAnimationManager
 
pqPythonManagerPythonManager
 
QList< QPointer< QWidget > > QuickLaunchMenus
 
- Protected Attributes inherited from pqApplicationCore
bool LoadingState
 
pqOutputWindowOutputWindow
 
pqOutputWindowAdapterOutputWindowAdapter
 
pqOptionsOptions
 
pq3DWidgetFactoryWidgetFactory
 
pqDisplayPolicyDisplayPolicy
 
pqLinksModelLinksModel
 
pqObjectBuilderObjectBuilder
 
pqInterfaceTrackerInterfaceTracker
 
pqPluginManagerPluginManager
 
pqProgressManagerProgressManager
 
pqServerManagerModelServerManagerModel
 
pqServerManagerObserverServerManagerObserver
 
pqUndoStackUndoStack
 
pqRecentlyUsedResourcesListRecentlyUsedResourcesList
 
pqServerConfigurationCollectionServerConfigurations
 
pqSettingsSettings
 
QPointer< pqTestUtility > TestUtility
 

Additional Inherited Members

- Protected Slots inherited from pqApplicationCore
void onStateLoaded (vtkPVXMLElement *root, vtkSMProxyLocator *locator)
 
void onStateSaved (vtkPVXMLElement *root)
 

Detailed Description

pqPVApplicationCore is the application code used by ParaView-based applications that use more of ParaView's functionality than that provided by pqApplicationCore such as the the selection manager, animation manager etc.

Definition at line 53 of file pqPVApplicationCore.h.

Constructor & Destructor Documentation

§ pqPVApplicationCore()

pqPVApplicationCore::pqPVApplicationCore ( int &  argc,
char **  argv,
pqOptions options = 0 
)

§ ~pqPVApplicationCore()

pqPVApplicationCore::~pqPVApplicationCore ( )

Member Function Documentation

§ instance()

static pqPVApplicationCore* pqPVApplicationCore::instance ( )
inlinestatic

Returns the pqPVApplicationCore instance.

If no pqPVApplicationCore has been created then return NULL.

Definition at line 66 of file pqPVApplicationCore.h.

§ selectionManager()

pqSelectionManager* pqPVApplicationCore::selectionManager ( ) const

Provides access to the selection manager.

Selection manager provides access to the ParaView wide data selection mechanism. This must not be confused with the active-object selection.

§ animationManager()

pqAnimationManager* pqPVApplicationCore::animationManager ( ) const

Provides access to the animation manager.

Animation manager helps with the

§ testUtility()

virtual pqTestUtility* pqPVApplicationCore::testUtility ( )
virtual

Provides access to the test utility.

Reimplemented from pqApplicationCore.

§ pythonManager()

pqPythonManager* pqPVApplicationCore::pythonManager ( ) const

Provides access to the python manager.

This is non-null only when paraview is compiled with python support i.e. PARAVIEW_ENABLE_PYTHON is ON.

§ registerForQuicklaunch()

virtual void pqPVApplicationCore::registerForQuicklaunch ( QWidget *  )
virtual

ParaView provides a mechanism to trigger menu actions using a quick-launch dialog.

Applications can register menus action from which should be launch-able from the quick-launch dialog. Typical candidates are the sources menu, filters menu etc.

§ quickLaunch

void pqPVApplicationCore::quickLaunch ( )
slot

Pops-up the quick launch dialog.

§ startSearch

void pqPVApplicationCore::startSearch ( )
slot

Pops-up the search dialog if the focused widget is QAsbstractItemView type.

§ aboutToShowQuickLaunch

void pqPVApplicationCore::aboutToShowQuickLaunch ( )
signal

Emitted whenever the quickLaunch dialog is about to show.

This can be used to update the menu items (QActions) that will be shown in the quick-launch dialog.

§ eventFilter()

virtual bool pqPVApplicationCore::eventFilter ( QObject *  obj,
QEvent *  event 
)
protectedvirtual

Override event filter in order to catch file association mechanism.

Member Data Documentation

§ SelectionManager

QPointer<pqSelectionManager> pqPVApplicationCore::SelectionManager
protected

Definition at line 128 of file pqPVApplicationCore.h.

§ AnimationManager

QPointer<pqAnimationManager> pqPVApplicationCore::AnimationManager
protected

Definition at line 129 of file pqPVApplicationCore.h.

§ PythonManager

pqPythonManager* pqPVApplicationCore::PythonManager
protected

Definition at line 131 of file pqPVApplicationCore.h.

§ QuickLaunchMenus

QList<QPointer<QWidget> > pqPVApplicationCore::QuickLaunchMenus
protected

Definition at line 132 of file pqPVApplicationCore.h.


The documentation for this class was generated from the following file: