shotgunsoftware/tk-framework-shotgunutils — pull request #4 by tonybarbieri (2014-05-27 18:11:00+00:00)
Title: Adds entity_ids property and index_from_entity method.

Adds a property "entity_ids" which will return a list containing all of the entity_ids currently in the model.

Adds a method "index_from_entity" which returns a QModelIndex for the QStandardItem found that matches the entity_type and entity_id. If a QStandardItem is not found, None is returned.

Thanks!