Package node_manager_fkie :: Module settings_widget :: Class ItemDelegate
[frames] | no frames]

Class ItemDelegate

source code

               object --+                    
                        |                    
        sip.simplewrapper --+                
                            |                
                  sip.wrapper --+            
                                |            
             PyQt5.QtCore.QObject --+        
                                    |        
PyQt5.QtWidgets.QAbstractItemDelegate --+    
                                        |    
      PyQt5.QtWidgets.QStyledItemDelegate --+
                                            |
                                           ItemDelegate

This ItemDelegate provides editors for different setting types in settings view.

Nested Classes

Inherited from PyQt5.QtWidgets.QAbstractItemDelegate: EndEditHint

Instance Methods
 
settings_path_changed_signal(...) source code
 
createEditor(self, parent, option, index)
Creates a editor in the TreeView depending on type of the settings data.
source code
 
setModelData(self, editor, model, index) source code
 
sizeHint(self, option, index)
Determines and returns the size of the text after the format.
source code
 
edit_finished(self, arg=None) source code

Inherited from PyQt5.QtWidgets.QStyledItemDelegate: displayText, editorEvent, eventFilter, initStyleOption, itemEditorFactory, paint, setEditorData, setItemEditorFactory, updateEditorGeometry

Inherited from PyQt5.QtWidgets.QAbstractItemDelegate: closeEditor, commitData, destroyEditor, helpEvent, sizeHintChanged

Inherited from PyQt5.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, objectNameChanged, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

Inherited from sip.simplewrapper: __init__, __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  reload_settings = False

Inherited from PyQt5.QtWidgets.QAbstractItemDelegate: EditNextItem, EditPreviousItem, NoHint, RevertModelCache, SubmitModelCache

Inherited from PyQt5.QtCore.QObject: staticMetaObject

Properties

Inherited from object: __class__

Method Details

createEditor(self, parent, option, index)

source code 

Creates a editor in the TreeView depending on type of the settings data.

Overrides: PyQt5.QtWidgets.QAbstractItemDelegate.createEditor

setModelData(self, editor, model, index)

source code 
Overrides: PyQt5.QtWidgets.QAbstractItemDelegate.setModelData

sizeHint(self, option, index)

source code 

Determines and returns the size of the text after the format.

Overrides: PyQt5.QtWidgets.QAbstractItemDelegate.sizeHint