diff --git a/src/plugins/coreplugin/images/extension.png b/src/plugins/coreplugin/images/extension.png index 6bdfc07b83043b3443064d61e4dc74fe97ea8f95..40c2ee30d6c6e11ba9c50f9c4551663a55b58c39 100644 Binary files a/src/plugins/coreplugin/images/extension.png and b/src/plugins/coreplugin/images/extension.png differ diff --git a/src/plugins/coreplugin/images/splitbutton_horizontal.png b/src/plugins/coreplugin/images/splitbutton_horizontal.png index a71fdfdb6244f23a5994f418cacfc39cede918b5..c85a093f2c3250786c13994bef3910d19824d650 100644 Binary files a/src/plugins/coreplugin/images/splitbutton_horizontal.png and b/src/plugins/coreplugin/images/splitbutton_horizontal.png differ diff --git a/src/plugins/coreplugin/manhattanstyle.cpp b/src/plugins/coreplugin/manhattanstyle.cpp index ee3ca2f62d195b35a5d455d9dd979ac7c87385df..0b64541ae4ae4edc771c84276a54a01b67c8dd35 100644 --- a/src/plugins/coreplugin/manhattanstyle.cpp +++ b/src/plugins/coreplugin/manhattanstyle.cpp @@ -656,8 +656,6 @@ void ManhattanStyle::drawPrimitive(PrimitiveElement element, const QStyleOption int sx = sqsize / 2 - bounds.center().x() - 1; int sy = sqsize / 2 - bounds.center().y() - 1; imagePainter.translate(sx + bsx, sy + bsy); - imagePainter.setPen(option->palette.buttonText().color()); - imagePainter.setBrush(option->palette.buttonText()); if (!(option->state & State_Enabled)) { imagePainter.translate(1, 1); @@ -667,8 +665,17 @@ void ManhattanStyle::drawPrimitive(PrimitiveElement element, const QStyleOption imagePainter.translate(-1, -1); imagePainter.setBrush(option->palette.mid().color()); imagePainter.setPen(option->palette.mid().color()); + } else { + QColor shadow(0, 0, 0, 50); + imagePainter.translate(0, 1); + imagePainter.setPen(shadow); + imagePainter.setBrush(shadow); + QColor foreGround(255, 255, 255, 220); + imagePainter.drawPolygon(a); + imagePainter.translate(0, -1); + imagePainter.setPen(foreGround); + imagePainter.setBrush(foreGround); } - imagePainter.drawPolygon(a); imagePainter.end(); pixmap = QPixmap::fromImage(image); @@ -998,6 +1005,17 @@ void ManhattanStyle::drawComplexControl(ComplexControl control, const QStyleOpti painter->save(); // Draw tool button + QLinearGradient grad(option->rect.topRight(), option->rect.bottomRight()); + grad.setColorAt(0, Qt::transparent); + grad.setColorAt(0.4, QColor(255, 255, 255, 30)); + grad.setColorAt(1, Qt::transparent); + painter->setPen(QPen(grad, 0)); + painter->drawLine(rect.topRight(), rect.bottomRight()); + grad.setColorAt(0, Qt::transparent); + grad.setColorAt(0.4, QColor(0, 0, 0, 30)); + grad.setColorAt(1, Qt::transparent); + painter->setPen(QPen(grad, 0)); + painter->drawLine(rect.topRight() - QPoint(1,0), rect.bottomRight() - QPoint(1,0)); drawPrimitive(PE_PanelButtonTool, option, painter, widget); // Draw arrow diff --git a/src/plugins/projectexplorer/images/filtericon.png b/src/plugins/projectexplorer/images/filtericon.png index de7ee4b5f54f0db14e3137c0d9d97283f388a9f1..3fae2defdecc62af31371f25c2e94ff7e509163e 100644 Binary files a/src/plugins/projectexplorer/images/filtericon.png and b/src/plugins/projectexplorer/images/filtericon.png differ