python.shotgun_model.shotgun_standard_item module

class ShotgunStandardItem(*args, **kwargs)[source]

Bases: sphinx.ext.autodoc.importer._MockObject

Special implementation of StandardItem which bridges PyQt and PySide.

Warning

Do NOT construct instances of this class and then manually them to an existing ShotgunQueryModel (or one of its subclasses). Doing so will likely causes memory issues or issues centered around garbage collection as the model classes take a lot of care to know exactly which items exist, when they’re added/removed etc.

accessibleDescription(*args, **kwargs)[source]

Base class override which runs sanitize_qt() on the returned data

accessibleText(*args, **kwargs)[source]

Base class override which runs sanitize_qt() on the returned data

data(*args, **kwargs)[source]

Base class override which runs sanitize_qt() on the returned data

get_sg_data()[source]

Retrieves the shotgun data associated with this item. Only leaf nodes have shotgun data associated with them. On intermediate nodes, None will be returned.

Returns:Shotgun data or None if no data was associated
statusTip(*args, **kwargs)[source]

Base class override which runs sanitize_qt() on the returned data

text(*args, **kwargs)[source]

Base class override which runs sanitize_qt() on the returned data

toolTip(*args, **kwargs)[source]

Base class override which runs sanitize_qt() on the returned data

whatsThis(*args, **kwargs)[source]

Base class override which runs sanitize_qt() on the returned data