Package node_manager_fkie :: Module launch_list_model :: Class LaunchItem
[frames] | no frames]

Class LaunchItem

source code

python_qt_binding.QtGui.QStandardItem --+
                                        |
                                       LaunchItem

The launch item stored in the launch model.

Instance Methods
 
__init__(self, name, path, lid, parent=None)
Initialize the topic item.
source code
 
type(self) source code
 
data(self, role)
The view asks us for all sorts of information about our data...
source code
 
setData(self, value, role=Qt.EditRole) source code
boolean
isLaunchFile(self)
Returns: True if it is a launch file
source code
boolean
isConfigFile(self)
Returns: True if it is a config file
source code
boolean
isProfileFile(self)
Returns: True if it is a node_manager profile file
source code
Class Methods
[LaunchItem or QtGui.QStandardItem, ...]
getItemList(self, name, path, item_id, root)
Creates the list of the items .
source code
Class Variables
  ITEM_TYPE = QStandardItem.UserType+ 40
  NOT_FOUND = -1
  NOTHING = 0
  PROFILE = 5
  RECENT_PROFILE = 6
  RECENT_FILE = 10
  LAUNCH_FILE = 11
  CFG_FILE = 12
  FOLDER = 20
  PACKAGE = 21
  STACK = 22
Method Details

__init__(self, name, path, lid, parent=None)
(Constructor)

source code 

Initialize the topic item.

Parameters:
  • name (str) - the topic name

data(self, role)

source code 

The view asks us for all sorts of information about our data...

Parameters:

getItemList(self, name, path, item_id, root)
Class Method

source code 

Creates the list of the items . This list is used for the visualization of topic data as a table row.

Parameters:
Returns: [LaunchItem or QtGui.QStandardItem, ...]
the list for the representation as a row

isLaunchFile(self)

source code 
Returns: boolean
True if it is a launch file

isConfigFile(self)

source code 
Returns: boolean
True if it is a config file

isProfileFile(self)

source code 
Returns: boolean
True if it is a node_manager profile file