Package schrodinger :: Package application :: Package jaguar :: Package gui :: Module input_tab_widgets :: Class InputEntriesProxyModel
[hide private]
[frames] | no frames]

Class InputEntriesProxyModel

         object --+                                
                  |                                
  sip.simplewrapper --+                            
                      |                            
            sip.wrapper --+                        
                          |                        
       PyQt4.QtCore.QObject --+                    
                              |                    
PyQt4.QtCore.QAbstractItemModel --+                
                                  |                
    PyQt4.QtGui.QAbstractProxyModel --+            
                                      |            
      PyQt4.QtGui.QSortFilterProxyModel --+        
                                          |        
            Qt.QtCore.QSortFilterProxyModel --+    
                                              |    
        ui.qt.table_helper.PythonSortProxyModel --+
                                                  |
                                                 InputEntriesProxyModel

The proxy model for sorting the input entries table

Instance Methods [hide private]
 
setSourceModel(self, model)
 
promoteShowToolTip(self, model_index)
When a show_tool_tip signal is received from the model, translate the index and re-emit the signal.
UseFrom
source(self)
Return the row source, i.e., included entries or selected entries

Inherited from ui.qt.table_helper.PythonSortProxyModel: __init__, lessThan

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

Inherited from PyQt4.QtGui.QSortFilterProxyModel: buddy, canFetchMore, clear, columnCount, data, dropMimeData, dynamicSortFilter, fetchMore, filterAcceptsColumn, filterAcceptsRow, filterCaseSensitivity, filterChanged, filterKeyColumn, filterRegExp, filterRole, flags, hasChildren, headerData, index, insertColumns, insertRows, invalidate, invalidateFilter, isSortLocaleAware, mapFromSource, mapSelectionFromSource, mapSelectionToSource, mapToSource, match, mimeData, mimeTypes, parent, removeColumns, removeRows, rowCount, setData, setDynamicSortFilter, setFilterCaseSensitivity, setFilterFixedString, setFilterKeyColumn, setFilterRegExp, setFilterRole, setFilterWildcard, setHeaderData, setSortCaseSensitivity, setSortLocaleAware, setSortRole, sort, sortCaseSensitivity, sortColumn, sortOrder, sortRole, span, supportedDropActions

Inherited from PyQt4.QtGui.QAbstractProxyModel: itemData, revert, setItemData, sourceModel, submit

Inherited from PyQt4.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, insertRow, layoutAboutToBeChanged, layoutChanged, modelAboutToBeReset, modelReset, persistentIndexList, removeColumn, removeRow, 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]
  COLUMN = None
hash(x)
int SORT_ROLE = 34
If specified in a subclass, this value will be used as the sort role.

Inherited from ui.qt.table_helper.PythonSortProxyModel: DYNAMIC_SORT_FILTER

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Instance Variables [hide private]
 
show_tool_tip(...)
A signal indicating that the tool tip for the specified cell should explicitly be shown.
 
redraw(...)
A signal to request the view to repaint.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setSourceModel(self, model)

 
Overrides: PyQt4.QtGui.QAbstractProxyModel.setSourceModel

promoteShowToolTip(self, model_index)

 

When a show_tool_tip signal is received from the model, translate the index and re-emit the signal.

Parameters:
  • model_index (PyQt4.QtCore.QModelIndex) - The model index

source(self)

 

Return the row source, i.e., included entries or selected entries

Returns: UseFrom
The row source

Instance Variable Details [hide private]

redraw(...)

 
A signal to request the view to repaint. This shouldn't be necessary, but the view doesn't repaint without it.