Table Models and Views
- class squirrel.tables.pv_browser_table.CSVTableModel(*args: Any, **kwargs: Any)[source]
Methods
__call__(*args, **kwargs)Call self as a function.
Return comprehensive validation results
columnCount
data
headerData
rowCount
- class squirrel.tables.pv_browser_table.PVBrowserFilterProxyModel(*args: Any, **kwargs: Any)[source]
- Attributes:
search_stringGet the current search string for filtering.
Methods
__call__(*args, **kwargs)Call self as a function.
is_tag_subset(entry_tags)Check if the entry's tags are a subset of the filter's tag set.
search_accepts_entry(entry)Check if the entry matches the current search string.
set_tag_set(tag_set)Set the tag set for filtering.
filterAcceptsRow
- is_tag_subset(entry_tags: dict[int, set[int]]) bool[source]
Check if the entry’s tags are a subset of the filter’s tag set.
- Parameters:
- entry_tagsTagSet
The tags of the entry to check.
- Returns:
- bool
True if the entry’s tags are a subset of the filter’s tag set, False otherwise.
- class squirrel.tables.pv_browser_table.PVBrowserTableModel(*args: Any, **kwargs: Any)[source]
Methods
__call__(*args, **kwargs)Call self as a function.
add_pv
add_pvs
canFetchMore
columnCount
data
fetchMore
headerData
refetch_row
removeRow
rowCount