diff options
author | jasplin <qt-info@nokia.com> | 2010-04-12 16:16:14 +0200 |
---|---|---|
committer | jasplin <qt-info@nokia.com> | 2010-04-12 16:16:14 +0200 |
commit | 5a1e7fa55051285110a8a106c90483e110f415ee (patch) | |
tree | ad44e0047cf0ad89e0a647564df7467c9638b9d3 | |
parent | ffa7175a43a847cc66b662975f724836c2dfa9c2 (diff) |
More adjustments of bg rects.
-rw-r--r-- | src/bm/plotter.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bm/plotter.cpp b/src/bm/plotter.cpp index cdb383e..cbfca53 100644 --- a/src/bm/plotter.cpp +++ b/src/bm/plotter.cpp @@ -756,11 +756,15 @@ bool HistoriesPlotter::drawScenes( QGraphicsItem *bgRect = scene_far->addRect( xmin, ymin, xmax - xmin, ymax - ymin, QPen(Qt::NoPen), QBrush(QColor(245, 245, 245, 255))); - bgRect->setZValue(-1); + bgRect->setZValue(-2); } // Draw border rectangle ... - scene_far->addRect(xmin, ymin, xmax - xmin, ymax - ymin, QPen(QColor(200, 200, 200, 255))); + { + QGraphicsItem *bgRect = scene_far->addRect( + xmin, ymin, xmax - xmin, ymax - ymin, QPen(QColor(200, 200, 200, 255))); + bgRect->setZValue(-1); + } const qreal dpSize = 4; |