mgear.animbits.cache_manager.model module

class mgear.animbits.cache_manager.model.CacheManagerStringListModel(*args: Any, **kwargs: Any)

Bases: QAbstractListModel

Custom list model for the cache manager

Parameters:
  • items (list) – string list of rigs inside scene

  • parent (QtWidget) – Parent widget

data(index, role)

Override QAbstractListModel method

data returns the item name and icon at the given index

rowCount(parent)

Override QAbstractListModel method

rowCount returns the number of items in the list model