From 5827863910c8f4cfc37b71657fc4cb7b20deb298 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Thu, 23 Jan 2014 18:01:44 +0100 Subject: [PATCH] Work on dark skin. --- resources/skins/base/blau.xml | 2 +- src/gui/plaintoolbutton.cpp | 21 ++------------------- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/resources/skins/base/blau.xml b/resources/skins/base/blau.xml index 1a7eb7771..ca0853dd6 100644 --- a/resources/skins/base/blau.xml +++ b/resources/skins/base/blau.xml @@ -8,5 +8,5 @@ PGh0bWw+DQogIDxoZWFkPg0KICAgIDxzdHlsZT4NCiAgICAgIGJvZHkgew0KICAgICAgICBtYXJnaW46IDBweDsNCiAgICAgICAgcGFkZGluZzogMHB4Ow0KICAgICAgfQ0KICAgIA0KICAgICAgcHJlIHsNCiAgICAgICAgd2hpdGUtc3BhY2U6IHByZS13cmFwOw0KICAgICAgfQ0KDQogICAgICAuaGVhZGVydGV4dCB7DQogICAgICAgIGZvbnQtc2l6ZTogMjBweDsNCiAgICAgICAgbWFyZ2luLWJvdHRvbTogMTBweDsNCiAgICAgIH0NCg0KICAgICAgLmhlYWRlciB7DQogICAgICAgIGZvbnQtc2l6ZTogMTdweDsNCiAgICAgICAgYmFja2dyb3VuZDogLXdlYmtpdC1ncmFkaWVudChsaW5lYXIsIGxlZnQgdG9wLCBsZWZ0IGJvdHRvbSwgY29sb3Itc3RvcCgwJSxyZ2JhKDk5LDEzNSwyMjksMSkpLCBjb2xvci1zdG9wKDEwMCUscmdiYSg2NCwxMDksMjM2LDEpKSk7DQogICAgICAgIHBhZGRpbmc6IDZweDsNCiAgICAgICAgbWFyZ2luOiAwcHggYXV0bzsNCiAgICAgICAgY29sb3I6IHdoaXRlOw0KICAgICAgICBib3JkZXI6IDAuNXB4IHNvbGlkIGJsYWNrOw0KICAgICAgfQ0KDQogICAgICAuaGVhZGVyIGEgew0KICAgICAgICBjb2xvcjogd2hpdGU7DQogICAgICB9DQoNCiAgICAgIC5jb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GJvcmRlci1pbWFnZTogdXJsKHFzcy9kdW1teS5wbmcpIDA7DQp9DQoNClFUcmVlVmlldzo6YnJhbmNoOmhhcy1jaGlsZHJlbjohaGFzLXNpYmxpbmdzOmNsb3NlZCwNClFUcmVlVmlldzo6YnJhbmNoOmNsb3NlZDpoYXMtY2hpbGRyZW46aGFzLXNpYmxpbmdzICB7DQogIGJvcmRlci1pbWFnZTogbm9uZTsNCiAgaW1hZ2U6IHVybChxc3MvYnJhbmNoLWNsb3NlZC5wbmcpOw0KfQ0KDQpRVHJlZVZpZXc6OmJyYW5jaDpvcGVuOmhhcy1jaGlsZHJlbjohaGFzLXNpYmxpbmdzLA0KUVRyZWVWaWV3OjpicmFuY2g6b3BlbjpoYXMtY2hpbGRyZW46aGFzLXNpYmxpbmdzICB7DQogIGJvcmRlci1pbWFnZTogbm9uZTsNCiAgaW1hZ2U6IHVybChxc3MvYnJhbmNoLW9wZW4ucG5nKTsNCn0NCg0KUVRyZWVWaWV3OjppdGVtIHsNCiAgcGFkZGluZzogMXB4Ow0KfSANCg0KUVRyZWVWaWV3W2hpZGVUcmVlPSJ0cnVlIl06OmJyYW5jaDohaGFzLWNobGlkcmVuOmhhc1NpYmxpbmdzIHsNCiAgYm9yZGVyLWltYWdlOiBub25lOw0KICBpbWFnZTogbm9uZTsNCn0= \ No newline at end of file diff --git a/src/gui/plaintoolbutton.cpp b/src/gui/plaintoolbutton.cpp index b83cf2205..19a35902f 100644 --- a/src/gui/plaintoolbutton.cpp +++ b/src/gui/plaintoolbutton.cpp @@ -14,25 +14,8 @@ PlainToolButton::~PlainToolButton() { } void PlainToolButton::paintEvent(QPaintEvent *e) { + Q_UNUSED(e) + QPainter p(this); icon().paint(&p, QRect(QPoint(0, 0), size())); - - /* - if (underMouse()) { - QStyleOptionFrameV3 style_option; - int frame_shape = QFrame::Sunken & QFrame::Shape_Mask; - - style_option.init(this); - style_option.frameShape = QFrame::Shape(int(style_option.frameShape) | - QFrame::StyledPanel | - frame_shape); - style_option.rect = rect(); - style_option.lineWidth = 1; - style_option.midLineWidth = 0; - - style()->drawControl(QStyle::CE_ShapedFrame, - &style_option, &p, - this); - } - */ }