@staticmethod
def delete_one_row(control_instance, index_to_remove):
    """ Delete a two columns row if a widget is found in column two

        Parameters
        ----------
        control_instance: QFrame (mandatory)
            the instance of the controller widget control we want to
            synchronize with the controller
        index_to_remove: int (mandatory)
            the row index we want to delete from the widget

        Returns
        -------
        is_deleted: bool
            True if a widget has been found and the row has been deledted,
            False otherwise
        widget: QWidget
            the widget that has been deleted. If 'is_deleted' is False return
            None
        """
    is_deleted = False
    widget_item = (control_instance.controller_widget._grid_layout.
        itemAtPosition(index_to_remove, 1))
    if widget_item is not None:
        widget = widget_item.widget()
        control_instance.controller_widget._grid_layout.removeItem(widget_item)
        widget.deleteLater()
        label_item = (control_instance.controller_widget._grid_layout.
            itemAtPosition(index_to_remove, 0))
        if label_item is not None:
            label = label_item.widget()
            control_instance.controller_widget._grid_layout.removeItem(
                label_item)
            label.deleteLater()
        is_deleted = True
    else:
        widget = None
    return is_deleted, widget
