RTC Toolkit 6.1.0-pre1
Loading...
Searching...
No Matches
gui.base_item_delegate.BaseItemDelegate Class Reference

Implements common functionality for more specific classes. More...

Inheritance diagram for gui.base_item_delegate.BaseItemDelegate:

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.
 

Static Public Attributes

dict rtc_to_qe_scalar_types
 

Detailed Description

Implements common functionality for more specific classes.

Constructor & Destructor Documentation

◆ __init__()

gui.base_item_delegate.BaseItemDelegate.__init__ ( self,
* args,
** kwargs )

Member Function Documentation

◆ setEditorData()

gui.base_item_delegate.BaseItemDelegate.setEditorData ( self,
editor,
index )

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

◆ setModelData()

gui.base_item_delegate.BaseItemDelegate.setModelData ( self,
editor,
model,
index )

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

Member Data Documentation

◆ rtc_to_qe_scalar_types

dict gui.base_item_delegate.BaseItemDelegate.rtc_to_qe_scalar_types
static
Initial value:
= {
RtcInt8: QeTypes.Int8,
RtcInt16: QeTypes.Int16,
RtcInt32: QeTypes.Int32,
RtcInt64: QeTypes.Int64,
RtcUInt8: QeTypes.UInt8,
RtcUInt16: QeTypes.UInt16,
RtcUInt32: QeTypes.UInt32,
RtcUInt64: QeTypes.UInt64,
RtcFloat: QeTypes.Float,
RtcDouble: QeTypes.Double,
RtcBool: QeTypes.Boolean,
RtcString: QeTypes.String,
}

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