QmlProfiler: Next and Previous controls

Change-Id: Iedac6ee9f3cc9855a5825fc5f82b79a06da4f1fb
Reviewed-on: http://codereview.qt.nokia.com/767
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Christiaan Janssen
2011-06-24 18:19:08 +02:00
parent 33256aa617
commit 2b8920405d
12 changed files with 75 additions and 69 deletions

View File

@@ -66,7 +66,7 @@ TiledCanvas {
ctxt.stroke();
}
ctxt.fillText(prettyPrintTime(ii*timePerBlock + realStartTime), x + 5, 10);
ctxt.fillText(prettyPrintTime(ii*timePerBlock + realStartTime), x + 5, 5 + labels.y/2);
}
}
@@ -119,6 +119,7 @@ TiledCanvas {
displayRect.visible = true
}
onExited: displayRect.visible = false
onEntered: root.hideRangeDetails();
}
Rectangle {
@@ -127,12 +128,14 @@ TiledCanvas {
border.color: Qt.darker(color)
border.width: 1
radius: 2
height: labels.y
height: labels.y - 2
y: 1
width: displayText.width + 10
visible: false
Text {
id: displayText
x: 5
y: labels.y/2 - 6
font.pointSize: 8
}
}