Package node_manager_fkie :: Module node_tree_model :: Class CellItem
[frames] | no frames]

Class CellItem

source code

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

Item for a cell. References to a node item.

Nested Classes

Inherited from PyQt5.QtGui.QStandardItem: ItemType

Instance Methods
 
__init__(self, name, item=None, parent=None)
Initialize the CellItem object with given values.
source code

Inherited from PyQt5.QtGui.QStandardItem: __eq__, __ge__, __gt__, __le__, __lt__, __ne__, accessibleDescription, accessibleText, appendColumn, appendRow, appendRows, background, checkState, child, clone, column, columnCount, data, 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, setData, 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, type, whatsThis, write

Inherited from sip.simplewrapper: __new__

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

Class Variables
  ITEM_TYPE = 297

Inherited from PyQt5.QtGui.QStandardItem: Type, UserType

Properties
str name
The name of this group.

Inherited from object: __class__

Method Details

__init__(self, name, item=None, parent=None)
(Constructor)

source code 

Initialize the CellItem object with given values.

Parameters:
  • name (str) - the name of the group
  • parent (QtGui.QStandardItem) - the parent item. In most cases this is the HostItem. The variable is used to determine the different columns of the NodeItem.
Overrides: object.__init__

Property Details

name

The name of this group.

Get Method:
unreachable.name(self) - The name of this group.
Type:
str