Package schrodinger :: Package application :: Package msv :: Package gui :: Module viewmodel :: Class GroupExpansionProxyMixin
[hide private]
[frames] | no frames]

Class GroupExpansionProxyMixin

object --+
         |
        GroupExpansionProxyMixin
Known Subclasses:

A mixin for tree models that transmit group expansion information to their view. Used in both the fixed and scrollable columns.

Nested Classes [hide private]
  __metaclass__
Instance Methods [hide private]
 
groupExpansionChanged(...)
 
groupByChanged(...)
 
setSourceModel(self, model)
 
_groupExpansionChanged(self, source_indices, expanded)
Pass along a groupExpansionChanged signal from the source model after mapping the indices to be expanded or collapsed.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_groupExpansionChanged(self, source_indices, expanded)

 

Pass along a groupExpansionChanged signal from the source model after mapping the indices to be expanded or collapsed.

Parameters:
  • source_indices (list) - A list of all source model indices (QtCore.QModelIndex) to expand or collapse.
  • expanded (bool) - True if the group should be expanded. False if it should be collapsed.