|
def | _add_exclude_filter (self, filter_index=False) |
|
def | _add_highlight_filter (self, filter_index=False) |
|
def | _delete_exclude_filter (self) |
|
def | _delete_highlight_filter (self) |
|
def | _delete_selected_rows (self) |
|
def | _handle_clear_button_clicked (self, checked) |
|
def | _handle_column_resize_clicked (self) |
|
def | _handle_column_right_click (self, pos) |
|
def | _handle_custom_keypress (self, event, old_keyPressEvent=QTableView.keyPressEvent) |
|
def | _handle_load_clicked (self, checked) |
|
def | _handle_mouse_double_click (self, event, old_doubleclickevent=QTableView.mouseDoubleClickEvent) |
|
def | _handle_mouse_press (self, event, old_pressEvent=QTableView.mousePressEvent) |
|
def | _handle_pause_clicked (self) |
|
def | _handle_record_clicked (self) |
|
def | _handle_save_clicked (self, checked) |
|
def | _process_highlight_exclude_filter (self, selection, selectiontype, exclude=False) |
|
def | _rightclick_menu (self, event) |
|
def | _show_browsers (self) |
|
Primary widget for the rqt_console plugin.
Definition at line 66 of file console_widget.py.
◆ __init__()
def rqt_console.console_widget.ConsoleWidget.__init__ |
( |
|
self, |
|
|
|
proxy_model, |
|
|
|
rospack, |
|
|
|
minimal = False |
|
) |
| |
:param proxymodel: the proxy model to display in the widget,''QSortFilterProxyModel''
:param minimal: if true the load, save and column buttons will be hidden as well as the
filter splitter, ''bool''
Definition at line 72 of file console_widget.py.
◆ _add_exclude_filter()
def rqt_console.console_widget.ConsoleWidget._add_exclude_filter |
( |
|
self, |
|
|
|
filter_index = False |
|
) |
| |
|
private |
:param filter_index: if false then this function shows a QMenu to allow the user to choose a
type of message filter. ''bool''
OR
:param filter_index: the index of the filter to be added, ''int''
:return: if a filter was added then the index is returned, ''int''
OR
:return: if no filter was added then None is returned, ''NoneType''
Definition at line 357 of file console_widget.py.
◆ _add_highlight_filter()
def rqt_console.console_widget.ConsoleWidget._add_highlight_filter |
( |
|
self, |
|
|
|
filter_index = False |
|
) |
| |
|
private |
:param filter_index: if false then this function shows a QMenu to allow the user to choose
a type of message filter. ''bool''
OR
:param filter_index: the index of the filter to be added, ''int''
:return: if a filter was added then the index is returned, ''int''
OR
:return: if no filter was added then None is returned, ''NoneType''
Definition at line 299 of file console_widget.py.
◆ _delete_exclude_filter()
def rqt_console.console_widget.ConsoleWidget._delete_exclude_filter |
( |
|
self | ) |
|
|
private |
Deletes any exclude filters which have a checked delete button
Definition at line 285 of file console_widget.py.
◆ _delete_highlight_filter()
def rqt_console.console_widget.ConsoleWidget._delete_highlight_filter |
( |
|
self | ) |
|
|
private |
Deletes any highlight filters which have a checked delete button
Definition at line 271 of file console_widget.py.
◆ _delete_selected_rows()
def rqt_console.console_widget.ConsoleWidget._delete_selected_rows |
( |
|
self | ) |
|
|
private |
◆ _handle_clear_button_clicked()
def rqt_console.console_widget.ConsoleWidget._handle_clear_button_clicked |
( |
|
self, |
|
|
|
checked |
|
) |
| |
|
private |
◆ _handle_column_resize_clicked()
def rqt_console.console_widget.ConsoleWidget._handle_column_resize_clicked |
( |
|
self | ) |
|
|
private |
◆ _handle_column_right_click()
def rqt_console.console_widget.ConsoleWidget._handle_column_right_click |
( |
|
self, |
|
|
|
pos |
|
) |
| |
|
private |
◆ _handle_custom_keypress()
def rqt_console.console_widget.ConsoleWidget._handle_custom_keypress |
( |
|
self, |
|
|
|
event, |
|
|
|
old_keyPressEvent = QTableView.keyPressEvent |
|
) |
| |
|
private |
Handles the delete key.
The delete key removes the tableview's selected rows from the datamodel
Definition at line 775 of file console_widget.py.
◆ _handle_load_clicked()
def rqt_console.console_widget.ConsoleWidget._handle_load_clicked |
( |
|
self, |
|
|
|
checked |
|
) |
| |
|
private |
◆ _handle_mouse_double_click()
def rqt_console.console_widget.ConsoleWidget._handle_mouse_double_click |
( |
|
self, |
|
|
|
event, |
|
|
|
old_doubleclickevent = QTableView.mouseDoubleClickEvent |
|
) |
| |
|
private |
◆ _handle_mouse_press()
def rqt_console.console_widget.ConsoleWidget._handle_mouse_press |
( |
|
self, |
|
|
|
event, |
|
|
|
old_pressEvent = QTableView.mousePressEvent |
|
) |
| |
|
private |
◆ _handle_pause_clicked()
def rqt_console.console_widget.ConsoleWidget._handle_pause_clicked |
( |
|
self | ) |
|
|
private |
◆ _handle_record_clicked()
def rqt_console.console_widget.ConsoleWidget._handle_record_clicked |
( |
|
self | ) |
|
|
private |
◆ _handle_save_clicked()
def rqt_console.console_widget.ConsoleWidget._handle_save_clicked |
( |
|
self, |
|
|
|
checked |
|
) |
| |
|
private |
◆ _process_highlight_exclude_filter()
def rqt_console.console_widget.ConsoleWidget._process_highlight_exclude_filter |
( |
|
self, |
|
|
|
selection, |
|
|
|
selectiontype, |
|
|
|
exclude = False |
|
) |
| |
|
private |
Modifies the relevant filters (based on selectiontype) to remove (exclude=True)
or highlight (exclude=False) the selection from the dataset in the tableview.
:param selection: the actual selection, ''str''
:param selectiontype: the type of selection, ''str''
:param exclude: If True process as an exclude filter, False process as an highlight filter,
''bool''
Definition at line 413 of file console_widget.py.
◆ _rightclick_menu()
def rqt_console.console_widget.ConsoleWidget._rightclick_menu |
( |
|
self, |
|
|
|
event |
|
) |
| |
|
private |
Dynamically builds the rightclick menu based on the unique column data
from the passed in datamodel and then launches it modally
:param event: the mouse event object, ''QMouseEvent''
Definition at line 482 of file console_widget.py.
◆ _show_browsers()
def rqt_console.console_widget.ConsoleWidget._show_browsers |
( |
|
self | ) |
|
|
private |
◆ cleanup_browsers_on_close()
def rqt_console.console_widget.ConsoleWidget.cleanup_browsers_on_close |
( |
|
self | ) |
|
◆ get_message_summary()
def rqt_console.console_widget.ConsoleWidget.get_message_summary |
( |
|
self, |
|
|
|
start_time_offset = None , |
|
|
|
end_time_offset = None |
|
) |
| |
:param start_time: number of seconds before now to start, ''int'' (optional)
:param end_time: number of seconds before now to end, ''int'' (optional)
:returns: summary of message numbers within time
Definition at line 212 of file console_widget.py.
◆ get_time_range_from_selection()
def rqt_console.console_widget.ConsoleWidget.get_time_range_from_selection |
( |
|
self | ) |
|
:returns: the range of time of messages in the current table selection (min, max),
''tuple(str,str)''
Definition at line 255 of file console_widget.py.
◆ restore_settings()
def rqt_console.console_widget.ConsoleWidget.restore_settings |
( |
|
self, |
|
|
|
pluggin_settings, |
|
|
|
instance_settings |
|
) |
| |
◆ save_settings()
def rqt_console.console_widget.ConsoleWidget.save_settings |
( |
|
self, |
|
|
|
plugin_settings, |
|
|
|
instance_settings |
|
) |
| |
◆ update_status()
def rqt_console.console_widget.ConsoleWidget.update_status |
( |
|
self | ) |
|
Sets the message display label to the current value
Definition at line 569 of file console_widget.py.
◆ _browsers
rqt_console.console_widget.ConsoleWidget._browsers |
|
private |
◆ _columnwidth
rqt_console.console_widget.ConsoleWidget._columnwidth |
|
private |
◆ _exclude_filters
rqt_console.console_widget.ConsoleWidget._exclude_filters |
|
private |
◆ _filter_factory_order
rqt_console.console_widget.ConsoleWidget._filter_factory_order |
|
private |
◆ _highlight_filters
rqt_console.console_widget.ConsoleWidget._highlight_filters |
|
private |
◆ _model
rqt_console.console_widget.ConsoleWidget._model |
|
private |
◆ _paused
rqt_console.console_widget.ConsoleWidget._paused |
|
private |
◆ _proxy_model
rqt_console.console_widget.ConsoleWidget._proxy_model |
|
private |
◆ _rospack
rqt_console.console_widget.ConsoleWidget._rospack |
|
private |
◆ debug
rqt_console.console_widget.ConsoleWidget.debug |
◆ error
rqt_console.console_widget.ConsoleWidget.error |
◆ fatal
rqt_console.console_widget.ConsoleWidget.fatal |
◆ filter_factory
rqt_console.console_widget.ConsoleWidget.filter_factory |
◆ info
rqt_console.console_widget.ConsoleWidget.info |
◆ warn
rqt_console.console_widget.ConsoleWidget.warn |
The documentation for this class was generated from the following file: