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

Class InputEntriesView

PyQt4.QtGui.QTableView --+    
                         |    
   utils.ProjTableLikeView --+
                             |
                            InputEntriesView

The view for the input entries table

Nested Classes [hide private]
  COLUMN
Column constants for the selected entries table
Instance Methods [hide private]
 
__init__(self, parent)
Instantiate the view, connect the appropriate delegates, and set the selection behavior to mimic the project table.
 
_setDelegates(self, parent)
Add delegates to the appropriate columns
 
_setInclusionDelegate(self, parent)
Add the delegate to the inclusion checkbox column
 
_setChargeAndSpinMultDelegates(self, parent)
Add delegates to the charge and spin multiplicity columns
 
_setBasisDelegate(self, parent)
Add the delegate to the basis column
 
showToolTip(self, index)
Show the tool tip for the specified index in response to the model emitting a show_tool_tip signal.
 
setModel(self, model)
 
contextMenuEvent(self, event)
 
_removeRows(self)
Remove all highlighted rows from the table by un-selecting or un- including them in the project table.

Inherited from utils.ProjTableLikeView: commitDataToSelected, selectionCommand, setItemDelegateForColumn

Method Details [hide private]

__init__(self, parent)
(Constructor)

 

Instantiate the view, connect the appropriate delegates, and set the selection behavior to mimic the project table.

Overrides: utils.ProjTableLikeView.__init__

_setDelegates(self, parent)

 

Add delegates to the appropriate columns

Parameters:
  • parent (PyQt4.QtGui.QWidget) - The Qt parent of this table

_setInclusionDelegate(self, parent)

 

Add the delegate to the inclusion checkbox column

Parameters:
  • parent (PyQt4.QtGui.QWidget) - The Qt parent of this table

_setChargeAndSpinMultDelegates(self, parent)

 

Add delegates to the charge and spin multiplicity columns

Parameters:
  • parent (PyQt4.QtGui.QWidget) - The Qt parent of this table

_setBasisDelegate(self, parent)

 

Add the delegate to the basis column

Parameters:
  • parent (PyQt4.QtGui.QWidget) - The Qt parent of this table

showToolTip(self, index)

 

Show the tool tip for the specified index in response to the model emitting a show_tool_tip signal. (Note that this function has nothing to do with tool tips being shown when the user hovers over a cell.)

Parameters:
  • index (PyQt4.QtCore.QModelIndex) - The index to show the tool tip for