PyFlex  1.0
Riser cross section analysis
main.FullResultTreeModel Class Reference
Inheritance diagram for main.FullResultTreeModel:
Collaboration diagram for main.FullResultTreeModel:

Public Member Functions

def __init__ (self, names, parent=None)
 
def add_result (self, number)
 
def flags (self, index)
 
def toggle (self, index)
 
def toggler (self, index, finalstate, colorlist)
 
def singleplot (self, treedata, colorlist, finalstate, item)
 
def recursiveplot (self, item, colorlist, treedata, level, finalstate)
 
def data (self, index, role)
 
- Public Member Functions inherited from ui_mainwindow.GenericTreeModel
def __init__ (self, parent=None)
 
def columnCount (self, parent)
 
def getItem (self, index)
 
def data (self, index, role)
 
def setData (self, index, value, role=QtCore.Qt.EditRole)
 
def supportedDropActions (self)
 
def headerData (self, section, orientation, role)
 
def index (self, row, column, parent)
 
def parent (self, index)
 
def removeRows (self, position, rows, parent=QtCore.QModelIndex())
 
def rowCount (self, parent)
 
def insertRows (self, position, rows, parent=QtCore.QModelIndex())
 

Static Public Member Functions

def colorlist ()
 

Public Attributes

 rootItem
 
 activePlots
 
 names
 
 colorIndexTaken
 
 plotData
 

Detailed Description

Definition at line 1546 of file main.py.

Constructor & Destructor Documentation

def main.FullResultTreeModel.__init__ (   self,
  names,
  parent = None 
)

Definition at line 1547 of file main.py.

Member Function Documentation

def main.FullResultTreeModel.add_result (   self,
  number 
)

Definition at line 1557 of file main.py.

def main.FullResultTreeModel.colorlist ( )
static

Definition at line 1767 of file main.py.

Here is the caller graph for this function:

def main.FullResultTreeModel.data (   self,
  index,
  role 
)
Do not know. called by the view to get hold of the data I believe
:param index: the index
:param role: the role
:return:the data in display friendly mode

Definition at line 1774 of file main.py.

Here is the caller graph for this function:

def main.FullResultTreeModel.flags (   self,
  index 
)
Used to select the way each cell works
:param index: the index of the item queried
:return: view get info on items "Type"

Definition at line 1625 of file main.py.

def main.FullResultTreeModel.recursiveplot (   self,
  item,
  colorlist,
  treedata,
  level,
  finalstate 
)

Definition at line 1749 of file main.py.

Here is the call graph for this function:

Here is the caller graph for this function:

def main.FullResultTreeModel.singleplot (   self,
  treedata,
  colorlist,
  finalstate,
  item 
)

Definition at line 1720 of file main.py.

Here is the caller graph for this function:

def main.FullResultTreeModel.toggle (   self,
  index 
)
method for toggling, changing color of the recursive selection and reporting back which lines that are,
added removed and the color of the added lines
:param index: the index of the item being toggled

Definition at line 1638 of file main.py.

Here is the call graph for this function:

def main.FullResultTreeModel.toggler (   self,
  index,
  finalstate,
  colorlist 
)
toggles index including children, and build info for plotting
:param colorlist: list of colors applied in plot and tree_model
:param finalstate: The selected items final state (Yes or No)
:param index: the index of the item selected

Definition at line 1663 of file main.py.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

main.FullResultTreeModel.activePlots

Definition at line 1552 of file main.py.

main.FullResultTreeModel.colorIndexTaken

Definition at line 1554 of file main.py.

main.FullResultTreeModel.names

Definition at line 1553 of file main.py.

main.FullResultTreeModel.plotData

Definition at line 1555 of file main.py.

main.FullResultTreeModel.rootItem

Definition at line 1549 of file main.py.


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