orangecontrib.tomwer.widgets.control.FilterOW.NameFilterOW#

class orangecontrib.tomwer.widgets.control.FilterOW.NameFilterOW(*args, captionTitle=None, **kwargs)#
class Inputs#
data = Input(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, handler='applyfilter', ...)#
class Outputs#
data = Output(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, ...)#
applyfilter(value, id=None)#
description: str = "Simple widget which filter some data directory if the namedoesn't match with the pattern defined."#

Short widget description, displayed in canvas help tooltips.

ewokstaskclass#

alias of FileNameFilterTask

getActiveFilter()#
getPattern()#
icon: str = 'icons/namefilter.svg'#

Widget icon path, relative to the defining module.

id = 'orange.widgets.tomwer.filterow'#
invertFilterAction()#
keywords: Union[str, List[str]] = ['tomography', 'selection', 'tomwer', 'folder', 'filter']#

Widget keywords, used for finding it in the quick menu.

name: str = 'scan filter'#

Widget name, as presented in the Canvas.

priority: int = 106#

Widget priority, used for sorting within a category.

reprocess(dataset)#

Reprocess a dataset.

Parameters:

dataset (Dataset) – dataset to reprocess

resizing_enabled = True#

Should the widget’s window be resizeable? (if not, the widget will derive a fixed size constraint from its layout)

setActiveFilter(filter)#
setPattern(pattern)#
settingsHandler: SettingsHandler = <orangewidget.settings.SettingsHandler object>#

Settings handler, can be overridden for context handling.

want_main_area = True#

Should the widget construct a mainArea? (a resizable area to the right of the controlArea)