|
RTC Toolkit 6.0.0
|
Implements common functionality for _MapperDelegate and _TreeViewDelegate classes. More...
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. | |
Implements common functionality for _MapperDelegate and _TreeViewDelegate classes.
| gui.repository_panel.RepositoryPanel._CustomDelegate.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
| 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.
| 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.