ParaView
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Friends | List of all members
pqFindDataCreateSelectionFrame Class Reference

pqFindDataCreateSelectionFrame is designed to be used by pqFindDataDialog. More...

#include <pqFindDataCreateSelectionFrame.h>

Inherits QWidget.

Public Slots

void setPort (pqOutputPort *)
 Set the port to create a query selection on. More...
 

Signals

void helpRequested ()
 Fired when the user clicks on the help button for the query clause widget. More...
 

Public Member Functions

 pqFindDataCreateSelectionFrame (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~pqFindDataCreateSelectionFrame ()
 

Static Public Member Functions

static void populateSelectionTypeCombo (QComboBox *bbox, pqOutputPort *port)
 Helper method used to fill up a combo-box showing allowed selection types based on the data-type produced on the port. More...
 

Friends

class pqInternals
 

Detailed Description

pqFindDataCreateSelectionFrame is designed to be used by pqFindDataDialog.

pqFindDataDialog uses this as the component to create a new selection based on the query. This class encapsulates the logic for the UI to create new query based selections. Users can construct queries to create new selections. When user "runs" the query, we create a new selection and update the global application selection by notifying pqSelectionManager instance, is available. If the global selection changes from outside pqFindDataCreateSelectionFrame then we reset any existing query the user may have set.

Definition at line 50 of file pqFindDataCreateSelectionFrame.h.

Constructor & Destructor Documentation

§ pqFindDataCreateSelectionFrame()

pqFindDataCreateSelectionFrame::pqFindDataCreateSelectionFrame ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

§ ~pqFindDataCreateSelectionFrame()

virtual pqFindDataCreateSelectionFrame::~pqFindDataCreateSelectionFrame ( )
virtual

Member Function Documentation

§ populateSelectionTypeCombo()

static void pqFindDataCreateSelectionFrame::populateSelectionTypeCombo ( QComboBox *  bbox,
pqOutputPort port 
)
static

Helper method used to fill up a combo-box showing allowed selection types based on the data-type produced on the port.

§ setPort

void pqFindDataCreateSelectionFrame::setPort ( pqOutputPort )
slot

Set the port to create a query selection on.

If the port is different from the current one, it clears any existing query.

§ helpRequested

void pqFindDataCreateSelectionFrame::helpRequested ( )
signal

Fired when the user clicks on the help button for the query clause widget.

Friends And Related Function Documentation

§ pqInternals

friend class pqInternals
friend

Definition at line 89 of file pqFindDataCreateSelectionFrame.h.


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