ComboBoxDialog

class cgp_generic_utils.qt.ComboBoxDialog(title, label, data, entryLabelWidth=35, size=None, parent=None, isFrameless=False, orientation=None)

Bases: cgp_generic_utils.qt.BaseDialog

dialog with combobox selection

addCombobox(label, items)

add a new check box to the dialog

Parameters:
  • label (str) – label of the combobox
  • items (list[str]) – items of the combobox
validation()

validation of the dialog

Returns:Cancel : None - Ok : list of combobox currentTexts
Return type:None or list[str]