[qet] qet/qet: [5918] Basic shapes : set solid line pattern by default |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5918
Author: scorpio810
Date: 2019-06-12 15:16:54 +0200 (Wed, 12 Jun 2019)
Log Message:
-----------
Basic shapes : set solid line pattern by default
Modified Paths:
--------------
trunk/sources/qetgraphicsitem/qetshapeitem.cpp
Modified: trunk/sources/qetgraphicsitem/qetshapeitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/qetshapeitem.cpp 2019-06-12 04:18:19 UTC (rev 5917)
+++ trunk/sources/qetgraphicsitem/qetshapeitem.cpp 2019-06-12 13:16:54 UTC (rev 5918)
@@ -43,9 +43,9 @@
m_hovered(false)
{
if (type == Polygon) m_polygon << m_P1 << m_P2;
- setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemSendsGeometryChanges);
+ setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemSendsGeometryChanges);
setAcceptHoverEvents(true);
- m_pen.setStyle(Qt::DashLine);
+ m_pen.setStyle(Qt::SolidLine);
//ensure handlers are always above this item
connect(this, &QetShapeItem::zChanged, [this]()
{