TaurusModelModel
- class TaurusModelModel(items=None)[source]
A Qt data model for describing taurus models
Import from
taurus.qt.qtgui.panel
as:from taurus.qt.qtgui.panel import TaurusModelModel
- addItem(item)[source]
appends an item to the internal list
- Parameters:
item (TaurusModelItem)
- insertItems(row, items)[source]
convenience method to add new rows by passing a list of strings ()
- Parameters:
row (int) – the row of the list at which the item insertion starts, if row==-1, items will be appended to the list
items (seq) – a sequence items to add to the list. The objects in the sequence can be either strings,
TaurusModelItem
objects or tuples of valid arguments for initializingTaurusModelItem
objects