ParaView
|
Widget to select views to be included in a coprocessing script. More...
#include <pqExportViewSelection.h>
Inherits QWidget.
Public Member Functions | |
pqExportViewSelection (QWidget *parent_=NULL) | |
~pqExportViewSelection () | |
void | populateViews (QList< pqRenderViewBase *> const &renderViews, QList< pqContextView *> const &contextViews) |
void | setCinemaVisible (bool status) |
Hides/shows cinema options. More... | |
QList< pqImageOutputInfo * > | getImageOutputInfos () |
QString | getSelectionAsString (QString const &scriptFromat) |
Returns a string containing a comma separated set of views with each view defined as in 'format'. More... | |
Widget to select views to be included in a coprocessing script.
The user selection can be queried as a string to be included in a Python script directly. The widget is used by pqCinemaConfiguration and pqSGExportStateWizard.
Definition at line 54 of file pqExportViewSelection.h.
pqExportViewSelection::pqExportViewSelection | ( | QWidget * | parent_ = NULL | ) |
pqExportViewSelection::~pqExportViewSelection | ( | ) |
void pqExportViewSelection::populateViews | ( | QList< pqRenderViewBase *> const & | renderViews, |
QList< pqContextView *> const & | contextViews | ||
) |
void pqExportViewSelection::setCinemaVisible | ( | bool | status | ) |
Hides/shows cinema options.
QList<pqImageOutputInfo*> pqExportViewSelection::getImageOutputInfos | ( | ) |
QString pqExportViewSelection::getSelectionAsString | ( | QString const & | scriptFromat | ) |
Returns a string containing a comma separated set of views with each view defined as in 'format'.
Order of view values:
Example: Format as defined in pqCinemaConfiguration format = "'%1' : ['%2', %3, %4, %5, %6, %7, %8]" returns -> 'ViewName1' : ['Imname', 1, 1, 1, 1, 1, {'composite': True ...}], 'ViewName2' : [...], ... (for N views)