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

Class LaunchItem

source code

       object --+            
                |            
sip.simplewrapper --+        
                    |        
          sip.wrapper --+    
                        |    
PyQt5.QtGui.QStandardItem --+
                            |
                           LaunchItem

The launch item stored in the launch model.

Nested Classes

Inherited from PyQt5.QtGui.QStandardItem: ItemType

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=2) 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

Inherited from PyQt5.QtGui.QStandardItem: __eq__, __ge__, __gt__, __le__, __lt__, __ne__, accessibleDescription, accessibleText, appendColumn, appendRow, appendRows, background, checkState, child, clone, column, columnCount, emitDataChanged, flags, font, foreground, hasChildren, icon, index, insertColumn, insertColumns, insertRow, insertRows, isCheckable, isDragEnabled, isDropEnabled, isEditable, isEnabled, isSelectable, isTristate, model, parent, read, removeColumn, removeColumns, removeRow, removeRows, row, rowCount, setAccessibleDescription, setAccessibleText, setBackground, setCheckState, setCheckable, setChild, setColumnCount, setDragEnabled, setDropEnabled, setEditable, setEnabled, setFlags, setFont, setForeground, setIcon, setRowCount, setSelectable, setSizeHint, setStatusTip, setText, setTextAlignment, setToolTip, setTristate, setWhatsThis, sizeHint, sortChildren, statusTip, takeChild, takeColumn, takeRow, text, textAlignment, toolTip, whatsThis, write

Inherited from sip.simplewrapper: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

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 = 1040
  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

Inherited from PyQt5.QtGui.QStandardItem: Type, UserType

Properties

Inherited from object: __class__

Method Details

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

source code 

Initialize the topic item.

Parameters:
  • name (str) - the topic name
Overrides: object.__init__

type(self)

source code 
Overrides: PyQt5.QtGui.QStandardItem.type

data(self, role)

source code 

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

Parameters:
Overrides: PyQt5.QtGui.QStandardItem.data

setData(self, value, role=2)

source code 
Overrides: PyQt5.QtGui.QStandardItem.setData

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