@classmethod
def defaultPanelClass(klass):
    """
        This method assigns the Class used to open new object panels on double-click (TaurusDevicePanel by default)
        If an string is used it can be either a Taurus class or an OS launcher
        """
    if not hasattr(klass, '_defaultClass'):
        from taurus.qt.qtgui.panel import TaurusDevicePanel
        klass._defaultClass = TaurusDevicePanel
    obj = klass._defaultClass
    return obj
