#include <Workspace/Presentation/workspacemodelfilter.h>
Inherits QSortFilterProxyModel.
|
enum | FilterFlag {
ShowInputs = 0x0001
, ShowOutputs = 0x0002
, ShowDependencies = 0x0004
, ShowOperations = 0x0008
,
ShowNestedWorkflows = 0x0010
, ShowGlobalNames = 0x0020
, ShowUuids = 0x0040
, ShowOpTypes = 0x0080
,
ShowExternalFilePaths = 0x0100
, AutoExpandOnFilterChange = 0x0200
, SortInputsOutputsAlphabetically = 0x0400
} |
|
enum | FilterTarget {
FilterAnyMatch
, FilterLabels
, FilterGlobalNames
, FilterInputsOutputs
,
FilterUuid
, FilterOpType
} |
|
◆ FilterFlag
Enumerator |
---|
ShowInputs | |
ShowOutputs | |
ShowDependencies | |
ShowOperations | |
ShowNestedWorkflows | |
ShowGlobalNames | |
ShowUuids | |
ShowOpTypes | |
ShowExternalFilePaths | |
AutoExpandOnFilterChange | |
SortInputsOutputsAlphabetically | |
◆ FilterTarget
Enumerator |
---|
FilterAnyMatch | |
FilterLabels | |
FilterGlobalNames | |
FilterInputsOutputs | |
FilterUuid | |
FilterOpType | |
◆ WorkspaceModelFilter()
◆ clearPresets()
◆ filterAcceptsColumn()
bool filterAcceptsColumn |
( |
int |
sourceColumn, |
|
|
const QModelIndex & |
sourceParent |
|
) |
| const |
|
overrideprotected |
◆ filterAcceptsRow()
bool filterAcceptsRow |
( |
int |
sourceRow, |
|
|
const QModelIndex & |
sourceParent |
|
) |
| const |
|
overrideprotected |
◆ filterToEnum()
◆ filterToString()
◆ getFilterAnyMatch()
bool getFilterAnyMatch |
( |
| ) |
const |
|
inline |
◆ getFilterGlobalNames()
bool getFilterGlobalNames |
( |
| ) |
const |
|
inline |
◆ getFilterInputsOutputs()
bool getFilterInputsOutputs |
( |
| ) |
const |
|
inline |
◆ getFilterMap()
◆ getFilterOperationNames()
bool getFilterOperationNames |
( |
| ) |
const |
|
inline |
◆ getFilterOpType()
bool getFilterOpType |
( |
| ) |
const |
|
inline |
◆ getFilterTarget()
◆ getFilterTargetSetting()
◆ getFilterUuid()
bool getFilterUuid |
( |
| ) |
const |
|
inline |
◆ getTargetAsString()
QString getTargetAsString |
( |
| ) |
const |
◆ getWorkflowTreePresetNames()
◆ initFilterFlagFromSetting()
◆ lessThan()
bool lessThan |
( |
const QModelIndex & |
left, |
|
|
const QModelIndex & |
right |
|
) |
| const |
|
overrideprotected |
◆ loadFilterTarget()
bool loadFilterTarget |
( |
const QString & |
presetName, |
|
|
FilterTarget & |
target |
|
) |
| |
|
static |
◆ loadFilterValues()
bool loadFilterValues |
( |
const QString & |
presetName, |
|
|
FilterFlags & |
flags |
|
) |
| |
|
static |
◆ modelUpdatedByUser
void modelUpdatedByUser |
( |
| ) |
|
|
signal |
◆ resetFilterFlags() [1/2]
void resetFilterFlags |
( |
| ) |
|
◆ resetFilterFlags() [2/2]
void resetFilterFlags |
( |
FilterFlags & |
flags | ) |
|
|
static |
◆ saveFilterTarget()
bool saveFilterTarget |
( |
const QString & |
presetName, |
|
|
const FilterTarget & |
target |
|
) |
| |
|
static |
◆ saveFilterValues()
bool saveFilterValues |
( |
const QString & |
presetName, |
|
|
const FilterFlags & |
flags |
|
) |
| |
|
static |
◆ setAutoExpand
void setAutoExpand |
( |
bool |
b | ) |
|
|
slot |
If true, the tree is will be expanded after every change to the text in the line edit widget
◆ setFilterAnyMatch
void setFilterAnyMatch |
( |
| ) |
|
|
slot |
Display rows which would match any of the other filter types: global names, operation type, label, IO or uuid
◆ setFilterFlag()
◆ setFilterFlags()
void setFilterFlags |
( |
FilterFlags |
flags | ) |
|
◆ setFilterGlobalNames
void setFilterGlobalNames |
( |
| ) |
|
|
slot |
Display rows where the item has a global name that matches the text
◆ setFilterInputsOutputs
void setFilterInputsOutputs |
( |
| ) |
|
|
slot |
Display input and output rows where the input or output name matches the text
◆ setFilterOperationNames
void setFilterOperationNames |
( |
| ) |
|
|
slot |
Display operation rows where the operation label matches the text
◆ setFilterOpType
Display operation rows where the operation type matches the text
◆ setFilterTarget()
◆ setFilterUuid
Display operation rows where the operation uuid matches the text
◆ setShowDependencies
void setShowDependencies |
( |
bool |
b | ) |
|
|
slot |
Show or hide dependencies (inputs or outputs)
◆ setShowFilePaths
void setShowFilePaths |
( |
bool |
b | ) |
|
|
slot |
Show or hide the External file path column
◆ setShowGlobalNames
void setShowGlobalNames |
( |
bool |
b | ) |
|
|
slot |
Show or hide the Global name column
◆ setShowInputs
void setShowInputs |
( |
bool |
b | ) |
|
|
slot |
◆ setShowNestedWorkflows
void setShowNestedWorkflows |
( |
bool |
b | ) |
|
|
slot |
Show or hide the nested workflows (currently always true)
◆ setShowOperations
void setShowOperations |
( |
bool |
b | ) |
|
|
slot |
Show or hide operations (other than nested workflows which are always shown)
◆ setShowOpTypes
void setShowOpTypes |
( |
bool |
b | ) |
|
|
slot |
Show or hide the Operation type column
◆ setShowOutputs
void setShowOutputs |
( |
bool |
b | ) |
|
|
slot |
◆ setShowUuids
void setShowUuids |
( |
bool |
b | ) |
|
|
slot |
Show or hide the Uuid column
◆ setSortIOAlphabetically
void setSortIOAlphabetically |
( |
bool |
b | ) |
|
|
slot |
It true, the inputs and outputs for a given operation will be sorted alphabetically. If false, they are sorted according to their displayed order Inputs and outputs are always treated separately
◆ testFilterFlag()
◆ toString()
◆ updateFilterTargetSetting()
◆ updateSetting()
◆ filterFlags_
◆ filterTarget_