code: def dockDetailPane(self, detailPane, title=None, area=None):
          
          title = detailPane.classLabel() if title is None else title
          area = Qt.LeftDockWidgetArea if area is None else area
          dockWidget = self.dockWidget(detailPane, title, area)
          # TODO: undockDetailPane to disconnect
          dockWidget.visibilityChanged.connect(detailPane.dockVisibilityChanged)
          if len(self._detailDockWidgets) > 0:
              self.tabifyDockWidget(self._detailDockWidgets[-1], dockWidget)
          self._detailDockWidgets.append(dockWidget)
          return dockWidget
docs: Creates a dockWidget and add the detailPane with a default title.
              By default the detail widget is added to the Qt.LeftDockWidgetArea.