ParaView
Signals | Public Member Functions | Protected Slots | Protected Member Functions
pqQueryDialog Class Reference

pqQueryDialog is the dialog that allows the user to query/search for cells/points satisfying a particular criteria. More...

#include <pqQueryDialog.h>

List of all members.

Signals

void selected (pqOutputPort *)
 fired every time user submits a query.
void extractSelection ()
 fired everytime the user click on the ExtractSelection button
void extractSelectionOverTime ()
 fired everytime the user click on the ExtractSelectionOverTime button
void helpRequested ()
 Fired when the user clicks on the help button.

Public Member Functions

 pqQueryDialog (pqOutputPort *producer, QWidget *parent=0, Qt::WindowFlags flags=0)
 producer cannot be NULL.
virtual ~pqQueryDialog ()
pqOutputPortproducer () const
 Get the source whose data is to be queried.

Protected Slots

void freeSMProxy ()
 Must be triggered before server disconnect to release all SMProxy links.
void onSelectionChange (pqOutputPort *)
 Triggered when the data to process has changed.
void onActiveViewChanged (pqView *)
 Triggerd when the active view has changed.
void populateSelectionType ()
 Based on the data type produced by the producer, this will update the options in the selection type combo-box.
void resetClauses ()
 reset the currently chosen clauses
void addClause ()
 adds a new clause.
void runQuery ()
 Called when user click the "Run Query" button.
void setLabel (int index)
 Called when user selects a label item.
void onExtractSelection ()
void onExtractSelectionOverTime ()

Protected Member Functions

void updateLabels ()
 populate the list of available labels.
void linkLabelColorWidget (vtkSMProxy *, const QString &propname)
 link the label-color widget with the active label-color property.
void setupSpreadSheet ()
 creates the proxies needed for the spreadsheet view.

Detailed Description

pqQueryDialog is the dialog that allows the user to query/search for cells/points satisfying a particular criteria.

The user is searching for data matching the given criteria in the output of the set source/filter.

Definition at line 49 of file pqQueryDialog.h.


Constructor & Destructor Documentation

pqQueryDialog::pqQueryDialog ( pqOutputPort producer,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

producer cannot be NULL.

virtual pqQueryDialog::~pqQueryDialog ( ) [virtual]

Member Function Documentation

pqOutputPort* pqQueryDialog::producer ( ) const [inline]

Get the source whose data is to be queried.

Definition at line 60 of file pqQueryDialog.h.

void pqQueryDialog::selected ( pqOutputPort ) [signal]

fired every time user submits a query.

void pqQueryDialog::extractSelection ( ) [signal]

fired everytime the user click on the ExtractSelection button

void pqQueryDialog::extractSelectionOverTime ( ) [signal]

fired everytime the user click on the ExtractSelectionOverTime button

void pqQueryDialog::helpRequested ( ) [signal]

Fired when the user clicks on the help button.

void pqQueryDialog::freeSMProxy ( ) [protected, slot]

Must be triggered before server disconnect to release all SMProxy links.

void pqQueryDialog::onSelectionChange ( pqOutputPort ) [protected, slot]

Triggered when the data to process has changed.

void pqQueryDialog::onActiveViewChanged ( pqView ) [protected, slot]

Triggerd when the active view has changed.

void pqQueryDialog::populateSelectionType ( ) [protected, slot]

Based on the data type produced by the producer, this will update the options in the selection type combo-box.

void pqQueryDialog::resetClauses ( ) [protected, slot]

reset the currently chosen clauses

void pqQueryDialog::addClause ( ) [protected, slot]

adds a new clause.

void pqQueryDialog::runQuery ( ) [protected, slot]

Called when user click the "Run Query" button.

void pqQueryDialog::setLabel ( int  index) [protected, slot]

Called when user selects a label item.

void pqQueryDialog::onExtractSelection ( ) [inline, protected, slot]

Definition at line 101 of file pqQueryDialog.h.

void pqQueryDialog::onExtractSelectionOverTime ( ) [inline, protected, slot]

Definition at line 106 of file pqQueryDialog.h.

void pqQueryDialog::updateLabels ( ) [protected]

populate the list of available labels.

void pqQueryDialog::linkLabelColorWidget ( vtkSMProxy ,
const QString &  propname 
) [protected]

link the label-color widget with the active label-color property.

void pqQueryDialog::setupSpreadSheet ( ) [protected]

creates the proxies needed for the spreadsheet view.


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