[qet] [3619] Help line cosmetic changes |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3619
Author: scorpio810
Date: 2015-01-19 01:12:05 +0100 (Mon, 19 Jan 2015)
Log Message:
-----------
Help line cosmetic changes
Modified Paths:
--------------
trunk/sources/qetgraphicsitem/terminal.cpp
Modified: trunk/sources/qetgraphicsitem/terminal.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/terminal.cpp 2015-01-18 19:15:27 UTC (rev 3618)
+++ trunk/sources/qetgraphicsitem/terminal.cpp 2015-01-19 00:12:05 UTC (rev 3619)
@@ -313,8 +313,9 @@
{
m_help_line_a = new QGraphicsLineItem(this);
QPen pen;
+ pen.setWidthF(0.2);
+ pen.setCosmetic(true);
pen.setColor(Qt::darkGray);
- pen.setStyle(Qt::DotLine);
m_help_line_a -> setPen(pen);
}
@@ -337,7 +338,7 @@
line.setP2(m_help_line_a -> mapFromScene(line.p2()));
m_help_line_a -> setLine(line);
}
-
+
p -> restore();
}