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

Class AtomBasisSetDelegate

           object --+                        
                    |                        
    sip.simplewrapper --+                    
                        |                    
              sip.wrapper --+                
                            |                
         PyQt4.QtCore.QObject --+            
                                |            
PyQt4.QtGui.QAbstractItemDelegate --+        
                                    |        
      PyQt4.QtGui.QStyledItemDelegate --+    
                                        |    
       ui.qt.pop_up_widgets.PopUpDelegate --+
                                            |
           object --+                       |
                    |                       |
    sip.simplewrapper --+                   |
                        |                   |
              sip.wrapper --+               |
                            |               |
         PyQt4.QtCore.QObject --+           |
                                |           |
PyQt4.QtGui.QAbstractItemDelegate --+       |
                                    |       |
      PyQt4.QtGui.QStyledItemDelegate --+   |
                                        |   |
   ui.qt.delegates.DefaultMessageDelegate --+
                                            |
                                           AtomBasisSetDelegate

A delegate for selecting per-atom basis sets

Nested Classes [hide private]

Inherited from PyQt4.QtGui.QAbstractItemDelegate: EndEditHint

Instance Methods [hide private]
 
__init__(self, parent)
x.__init__(...) initializes x; see help(type(x)) for signature
 
_createEditor(self, parent, option, index)
Create and return the LineEditWithPopUp editor.

Inherited from ui.qt.pop_up_widgets.PopUpDelegate: createEditor, eventFilter, popUpClosed, setEditorData, setModelData

Inherited from ui.qt.delegates.DefaultMessageDelegate: paint

Inherited from PyQt4.QtGui.QStyledItemDelegate: displayText, editorEvent, initStyleOption, itemEditorFactory, setItemEditorFactory, sizeHint, updateEditorGeometry

Inherited from PyQt4.QtGui.QAbstractItemDelegate: closeEditor, commitData, elidedText, helpEvent, sizeHintChanged

Inherited from PyQt4.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, findChild, findChildren, inherits, installEventFilter, isWidgetType, killTimer, metaObject, moveToThread, objectName, parent, 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.delegates.DefaultMessageDelegate: FONT, FOREGROUND

Inherited from PyQt4.QtGui.QAbstractItemDelegate: EditNextItem, EditPreviousItem, NoHint, RevertModelCache, SubmitModelCache

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Instance Variables [hide private]

Inherited from ui.qt.pop_up_widgets.PopUpDelegate: commitDataToSelected

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • parent - The Qt parent widget
  • pop_up_class - The class of the pop up widget. Should be a subclass of PopUp.
  • enable_accept_multi - Whether committing data to all selected cells at once is enabled. If True, commitDataToSelected will be emitted when the LineEditWithPopUp emits popUpClosing with ACCEPT_MULTI. If False, commitData will be emitted instead.
Overrides: object.__init__
(inherited documentation)

_createEditor(self, parent, option, index)

 

Create and return the LineEditWithPopUp editor. If a subclass needs to modify editor instantiation, this function should be reimplemented instead of createEditor to ensure that the popUpClosing signal is connected properly.

See Qt createEditor documentation for an explanation of the arguments and return value.

Overrides: ui.qt.pop_up_widgets.PopUpDelegate._createEditor
(inherited documentation)