Generic List widget to be used when implementing filters that require
limited dynamic selections
Definition at line 44 of file list_filter_widget.py.
◆ __init__()
def rqt_console.filters.list_filter_widget.ListFilterWidget.__init__ |
( |
|
self, |
|
|
|
parentfilter, |
|
|
|
rospack, |
|
|
|
item_provider |
|
) |
| |
:param parentfilter: The filter object, must implement set_list and
contain _list ''QObject''
:param item_provider: a function designed to provide a list or dict
Definition at line 51 of file list_filter_widget.py.
◆ _add_item()
def rqt_console.filters.list_filter_widget.ListFilterWidget._add_item |
( |
|
self, |
|
|
|
item |
|
) |
| |
|
private |
◆ handle_item_changed()
def rqt_console.filters.list_filter_widget.ListFilterWidget.handle_item_changed |
( |
|
self | ) |
|
◆ repopulate()
def rqt_console.filters.list_filter_widget.ListFilterWidget.repopulate |
( |
|
self | ) |
|
Repopulates the display widgets based on the function arguments passed
in during initialization
Definition at line 87 of file list_filter_widget.py.
◆ restore_settings()
def rqt_console.filters.list_filter_widget.ListFilterWidget.restore_settings |
( |
|
self, |
|
|
|
settings |
|
) |
| |
Restores the settings for this filter from an ini file.
:param settings: used to extract the settings from an ini file ''qt_gui.settings.Settings''
Definition at line 128 of file list_filter_widget.py.
◆ save_settings()
def rqt_console.filters.list_filter_widget.ListFilterWidget.save_settings |
( |
|
self, |
|
|
|
settings |
|
) |
| |
Saves the settings for this filter.
:param settings: used to write the settings to an ini file ''qt_gui.settings.Settings''
Definition at line 121 of file list_filter_widget.py.
◆ select_item()
def rqt_console.filters.list_filter_widget.ListFilterWidget.select_item |
( |
|
self, |
|
|
|
text |
|
) |
| |
All items matching text will be selected in the list_widget
:param item: a string to be matched against the list ''str''
Definition at line 74 of file list_filter_widget.py.
◆ _display_list
rqt_console.filters.list_filter_widget.ListFilterWidget._display_list |
|
private |
◆ _list_populate_function
rqt_console.filters.list_filter_widget.ListFilterWidget._list_populate_function |
|
private |
◆ _parentfilter
rqt_console.filters.list_filter_widget.ListFilterWidget._parentfilter |
|
private |
The documentation for this class was generated from the following file: