Skip to content

LabelListModel

thorbenk edited this page Jul 24, 2011 · 4 revisions

Derives QAbstractListModel. Represents the list of labels for the classification workflow

public API:
  • functions:
    • addLabel -> return Label reference
    • removeSelectedLabel
    • selectLabel(reference)
  • signals:
    • labelAdded(object)
    • labelRemoved(object)

The current implementation is called LabelListWidget and can be found here: https://github.com/Ilastik/ilastik/blob/master/ilastik/modules/classification/gui/labelWidget.py. It does not separate model from view.

Clone this wiki locally