summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasplin <qt-info@nokia.com>2010-04-12 16:11:51 +0200
committerjasplin <qt-info@nokia.com>2010-04-12 16:11:51 +0200
commitffa7175a43a847cc66b662975f724836c2dfa9c2 (patch)
treebe6f61837793f8b21209bffdd25f19df9a8de4c6
parent84599511109349c580a825afe864ccbf0dbbf87c (diff)
Adjusted drawing of bg rects some more.
-rw-r--r--src/bm/plotter.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/bm/plotter.cpp b/src/bm/plotter.cpp
index d76a862..cdb383e 100644
--- a/src/bm/plotter.cpp
+++ b/src/bm/plotter.cpp
@@ -752,12 +752,15 @@ bool HistoriesPlotter::drawScenes(
}
// Draw background rectangle ...
- scene_far->addRect(
- xmin, ymin, xmax - xmin, ymax - ymin, QPen(Qt::NoPen),
- QBrush(QColor(245, 245, 245, 255)));
+ {
+ QGraphicsItem *bgRect = scene_far->addRect(
+ xmin, ymin, xmax - xmin, ymax - ymin, QPen(Qt::NoPen),
+ QBrush(QColor(245, 245, 245, 255)));
+ bgRect->setZValue(-1);
+ }
// Draw border rectangle ...
- // scene_far->addRect(xmin, ymin, xmax - xmin, ymax - ymin, QPen(QColor(220, 220, 220, 255)));
+ scene_far->addRect(xmin, ymin, xmax - xmin, ymax - ymin, QPen(QColor(200, 200, 200, 255)));
const qreal dpSize = 4;