RTC Toolkit 6.1.0-pre1
Loading...
Searching...
No Matches
gui.type_combo_box.TypeComboBox Class Reference

Widget for selecting a datapoint type from a list of supported types. More...

Inheritance diagram for gui.type_combo_box.TypeComboBox:

Public Member Functions

 __init__ (self, parent=None, tuple[type] supported_types=None, *args, **kwargs)
 Initialise the TypeComboBox widget.
 
 select_current_index (self, datapoint_type)
 Sets the current index that corresponds to the given datapoint type, which must be one of the type classes from supported_types.
 

Static Protected Attributes

 _default_types
 

Detailed Description

Widget for selecting a datapoint type from a list of supported types.

Constructor & Destructor Documentation

◆ __init__()

gui.type_combo_box.TypeComboBox.__init__ ( self,
parent = None,
tuple[type] supported_types = None,
* args,
** kwargs )

Initialise the TypeComboBox widget.

Parameters
parentThe optional parent Qt widget object.
argsAdditional positional arguments passed onto the base class.
kwargsAdditional keyword arguments passed onto the base class.

Member Function Documentation

◆ select_current_index()

gui.type_combo_box.TypeComboBox.select_current_index ( self,
datapoint_type )

Sets the current index that corresponds to the given datapoint type, which must be one of the type classes from supported_types.

Member Data Documentation

◆ _default_types

gui.type_combo_box.TypeComboBox._default_types
staticprotected

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