@classmethod
def from_device(cls, device, parent=None, **kwargs):
    """
        Create a new instance of the widget for a Device

        Shortcut for:

        .. code::

            tool = TyphosBase(parent=parent)
            tool.add_device(device)

        Parameters
        ----------
        device: ophyd.Device

        parent: QWidget
        """
    instance = cls(parent=parent, **kwargs)
    instance.add_device(device)
    return instance
