(cb: QComboBox, value, role: Qt.ItemDataRole = Qt.EditRole)
Find and select the `value` in the `cb` QComboBox.

    Parameters
    ----------
    cb: QComboBox
    value: Any
    role: Qt.ItemDataRole
        The data role in the combo box model to match value against
Find and select the `value` in the `cb` QComboBox.
Find and select the value in the cb QComboBox .
def cbselect(cb: QComboBox, value, role: Qt.ItemDataRole = Qt.EditRole) -> None:
    """
    Find and select the `value` in the `cb` QComboBox.

    Parameters
    ----------
    cb: QComboBox
    value: Any
    role: Qt.ItemDataRole
        The data role in the combo box model to match value against
    """
    cb.setCurrentIndex(cb.findData(value, role))
def cbselect ( cb : QComboBox , value , role : Qt . ItemDataRole = Qt . EditRole ) -> None : cb . setCurrentIndex ( cb . findData ( value , role ) )