Public Slots | 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...
 

Public Member Functions

 pqFindDataCreateSelectionFrame (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags{})
 
 ~pqFindDataCreateSelectionFrame () override
 

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 52 of file pqFindDataCreateSelectionFrame.h.

Constructor & Destructor Documentation

◆ pqFindDataCreateSelectionFrame()

pqFindDataCreateSelectionFrame::pqFindDataCreateSelectionFrame ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = Qt::WindowFlags{} 
)

◆ ~pqFindDataCreateSelectionFrame()

pqFindDataCreateSelectionFrame::~pqFindDataCreateSelectionFrame ( )
override

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.

Friends And Related Function Documentation

◆ pqInternals

friend class pqInternals
friend

Definition at line 99 of file pqFindDataCreateSelectionFrame.h.


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