QPainter p(this);
- p.setBrush(QColor(122, 163, 39));
-// Need to translate as well...
-// p.scale(2.0, 2.0);
+ p.setPen(QPen(Qt::black, 1.0, Qt::SolidLine));
+// p.setBrush(QColor(122, 163, 39));
+ p.setBrush(Qt::black);
/*
1.0 -> 3.0, height = 400
{
// height is limiting factor
p.scale(yConvFac, -yConvFac);
-//extraX = (rect.height() / (float)paintSize.height()) * (float)paintSize.width();
-//extraX = (extraX - rect.width()) / 2.0f;
extraX = (((float)paintSize.width() / yConvFac) - rect.width()) / 2.0f;
}
else