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

Class BaseAdjacentAlignmentProxyModel

         object --+                            
                  |                            
  sip.simplewrapper --+                        
                      |                        
            sip.wrapper --+                    
                          |                    
       PyQt4.QtCore.QObject --+                
                              |                
PyQt4.QtCore.QAbstractItemModel --+            
                                  |            
    PyQt4.QtGui.QAbstractProxyModel --+        
                                      |        
          Qt.QtCore.QAbstractProxyModel --+    
                                          |    
                             NonNestedProxy --+
                                              |
                                             BaseAdjacentAlignmentProxyModel
Known Subclasses:

A base proxy model to be subclassed by other proxy models that show data related to and synchronized with an alignment but in separate, adjacent views.

Instance Methods [hide private]
 
__init__(self, parent=None)
x.__init__(...) initializes x; see help(type(x)) for signature
 
setSourceModel(self, model)
 
rowCount(self, parent=None)
 
mapToSource(self, proxy_index)
 
mapFromSource(self, source_index)
 
data(self, index, role)
 
_getData(self, index, source_index, role)
 
columnCount(self, parent=None)

Inherited from NonNestedProxy: index, parent, resetCountCache

Inherited from Qt.QtCore.QAbstractProxyModel: reset, setRoleNames, setSupportedDragActions

Inherited from PyQt4.QtGui.QAbstractProxyModel: buddy, canFetchMore, fetchMore, flags, hasChildren, headerData, itemData, mapSelectionFromSource, mapSelectionToSource, mimeData, mimeTypes, revert, setData, setHeaderData, setItemData, sort, sourceModel, span, submit, supportedDropActions

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

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

Inherited from sip.simplewrapper: __new__

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

Class Variables [hide private]
tuple of 2-tuples of (str, enum.Enum) COL_DATA = ()
Tuple of header and display role information to be defined by subclasses.

Inherited from PyQt4.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)

setSourceModel(self, model)

 
Overrides: PyQt4.QtGui.QAbstractProxyModel.setSourceModel

rowCount(self, parent=None)

 
Overrides: PyQt4.QtCore.QAbstractItemModel.rowCount

mapToSource(self, proxy_index)

 
Overrides: PyQt4.QtGui.QAbstractProxyModel.mapToSource

mapFromSource(self, source_index)

 
Overrides: PyQt4.QtGui.QAbstractProxyModel.mapFromSource

data(self, index, role)

 
Overrides: PyQt4.QtCore.QAbstractItemModel.data

columnCount(self, parent=None)

 
Overrides: PyQt4.QtCore.QAbstractItemModel.columnCount

Class Variable Details [hide private]

COL_DATA

Tuple of header and display role information to be defined by subclasses. The tuple should consist of 2-tuples, each consisting of a column header string and data role to use for information to be displayed in this column.
Type:
tuple of 2-tuples of (str, enum.Enum)
Value:
()