ComboBoxLineEditDialog

class cgp_generic_utils.qt.ComboBoxLineEditDialog(title, label, items, icons=None, iconSize=None, text=None, comboSeparator=None, separator=None, concatenateResult=True, size=None, parent=None, isFrameless=False)

Bases: cgp_generic_utils.qt.BaseDialog

dialog with combobox selection and lineEdit filling

setIcons(icons)

set the items icons of the combobox

Parameters:icons (list[str]) – icons used to set the combobox
setItems(items=None)

set the items of the combobox

Parameters:items (list[str]) – items used to set the combobox
setText(text=None)

set the text of the line edit

Parameters:text (str) – text used to set the line edit
validation()

validation of the dialog

Returns:Cancel : None - Ok : if comboSeparator [{combobox.split(comboSeparator)[0]}{separator}{lineEdit} ...] else {combobox}{separator}{lineEdit}
Return type:None or list[str] or str