ParaView
Public Slots | Signals | Public Member Functions
pqViewExporterManager Class Reference

pqViewExporterManager is a manager that manages exporters for views. More...

#include <pqViewExporterManager.h>

List of all members.

Public Slots

void refresh ()
 Reloads the list of exporters available.
void setView (pqView *)
 Set the current view.

Signals

void exportable (bool)
 Fired whenever setView is called.

Public Member Functions

 pqViewExporterManager (QObject *parent=0)
 ~pqViewExporterManager ()
QString getSupportedFileTypes () const
 Returns a file type filtering string suitable for file dialogs.
bool write (const QString &filename)
 Exports the current view.

Detailed Description

pqViewExporterManager is a manager that manages exporters for views.

Currently, we are saying all exporters registered in "exporters" group are available. If neeeded, we can add API to explicitly add exporters.

Definition at line 44 of file pqViewExporterManager.h.


Constructor & Destructor Documentation

pqViewExporterManager::pqViewExporterManager ( QObject *  parent = 0)
pqViewExporterManager::~pqViewExporterManager ( )

Member Function Documentation

QString pqViewExporterManager::getSupportedFileTypes ( ) const

Returns a file type filtering string suitable for file dialogs.

Returns only those file formats that can be written using the current view will be returned.

bool pqViewExporterManager::write ( const QString &  filename)

Exports the current view.

The exporter is choosen based on the extension of the file.

void pqViewExporterManager::refresh ( ) [slot]

Reloads the list of exporters available.

Must be called after plugins are loaded, or new proxy definitions are added etc.

void pqViewExporterManager::setView ( pqView ) [slot]

Set the current view.

void pqViewExporterManager::exportable ( bool  ) [signal]

Fired whenever setView is called.

Indicates if the current view is exportable at all.


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