The Combo class inherits QComboBox Qt class.
Widget's input value
The input value of the Combo widget is an XML string. The XML syntax is the same as the List widget input value.
Widget's attributes
The Combo widget accepts the same attributes as a List widget. Specific attributes are :
Widget's functions
Widget's signals
Widget's output value
The output value of a Combo widget depends on two attributes : verbose and return.
If verbose is False and the user enters a text manually, the output value is a dict in the form : {'id':None, 'row':None, 'value':TEXT}.
If verbose is False and the user selects an item, the output value is a dict in the form : {'id':ID, 'row':INDEX, 'value':TEXT, 'checked':BOOL, 'data':DATA}.
If verbose is True and return is dict, the output value is a dict in the form : {ITEM_1_ID:ITEM_1_VALUE, ITEM_2_ID:ITEM_2_VALUE, ..., ITEM_n_ID:ITEM_n_VALUE} where ITEM_ID is the id of the item and ITEM_VALUE is a dict in the form {'value':TEXT, 'row':INDEX, 'selected':BOOL, 'checked':BOOL, 'data':DATA}.
If verbose is True and return is list, the output value is a list of items values. Each item's value is a dict in the form : {'id':ID, 'value':TEXT, 'row':INDEX, 'selected':BOOL, 'checked':BOOL, 'data':DATA}.
When verbose is True and ro is False and the user has entered a text into the line edit, an item with id set to None is added to others items values.