RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
gui.repository_panel.RepositoryPanel._CustomDelegate Class Reference

Implements common functionality for _MapperDelegate and _TreeViewDelegate classes. More...

Inheritance diagram for gui.repository_panel.RepositoryPanel._CustomDelegate:
gui.repository_panel.RepositoryPanel._MapperDelegate gui.repository_panel.RepositoryPanel._TreeViewDelegate

Public Member Functions

 __init__ (self, *args, **kwargs)
 
 setEditorData (self, editor, index)
 Fills the editor widget with current data from the given model index.
 
 setModelData (self, editor, model, index)
 Updates the model at the given index with modified data from the editor widget.
 

Detailed Description

Implements common functionality for _MapperDelegate and _TreeViewDelegate classes.

Constructor & Destructor Documentation

◆ __init__()

gui.repository_panel.RepositoryPanel._CustomDelegate.__init__ ( self,
* args,
** kwargs )

Member Function Documentation

◆ setEditorData()

gui.repository_panel.RepositoryPanel._CustomDelegate.setEditorData ( self,
editor,
index )

Fills the editor widget with current data from the given model index.

Reimplemented in gui.repository_panel.RepositoryPanel._MapperDelegate, and gui.repository_panel.RepositoryPanel._TreeViewDelegate.

◆ setModelData()

gui.repository_panel.RepositoryPanel._CustomDelegate.setModelData ( self,
editor,
model,
index )

Updates the model at the given index with modified data from the editor widget.

Reimplemented in gui.repository_panel.RepositoryPanel._MapperDelegate, and gui.repository_panel.RepositoryPanel._TreeViewDelegate.


The documentation for this class was generated from the following file: