[Kst] branches/work/kst/portto4/kst/src/libkstapp
Barth Netterfield
netterfield at astro.utoronto.ca
Tue Jun 19 00:32:33 UTC 2012
SVN commit 1301744 by netterfield:
For arrows, use the pen colour as the brush colour.
M +6 -0 arrowitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/arrowitem.cpp #1301743:1301744
@@ -35,6 +35,7 @@
setTypeName("Arrow");
QBrush b = brush();
b.setStyle(Qt::SolidPattern);
+ b.setColor(pen().color());
setBrush(b);
applyDialogDefaultsStroke();
@@ -50,6 +51,11 @@
void ArrowItem::paint(QPainter *painter) {
painter->drawLine(line());
+ QBrush b = brush();
+ b.setStyle(Qt::SolidPattern);
+ b.setColor(pen().color());
+ setBrush(b);
+
start.clear();
end.clear();
if (_startArrowHead) {
More information about the Kst
mailing list