4 #ifndef pqApplicationCore_h 5 #define pqApplicationCore_h 7 #include "pqCoreModule.h" 11 #include <QStringList> 12 #include <QTranslator> 47 int code()
const {
return this->Code; }
63 typedef QObject Superclass;
84 bool addStandardArgs =
true, QObject* parent =
nullptr);
111 void registerManager(
const QString&
function, QObject* manager);
117 QObject* manager(
const QString&
function);
122 void unRegisterManager(
const QString&
function);
128 QHelpEngine* helpEngine();
134 void registerDocumentation(
const QString& filename);
173 return this->MainWindowEventManager;
189 virtual pqTestUtility* testUtility();
226 void clearSettings();
248 QString getDefaultSaveStateFileFormatQString(
bool pythonAvailable,
bool loading);
258 void useVersionedSettings(
bool use);
269 bool saveState(
const QString& filename, vtkTypeUInt32
location = 0x10 );
287 void loadStateFromString(
290 void clearViewsForLoadingState(
pqServer* server);
296 void loadStateIncremental(
298 void loadStateIncremental(
327 QString getTranslationsPathFromInterfaceLanguage(QString prefix, QString locale);
336 QTranslator* getQtTranslations(QString prefix, QString locale);
344 QString getInterfaceLanguage();
354 void _paraview_client_environment_complete();
361 void prepareForQuit();
375 void loadConfiguration(
const QString& filename);
376 void loadConfigurationXML(
const char* xmldata);
382 void updateAvailableReadersAndWriters();
394 void aboutToWriteState(QString filename);
400 void aboutToReadState(QString filename);
438 void forceFilterMenuRefresh();
443 void updateMasterEnableState(
bool);
449 void clientEnvironmentDone();
454 void onHelpEngineWarning(
const QString&);
462 void generalSettingsChanged();
486 pqInternals* Internal;
494 QString getSettingFileBaseName();
496 bool VersionedSettings =
false;
pqProgressManager * ProgressManager
pqLinksModel * LinksModel
pqServerManagerObserver * ServerManagerObserver
This class is the crux of the ParaView application.
void setLoadingState(bool value)
Set the loading state flag.
pqInterfaceTracker * interfaceTracker() const
Locates the interface tracker for the application.
manages recently used resources
pqApplicationCoreExitCode(int ecode)
A Qt based model to represent the vtkSMLinks in the server manager.
pqPluginManager * PluginManager
pqRecentlyUsedResourcesList * RecentlyUsedResourcesList
pqPluginManager * getPluginManager() const
pqPluginManager manages all functionality associated with loading plugins.
pqProgressManager is progress manager.
pqObjectBuilder is loosely based on the Builder design pattern.
pqProgressManager * getProgressManager() const
ProgressManager is the manager that streamlines progress.
pqServerManagerModel * ServerManagerModel
pqServerManagerObserver * getServerManagerObserver()
ServerManagerObserver observer the vtkSMProxyManager for changes to the server manager and fires sign...
command line options manager
pqInterfaceTracker * InterfaceTracker
pqMainWindowEventManager is a manager for marshalling a main window's events to pqReactions.
pqServerConfigurationCollection maintains a serializable collection of server-configurations defined ...
pqSettings extends QSettings to add support for following:
This is a vtkSMProxyManager observer.
pqServerConfigurationCollection * ServerConfigurations
QPointer< pqTestUtility > TestUtility
pqObjectBuilder * ObjectBuilder
pqServerManagerModel is the model for the Server Manager.
is used to locate proxies referred to in state xmls while loading state files.
bool isLoadingState()
Check to see if its in the process of loading a state Reliance on this flag is chimerical since we ca...
pqObjectBuilder * getObjectBuilder() const
Get the Object Builder.
PQ representation for a vtkSMProxy that can be involved in a pipeline.
pqServerManagerModel * getServerManagerModel() const
ServerManagerModel is the representation of the ServerManager using pqServerManagerModelItem subclass...
pqMainWindowEventManager * MainWindowEventManager
Utility class to load state from XML.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
pqUndoStack * getUndoStack() const
pqUndoStack represents a vtkSMUndoStack along with a a vtkSMUndoStackBuilder.
pqLinksModel * getLinksModel() const
pqLinksModel is the model used to keep track of proxy/property links maintained by vtkSMProxyManager...
pqInterfaceTracker is used by ParaView components to locate interface-implementations.
pqServerResource encapsulates a resource in ParaView.
StateFileFormat
Enum to capture possible Save State file formats.
pqPluginManager works with vtkSMPluginManager to keep track for plugins loaded/available.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
pqMainWindowEventManager * getMainWindowEventManager() const
pqMainWindowManager manages signals called for main window events.