Bases: PyQt4.QtGui.QListView
A list view widget to display and manage a list of models
Tries to identify the type of model and show the state of the device/attr associated qith it. It also allows drag and drop of models and sorting.
adds models to the list
Parameters: | models (:class:~`list` <:class:~`str`>) – sequence of model names to be added |
---|
removes all items from the list
see QWidget.contextMenuEvent()
returns the model item objects
Return type: | :class:~`list` <:class:~`TaurusModelItem`> |
---|---|
Returns: |
See also
returns a the model names corresponding to the items in the list
Return type: | :class:~`list` <:class:~`str`> |
---|---|
Returns: |
See also
adds an empty row before the given position
Parameters: | position (:class:~`int` or :class:~`None`) – position at which the new row will be added. If None passed, it will be added at the end. |
---|
removes selected items from the list