Public Member Functions | Private Member Functions | Private Attributes | List of all members
rqt_msg.messages_widget.MessagesWidget Class Reference
Inheritance diagram for rqt_msg.messages_widget.MessagesWidget:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, mode=rosmsg.MODE_MSG, pkg_name='rqt_msg', ui_filename='messages.ui')
 
def cleanup_browsers_on_close (self)
 

Private Member Functions

def _add_message (self)
 
def _handle_mouse_press (self, event, old_pressEvent=QTreeView.mousePressEvent)
 
def _refresh_msgs (self, package=None)
 
def _refresh_packages (self, mode=rosmsg.MODE_MSG)
 
def _rightclick_menu (self, event)
 

Private Attributes

 _browsers
 
 _mode
 
 _msgs
 
 _package_list
 
 _rospack
 

Detailed Description

This class is intended to be able to handle msg, srv & action (actionlib).
The name of the class is kept to use message, by following the habit of
rosmsg (a script that can handle both msg & srv).

Definition at line 51 of file messages_widget.py.

Constructor & Destructor Documentation

◆ __init__()

def rqt_msg.messages_widget.MessagesWidget.__init__ (   self,
  mode = rosmsg.MODE_MSG,
  pkg_name = 'rqt_msg',
  ui_filename = 'messages.ui' 
)
:param ui_filename: This Qt-based .ui file must have elements that are
            referred from this class. Otherwise unexpected
            errors are likely to happen. Best way to avoid that
            situation when you want to give your own .ui file
            is to implement all Qt components in
            rqt_msg/resource/message.ui file.

Definition at line 61 of file messages_widget.py.

Member Function Documentation

◆ _add_message()

def rqt_msg.messages_widget.MessagesWidget._add_message (   self)
private

Definition at line 130 of file messages_widget.py.

◆ _handle_mouse_press()

def rqt_msg.messages_widget.MessagesWidget._handle_mouse_press (   self,
  event,
  old_pressEvent = QTreeView.mousePressEvent 
)
private

Definition at line 160 of file messages_widget.py.

◆ _refresh_msgs()

def rqt_msg.messages_widget.MessagesWidget._refresh_msgs (   self,
  package = None 
)
private

Definition at line 101 of file messages_widget.py.

◆ _refresh_packages()

def rqt_msg.messages_widget.MessagesWidget._refresh_packages (   self,
  mode = rosmsg.MODE_MSG 
)
private

Definition at line 87 of file messages_widget.py.

◆ _rightclick_menu()

def rqt_msg.messages_widget.MessagesWidget._rightclick_menu (   self,
  event 
)
private
:type event: QEvent

Definition at line 167 of file messages_widget.py.

◆ cleanup_browsers_on_close()

def rqt_msg.messages_widget.MessagesWidget.cleanup_browsers_on_close (   self)

Definition at line 220 of file messages_widget.py.

Member Data Documentation

◆ _browsers

rqt_msg.messages_widget.MessagesWidget._browsers
private

Definition at line 85 of file messages_widget.py.

◆ _mode

rqt_msg.messages_widget.MessagesWidget._mode
private

Definition at line 76 of file messages_widget.py.

◆ _msgs

rqt_msg.messages_widget.MessagesWidget._msgs
private

Definition at line 104 of file messages_widget.py.

◆ _package_list

rqt_msg.messages_widget.MessagesWidget._package_list
private

Definition at line 95 of file messages_widget.py.

◆ _rospack

rqt_msg.messages_widget.MessagesWidget._rospack
private

Definition at line 72 of file messages_widget.py.


The documentation for this class was generated from the following file:


rqt_msg
Author(s): Aaron Blasdel, Dirk Thomas
autogenerated on Fri Mar 3 2023 03:49:53