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

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

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

Definition at line 130 of file messages_widget.py.

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.

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

Definition at line 101 of file messages_widget.py.

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

Definition at line 87 of file messages_widget.py.

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

Definition at line 167 of file messages_widget.py.

def rqt_msg.messages_widget.MessagesWidget.cleanup_browsers_on_close (   self)

Definition at line 220 of file messages_widget.py.

Member Data Documentation

rqt_msg.messages_widget.MessagesWidget._browsers
private

Definition at line 85 of file messages_widget.py.

rqt_msg.messages_widget.MessagesWidget._mode
private

Definition at line 76 of file messages_widget.py.

rqt_msg.messages_widget.MessagesWidget._msgs
private

Definition at line 104 of file messages_widget.py.

rqt_msg.messages_widget.MessagesWidget._package_list
private

Definition at line 95 of file messages_widget.py.

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
autogenerated on Wed Jun 5 2019 22:37:22