Package schrodinger :: Package application :: Package phase :: Module phase_widgets :: Class HypothesisModel
[hide private]
[frames] | no frames]

Class HypothesisModel

         object --+                            
                  |                            
  sip.simplewrapper --+                        
                      |                        
            sip.wrapper --+                    
                          |                    
       PyQt4.QtCore.QObject --+                
                              |                
PyQt4.QtCore.QAbstractItemModel --+            
                                  |            
   PyQt4.QtCore.QAbstractTableModel --+        
                                      |        
  ui.qt.table_helper.RowBasedTableModel --+    
                                          |    
       ui.qt.table_helper.RowBasedListModel --+
                                              |
                                             HypothesisModel

Hypotheses Model.

Nested Classes [hide private]
type ROW_CLASS
A class that represents a single row of the table.
Instance Methods [hide private]
 
_getData(self, hypo_row)
list of PhpHypoAdaptor
getAllHypotheses(self)
Returns a list of all PhpHypoAdaptor objects in this model.
 
getAllHypoIDs(self)
Return a list of IDs of all hypotheses in the table.

Inherited from ui.qt.table_helper.RowBasedListModel: columnCount, headerData, index

Inherited from ui.qt.table_helper.RowBasedListModel (private): _callDataMethod, _rowObjectData

Inherited from ui.qt.table_helper.RowBasedTableModel: __init__, af2SettingsGetValue, af2SettingsSetValue, appendRow, appendRowObject, data, flags, formatFloat, loadData, removeRows, removeRowsByIndices, replaceRows, reset, rowCount, setData

Inherited from ui.qt.table_helper.RowBasedTableModel (private): _checkEditableCols, _createTableColumnsObject, _getRowFromIndex, _setData, _textAlignmentData

Inherited from PyQt4.QtCore.QAbstractTableModel: dropMimeData, hasChildren, parent

Inherited from PyQt4.QtCore.QAbstractItemModel: beginInsertColumns, beginInsertRows, beginMoveColumns, beginMoveRows, beginRemoveColumns, beginRemoveRows, beginResetModel, buddy, canFetchMore, changePersistentIndex, changePersistentIndexList, columnsAboutToBeInserted, columnsAboutToBeMoved, columnsAboutToBeRemoved, columnsInserted, columnsMoved, columnsRemoved, createIndex, dataChanged, decodeData, encodeData, endInsertColumns, endInsertRows, endMoveColumns, endMoveRows, endRemoveColumns, endRemoveRows, endResetModel, fetchMore, hasIndex, headerDataChanged, insertColumn, insertColumns, insertRow, insertRows, itemData, layoutAboutToBeChanged, layoutChanged, match, mimeData, mimeTypes, modelAboutToBeReset, modelReset, persistentIndexList, removeColumn, removeColumns, removeRow, resetInternalData, revert, roleNames, rowsAboutToBeInserted, rowsAboutToBeMoved, rowsAboutToBeRemoved, rowsInserted, rowsMoved, rowsRemoved, setHeaderData, setItemData, setRoleNames, setSupportedDragActions, sibling, sort, span, submit, supportedDragActions, supportedDropActions

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]

Inherited from ui.qt.table_helper.RowBasedTableModel: CHECKABLE_COLS, COLUMN, Column, EDITABLE_COLS, ROW_LIST_OFFSET, SHOW_ROW_NUMBERS, UNEDITABLE_COLS

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_getData(self, hypo_row)

 
Decorators:
  • @table_helper.data_method(Qt.DisplayRole)

getAllHypotheses(self)

 

Returns a list of all PhpHypoAdaptor objects in this model.

Returns: list of PhpHypoAdaptor
All hypotheses