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

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

Inheritance diagram for gui.repository_panel.TypeComboBox:

Public Member Functions

 __init__ (self, parent=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 Public Attributes

tuple supported_types
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

gui.repository_panel.TypeComboBox.__init__ ( self,
parent = 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.repository_panel.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

◆ supported_types

tuple gui.repository_panel.TypeComboBox.supported_types
static

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