diff --git a/src/plugins/qmlprofiler/qml/MainView.qml b/src/plugins/qmlprofiler/qml/MainView.qml index 7f04b793491..9afe23bc878 100644 --- a/src/plugins/qmlprofiler/qml/MainView.qml +++ b/src/plugins/qmlprofiler/qml/MainView.qml @@ -526,8 +526,8 @@ Rectangle { width: parent.height height: parent.width gradient: Gradient { - GradientStop { position: 0.0; color: "#00A0A0A0"; } - GradientStop { position: 1.0; color: "#FFA0A0A0"; } + GradientStop { position: 0.0; color: "#00000000"; } + GradientStop { position: 1.0; color: "#86000000"; } } } } @@ -544,8 +544,8 @@ Rectangle { width: parent.height height: parent.width gradient: Gradient { - GradientStop { position: 0.0; color: "#FFA0A0A0"; } - GradientStop { position: 1.0; color: "#00A0A0A0"; } + GradientStop { position: 0.0; color: "#86000000"; } + GradientStop { position: 1.0; color: "#00000000"; } } } } @@ -556,8 +556,8 @@ Rectangle { width: root.width x: 0 gradient: Gradient { - GradientStop { position: 0.0; color: "#00A0A0A0"; } - GradientStop { position: 1.0; color: "#FFA0A0A0"; } + GradientStop { position: 0.0; color: "#00000000"; } + GradientStop { position: 1.0; color: "#86000000"; } } } } diff --git a/src/plugins/qmlprofiler/qml/TimeDisplay.qml b/src/plugins/qmlprofiler/qml/TimeDisplay.qml index 0efba45bdda..b3e4d099a2f 100644 --- a/src/plugins/qmlprofiler/qml/TimeDisplay.qml +++ b/src/plugins/qmlprofiler/qml/TimeDisplay.qml @@ -105,8 +105,8 @@ Canvas2D { ctxt.stroke(); // gradient borders - var gradientDark = "rgba(160, 160, 160, 1)"; - var gradientClear = "rgba(160, 160, 160, 0)"; + var gradientDark = "rgba(0, 0, 0, 0.53125)"; + var gradientClear = "rgba(0, 0, 0, 0)"; var grad = ctxt.createLinearGradient(0, 0, 0, 6); grad.addColorStop(0,gradientDark); grad.addColorStop(1,gradientClear); diff --git a/src/plugins/qmlprofiler/qml/arrow_down.png b/src/plugins/qmlprofiler/qml/arrow_down.png index c1c5cd7d92d..94300b59449 100644 Binary files a/src/plugins/qmlprofiler/qml/arrow_down.png and b/src/plugins/qmlprofiler/qml/arrow_down.png differ diff --git a/src/plugins/qmlprofiler/qml/arrow_right.png b/src/plugins/qmlprofiler/qml/arrow_right.png index 9b6c170f57a..e124813da32 100644 Binary files a/src/plugins/qmlprofiler/qml/arrow_right.png and b/src/plugins/qmlprofiler/qml/arrow_right.png differ diff --git a/src/plugins/qmlprofiler/timelineview.cpp b/src/plugins/qmlprofiler/timelineview.cpp index 417105eb6ef..0e6a30839bc 100644 --- a/src/plugins/qmlprofiler/timelineview.cpp +++ b/src/plugins/qmlprofiler/timelineview.cpp @@ -161,6 +161,7 @@ void TimelineView::drawSelectionBoxes(QPainter *p) selectionColor = QColor(96,0,255); QPen strongPen(selectionColor, 3); QPen lightPen(QBrush(selectionColor.lighter(130)), 2); + lightPen.setJoinStyle(Qt::MiterJoin); p->setPen(lightPen); int x, y, width, eventType; @@ -183,7 +184,7 @@ void TimelineView::drawSelectionBoxes(QPainter *p) width = 1; if (i == m_selectedItem) - selectedItemRect = QRect(x,y,width,DefaultRowHeight); + selectedItemRect = QRect(x, y-1, width, DefaultRowHeight+1); else p->drawRect(x,y,width,DefaultRowHeight); }