forked from qt-creator/qt-creator
Unify flame graph and timeline details windows
They are mostly the same. Change-Id: I41be570989ecc58cf2ae33f692c89946b55a0e1d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -265,21 +265,15 @@ ScrollView {
|
||||
}
|
||||
}
|
||||
|
||||
FlameGraphDetails {
|
||||
RangeDetails {
|
||||
id: tooltip
|
||||
|
||||
minimumX: 0
|
||||
maximumX: flickable.width
|
||||
minimumY: flickable.contentY
|
||||
maximumY: flickable.contentY + flickable.height
|
||||
noteReadonly: true
|
||||
|
||||
titleBarColor: Theme.color(Theme.Timeline_PanelHeaderColor)
|
||||
titleBarTextColor: Theme.color(Theme.PanelTextColorLight)
|
||||
contentColor: Theme.color(Theme.Timeline_PanelBackgroundColor)
|
||||
contentTextColor: Theme.color(Theme.Timeline_TextColor)
|
||||
noteTextColor: Theme.color(Theme.Timeline_HighlightColor)
|
||||
buttonHoveredColor: Theme.color(Theme.FancyToolButtonHoverColor)
|
||||
buttonSelectedColor: Theme.color(Theme.FancyToolButtonSelectedColor)
|
||||
borderWidth: 0
|
||||
|
||||
property var hoveredNode: null;
|
||||
@@ -310,7 +304,7 @@ ScrollView {
|
||||
}
|
||||
|
||||
model: currentNode ? currentNode.details() : []
|
||||
note: currentNode ? currentNode.note() : ""
|
||||
noteText: currentNode ? currentNode.note() : ""
|
||||
|
||||
Connections {
|
||||
target: root.model
|
||||
|
||||
Reference in New Issue
Block a user