diff options
-rw-r--r-- | src/plugins/qmlprofiler/qml/MainView.qml | 12 | ||||
-rw-r--r-- | src/plugins/qmlprofiler/qml/TimeDisplay.qml | 4 | ||||
-rw-r--r-- | src/plugins/qmlprofiler/qml/arrow_down.png | bin | 190 -> 250 bytes | |||
-rw-r--r-- | src/plugins/qmlprofiler/qml/arrow_right.png | bin | 191 -> 246 bytes | |||
-rw-r--r-- | src/plugins/qmlprofiler/timelineview.cpp | 3 |
5 files changed, 10 insertions, 9 deletions
diff --git a/src/plugins/qmlprofiler/qml/MainView.qml b/src/plugins/qmlprofiler/qml/MainView.qml index 7f04b79349..9afe23bc87 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 0efba45bdd..b3e4d099a2 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 Binary files differindex c1c5cd7d92..94300b5944 100644 --- a/src/plugins/qmlprofiler/qml/arrow_down.png +++ b/src/plugins/qmlprofiler/qml/arrow_down.png diff --git a/src/plugins/qmlprofiler/qml/arrow_right.png b/src/plugins/qmlprofiler/qml/arrow_right.png Binary files differindex 9b6c170f57..e124813da3 100644 --- a/src/plugins/qmlprofiler/qml/arrow_right.png +++ b/src/plugins/qmlprofiler/qml/arrow_right.png diff --git a/src/plugins/qmlprofiler/timelineview.cpp b/src/plugins/qmlprofiler/timelineview.cpp index 417105eb6e..0e6a30839b 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); } |