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

Class ItemDelegate

source code

python_qt_binding.QtWidgets.QStyledItemDelegate --+
                                                  |
                                                 ItemDelegate

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

Instance Methods
 
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
Class Variables
  settings_path_changed_signal = Signal()
  reload_settings = False
Method Details

sizeHint(self, option, index)

source code 

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