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

Class AlignmentInclusionProxyModel

                                  object --+                
                                           |                
 ui.qt.table_helper.DataMethodDecoratorMixin --+            
                                               |            
ui.qt.table_speed_up.MultipleRolesRoleModelMixin --+        
                                                   |        
    ui.qt.table_speed_up.MultipleRolesRoleProxyMixin --+    
                                                       |    
                                          object --+   |    
                                                   |   |    
                            GroupExpansionProxyMixin --+    
                                                       |    
                      object --+                       |    
                               |                       |    
               sip.simplewrapper --+                   |    
                                   |                   |    
                         sip.wrapper --+               |    
                                       |               |    
                    PyQt5.QtCore.QObject --+           |    
                                           |           |    
             PyQt5.QtCore.QAbstractItemModel --+       |    
                                               |       |    
                PyQt5.QtCore.QAbstractProxyModel --+   |    
                                                   |   |    
                                         NestedProxy --+    
                                                       |    
                         BaseAdjacentAlignmentProxyModel --+
                                                           |
                                                          AlignmentInclusionProxyModel

A proxy model that contains sequence inclusion for an alignment along with sequence title and chain information.

Nested Classes [hide private]
  Column
An enum for the left-hand fixed columns.

Inherited from GroupExpansionProxyMixin: __metaclass__

Inherited from PyQt5.QtCore.QAbstractItemModel: LayoutChangeHint

Instance Methods [hide private]
 
__init__(self, parent=None)
x.__init__(...) initializes x; see help(type(x)) for signature
int
getTitleColumnWidth(self)
Return the width of the longest title currently shown, including both sequence titles and annotation names
dict
_multipleRolesData(self, proxy_index, source_index, source_model, col, multiple_roles)
Provide data for all requested roles.
 
_fontData(self, proxy_index, source_index, source_model, col)
 
flags(self, index)
See Qt documentation for additional method documentation
 
setData(self, index, value, role=2)

Inherited from BaseAdjacentAlignmentProxyModel: columnCount, data, mapFromSource, mapToSource, rowCount, setSourceModel, textSizeChanged, updateData

Inherited from ui.qt.table_speed_up.MultipleRolesRoleModelMixin (private): _fetchMultipleRoles

Inherited from ui.qt.table_helper.DataMethodDecoratorMixin (private): _callDataMethod, _collectDataMethods

Inherited from GroupExpansionProxyMixin: groupByChanged, groupExpansionChanged

Inherited from NestedProxy: buddy, hasChildren, index, parent

Inherited from PyQt5.QtCore.QAbstractProxyModel: canDropMimeData, canFetchMore, dropMimeData, fetchMore, headerData, itemData, mapSelectionFromSource, mapSelectionToSource, mimeData, mimeTypes, resetInternalData, revert, setHeaderData, setItemData, sibling, sort, sourceModel, sourceModelChanged, span, submit, supportedDragActions, supportedDropActions

Inherited from PyQt5.QtCore.QAbstractItemModel: beginInsertColumns, beginInsertRows, beginMoveColumns, beginMoveRows, beginRemoveColumns, beginRemoveRows, beginResetModel, changePersistentIndex, changePersistentIndexList, columnsAboutToBeInserted, columnsAboutToBeMoved, columnsAboutToBeRemoved, columnsInserted, columnsMoved, columnsRemoved, createIndex, dataChanged, decodeData, encodeData, endInsertColumns, endInsertRows, endMoveColumns, endMoveRows, endRemoveColumns, endRemoveRows, endResetModel, hasIndex, headerDataChanged, insertColumn, insertColumns, insertRow, insertRows, layoutAboutToBeChanged, layoutChanged, match, modelAboutToBeReset, modelReset, moveColumn, moveColumns, moveRow, moveRows, persistentIndexList, removeColumn, removeColumns, removeRow, removeRows, roleNames, rowsAboutToBeInserted, rowsAboutToBeMoved, rowsAboutToBeRemoved, rowsInserted, rowsMoved, rowsRemoved

Inherited from PyQt5.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, objectNameChanged, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

Inherited from sip.simplewrapper: __new__

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

Class Variables [hide private]

Inherited from BaseAdjacentAlignmentProxyModel: FONT_SCALE, ROLES_FROM_PROXY, ROLES_FROM_SOURCE

Inherited from NestedProxy: TOP_LEVEL

Inherited from PyQt5.QtCore.QAbstractItemModel: HorizontalSortHint, NoLayoutChangeHint, VerticalSortHint

Inherited from PyQt5.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent=None)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

getTitleColumnWidth(self)

 

Return the width of the longest title currently shown, including both sequence titles and annotation names

Returns: int
The length of the longest title currently shown

_multipleRolesData(self, proxy_index, source_index, source_model, col, multiple_roles)

 

Provide data for all requested roles. The last argument must be an iterable of roles to fetch data for. All additional arguments will be passed to the data methods.

Returns: dict
A {role: value} dictionary of data for all requested roles.
Decorators:
  • @table_helper.data_method(CustomRole.MultipleRoles)
Overrides: ui.qt.table_speed_up.MultipleRolesRoleModelMixin._multipleRolesData
(inherited documentation)

_fontData(self, proxy_index, source_index, source_model, col)

 
Decorators:
  • @table_helper.data_method(CustomRole.FixedColFontRole)
Overrides: BaseAdjacentAlignmentProxyModel._fontData

flags(self, index)

 

See Qt documentation for additional method documentation

Overrides: PyQt5.QtCore.QAbstractItemModel.flags

setData(self, index, value, role=2)

 
Overrides: PyQt5.QtCore.QAbstractItemModel.setData