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

Class InputEntriesProxyModel

  PyQt4.QtGui.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

Class Variables [hide private]
  COLUMN = None
hash(x)
int SORT_ROLE = SORT_ROLE
If specified in a subclass, this value will be used as the sort role.
Instance Variables [hide private]
PyQt4.QtCore.pyqtSignal show_tool_tip = QtCore.pyqtSignal(QtCore.QModelIndex)
A signal indicating that the tool tip for the specified cell should explicitly be shown.
PyQt4.QtCore.pyqtSignal redraw = QtCore.pyqtSignal()
A signal to request the view to repaint.
Method Details [hide private]

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.
Type:
PyQt4.QtCore.pyqtSignal
Value:
QtCore.pyqtSignal()