seq  4.0.0-pre3
Public Member Functions | Static Public Member Functions | List of all members
parammodel.CustomNode Class Reference

Public Member Functions

def __init__ (self, data, parent=None)
 
def data (self, column)
 
def columnCount (self)
 
def childCount (self)
 
def child (self, row)
 
def last_child (self)
 
def parent (self)
 
def row (self)
 
def addChild (self, child)
 
def setValue (self, value)
 
def drow (self)
 Transform structure to dictionary. More...
 
def isEditable (self, col)
 

Static Public Member Functions

def from_dict (d)
 

Constructor & Destructor Documentation

◆ __init__()

def parammodel.CustomNode.__init__ (   self,
  data,
  parent = None 
)

Member Function Documentation

◆ addChild()

def parammodel.CustomNode.addChild (   self,
  child 
)

◆ child()

def parammodel.CustomNode.child (   self,
  row 
)

◆ childCount()

def parammodel.CustomNode.childCount (   self)

◆ columnCount()

def parammodel.CustomNode.columnCount (   self)

◆ data()

def parammodel.CustomNode.data (   self,
  column 
)

◆ drow()

def parammodel.CustomNode.drow (   self)

Transform structure to dictionary.

Note
The first time this logic was implemented with self.columnCount(), but it did not work.

◆ from_dict()

def parammodel.CustomNode.from_dict (   d)
static

◆ isEditable()

def parammodel.CustomNode.isEditable (   self,
  col 
)

◆ last_child()

def parammodel.CustomNode.last_child (   self)

◆ parent()

def parammodel.CustomNode.parent (   self)

◆ row()

def parammodel.CustomNode.row (   self)

◆ setValue()

def parammodel.CustomNode.setValue (   self,
  value 
)

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