Skip to content
Snippets Groups Projects
mapvisualization.py 67.8 KiB
Newer Older
  • Learn to ignore specific revisions
  • Benjamin Jakimow's avatar
    Benjamin Jakimow committed
        def navigateToTSD(self, TSD:TimeSeriesDatum):
            """
            Changes the viewport of the scroll window to show the requested TimeSeriesDatum
            :param TSD: TimeSeriesDatum
            """
            assert isinstance(TSD, TimeSeriesDatum)
            #get widget related to TSD
            tsdv = self.DVC.tsdView(TSD)
            assert isinstance(self.scrollArea, QScrollArea)
            self.scrollArea.ensureWidgetVisible(tsdv.ui)