TreatmentTreeModel

Incomplete documentation - sorry!

Note

Neil - please put some data in technical/class_headings/TreatmentTreeModel.rst

methods and attributes

class lib_openmolar.client.qt4.widgets.treatment_tree_model.TreatmentTreeModel(parent=None)[source]

Bases: PyQt4.QtCore.QAbstractItemModel

a model to display treatment items This is purely a display vessel for TreatmentModel

__init__(parent=None)[source]
columnCount(parent=None)[source]
data(index, role)[source]
headerData(column, orientation, role)[source]
index(row, column, parent)[source]
parent(index)[source]
rowCount(parent=<PyQt4.QtCore.QModelIndex object at 0x4d8d520>)[source]
setupModelData()[source]
update_treatments()[source]

this should be called whenever a treatment is added

Table Of Contents

Previous topic

TreatmentPage

Next topic

TreeItem