Package schrodinger :: Package application :: Package jaguar :: Package gui :: Package tabs :: Package sub_tab_widgets :: Module charge_constraints_widgets :: Class ChargeConstraintsTableView
[hide private]
[frames] | no frames]

Class ChargeConstraintsTableView

PyQt4.QtGui.QTableView --+        
                         |        
   utils.ProjTableLikeView --+    
                             |    
  base_widgets.SubTabTableView --+
                                 |
                                ChargeConstraintsTableView

The view for the charge constraints.

Nested Classes [hide private]
type COLUMN
A class containing column constants for the table.
Instance Methods [hide private]
 
__init__(self, parent=None)
 
_setDelegates(self, parent)
Set all delegates for the charge constraints view.
 
_setHighlightingForAtoms(self, atoms, highlight)
Emit the setMarkerHighlighting signal to change the workspace marker highlighting for the specified atoms.
 
dataChanged(self, topleft, bottomright)
If the atoms data in a selected cell changes, make sure that the newly created markers are highlighted
 
_emitAddMarker(self, atoms, index)

Inherited from base_widgets.SubTabTableView: mouseReleaseEvent, removeSelectedRows, selectionChanged, setModel, sizeHintForColumn

Inherited from utils.ProjTableLikeView: commitDataToSelected, selectionCommand, setItemDelegateForColumn

Class Variables [hide private]
  MARKER_SETTINGS = {"color": "green", "alt_color": "yellow"}
  addMarker = QtCore.pyqtSignal(list, dict)
  removeMarker = QtCore.pyqtSignal(list)

Inherited from base_widgets.SubTabTableView: MARGIN, SAMPLE_DATA, setMarkerHighlighting

Method Details [hide private]

__init__(self, parent=None)
(Constructor)

 
Overrides: utils.ProjTableLikeView.__init__

_setDelegates(self, parent)

 

Set all delegates for the charge constraints view.

Parameters:
  • parent (PyQt4.QtGui.QWidget) - Qt parent widget

_setHighlightingForAtoms(self, atoms, highlight)

 

Emit the setMarkerHighlighting signal to change the workspace marker highlighting for the specified atoms. Subclasses should override this function instead of _emitForSelection whenever possible.

Parameters:
Overrides: base_widgets.SubTabTableView._setHighlightingForAtoms
(inherited documentation)