pqQueryClauseWidget is used by pqQueryDialog as the widget allowing the user choose the clauses for the queries.
More...
#include <pqQueryClauseWidget.h>
Inherits QWidget.
|
enum | CriteriaType {
INVALID = 0x0,
INDEX = 0x1,
GLOBALID = 0x2,
THRESHOLD = 0x4,
BLOCK = 0x10,
AMR_LEVEL = 0x20,
AMR_BLOCK = 0x40,
PROCESSID = 0x80,
QUERY = 0x8,
POINTS_NEAR = 0x100,
POINT_IN_CELL = 0x200,
ANY = 0xffff
} |
|
enum | ConditionMode {
SINGLE_VALUE,
SINGLE_VALUE_GE,
SINGLE_VALUE_LE,
PAIR_OF_VALUES,
TRIPLET_OF_VALUES,
LIST_OF_VALUES,
BLOCK_ID_VALUE,
LIST_OF_BLOCK_ID_VALUES,
BLOCK_NAME_VALUE,
AMR_LEVEL_VALUE,
AMR_BLOCK_VALUE,
SINGLE_VALUE_MIN,
SINGLE_VALUE_MAX,
SINGLE_VALUE_NAN,
SINGLE_VALUE_LE_MEAN,
SINGLE_VALUE_GE_MEAN,
SINGLE_VALUE_MEAN_WITH_TOLERANCE,
LOCATION_AND_TOLERANCE,
LOCATION
} |
|
enum | DataSetType { DataSetType::STANDARD,
DataSetType::AMR,
DataSetType::MULTIBLOCK
} |
|
pqQueryClauseWidget is used by pqQueryDialog as the widget allowing the user choose the clauses for the queries.
Definition at line 48 of file pqQueryClauseWidget.h.
◆ CriteriaType
Enumerator |
---|
INVALID | |
INDEX | |
GLOBALID | |
THRESHOLD | |
BLOCK | |
AMR_LEVEL | |
AMR_BLOCK | |
PROCESSID | |
QUERY | |
POINTS_NEAR | |
POINT_IN_CELL | |
ANY | |
Definition at line 54 of file pqQueryClauseWidget.h.
◆ ConditionMode
Enumerator |
---|
SINGLE_VALUE | |
SINGLE_VALUE_GE | |
SINGLE_VALUE_LE | |
PAIR_OF_VALUES | |
TRIPLET_OF_VALUES | |
LIST_OF_VALUES | |
BLOCK_ID_VALUE | |
LIST_OF_BLOCK_ID_VALUES | |
BLOCK_NAME_VALUE | |
AMR_LEVEL_VALUE | |
AMR_BLOCK_VALUE | |
SINGLE_VALUE_MIN | |
SINGLE_VALUE_MAX | |
SINGLE_VALUE_NAN | |
SINGLE_VALUE_LE_MEAN | |
SINGLE_VALUE_GE_MEAN | |
SINGLE_VALUE_MEAN_WITH_TOLERANCE | |
LOCATION_AND_TOLERANCE | |
LOCATION | |
Definition at line 72 of file pqQueryClauseWidget.h.
◆ DataSetType
◆ pqQueryClauseWidget()
pqQueryClauseWidget::pqQueryClauseWidget |
( |
pqMultiQueryClauseWidget * |
multiQueryWidget, |
|
|
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
flags = Qt::WindowFlags{} |
|
) |
| |
◆ ~pqQueryClauseWidget()
pqQueryClauseWidget::~pqQueryClauseWidget |
( |
| ) |
|
|
override |
◆ Q_DECLARE_FLAGS()
pqQueryClauseWidget::Q_DECLARE_FLAGS |
( |
CriteriaTypes |
, |
|
|
CriteriaType |
|
|
) |
| |
◆ initialize [1/2]
void pqQueryClauseWidget::initialize |
( |
| ) |
|
|
inlineslot |
use this slot to initialize the clause GUI after all properties have been set.
FIXME: Unsupported Terms: process id, amr-level, amr-block. We will need to extend VTK selection support for those, so we will implement them later (possibly 3.10/4.0)
Definition at line 115 of file pqQueryClauseWidget.h.
◆ initialize [2/2]
void pqQueryClauseWidget::initialize |
( |
CriteriaTypes |
type_flags, |
|
|
bool |
qualifier_mode = false |
|
) |
| |
|
slot |
initialize the widget only with the subset of criteria mentioned.
A query clause has two components, the query term and the qualifiers. Some criteria can be both eg. BLOCK can be both the term or a qualifier. The available operators may change in such case. Hence, we specify if it's being used as a qualifier or not.
◆ addSelectionQualifiers
void pqQueryClauseWidget::addSelectionQualifiers |
( |
vtkSMProxy * |
| ) |
|
|
slot |
Updates the selection source proxy with the criteria in the clause.
◆ setAddButtonVisible
void pqQueryClauseWidget::setAddButtonVisible |
( |
bool |
show | ) |
|
|
slot |
Set the Add button visibility.
◆ setRemoveButtonVisible
void pqQueryClauseWidget::setRemoveButtonVisible |
( |
bool |
show | ) |
|
|
slot |
Set the Remove button visibility.
◆ setAndLabelVisible
void pqQueryClauseWidget::setAndLabelVisible |
( |
bool |
show | ) |
|
|
slot |
Set the And
label visibility.
◆ addQueryRequested
void pqQueryClauseWidget::addQueryRequested |
( |
| ) |
|
|
signal |
Emited when user ask for a new query.
◆ populateSelectionCondition
void pqQueryClauseWidget::populateSelectionCondition |
( |
| ) |
|
|
protectedslot |
Based on the selection criteria, populate the options in the selection "condition" combo box.
◆ updateValueWidget
void pqQueryClauseWidget::updateValueWidget |
( |
| ) |
|
|
protectedslot |
Update the value widget so show the correct widget based on the chosen criteria and condition.
◆ showCompositeTree
void pqQueryClauseWidget::showCompositeTree |
( |
| ) |
|
|
protectedslot |
Pops up a dialog showing the composite data structure for the data.
◆ deleteQuery
void pqQueryClauseWidget::deleteQuery |
( |
| ) |
|
|
protectedslot |
Deletes this widget and notifies parent.
◆ populateSelectionCriteria()
void pqQueryClauseWidget::populateSelectionCriteria |
( |
CriteriaTypes |
type = ANY | ) |
|
|
protected |
Based on the selection type and data information from the producer, populate the "criteria" combo box.
◆ currentCriteriaType()
CriteriaType pqQueryClauseWidget::currentCriteriaType |
( |
| ) |
const |
|
protected |
Returns the current criteria type.
◆ currentConditionType()
ConditionMode pqQueryClauseWidget::currentConditionType |
( |
| ) |
const |
|
protected |
Returns the current condition type.
◆ AttributeType
int pqQueryClauseWidget::AttributeType |
|
protected |
◆ AsQualifier
bool pqQueryClauseWidget::AsQualifier |
|
protected |
◆ LastQuery
QString pqQueryClauseWidget::LastQuery |
|
protected |
◆ MultiQueryWidget
The documentation for this class was generated from the following file: