QmlProfiler: Make TimeDisplay more configurable

With the extra parameters we can also use it for the labels on the top
of the overview

Change-Id: Icd1a515498455f1f6247845ac559f07eaef40d08
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2014-12-10 11:21:53 +01:00
parent 9c53c1dbea
commit cf80b93be0
2 changed files with 21 additions and 17 deletions

View File

@@ -172,7 +172,8 @@ Rectangle {
anchors.left: buttonsBar.right
anchors.right: parent.right
anchors.bottom: overview.top
zoomer: zoomControl
windowStart: zoomControl.windowStart
rangeDuration: Math.max(1, Math.round(zoomControl.rangeDuration))
contentX: content.contentX
clip: true
}