[qet] [4289] Improve conductor bigger when is hovered |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4289
Author: scorpio810
Date: 2015-12-23 20:27:51 +0100 (Wed, 23 Dec 2015)
Log Message:
-----------
Improve conductor bigger when is hovered
Modified Paths:
--------------
trunk/sources/qetgraphicsitem/conductor.cpp
Modified: trunk/sources/qetgraphicsitem/conductor.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/conductor.cpp 2015-12-23 18:41:13 UTC (rev 4288)
+++ trunk/sources/qetgraphicsitem/conductor.cpp 2015-12-23 19:27:51 UTC (rev 4289)
@@ -455,7 +455,7 @@
}
//Draw the conductor bigger when is hovered
- conductor_pen.setWidth(bMouseOver? 5 : (properties_.cond_size));
+ conductor_pen.setWidth(bMouseOver? (properties_.cond_size) +4 : (properties_.cond_size));
// affectation du QPen et de la QBrush modifies au QPainter
qp -> setBrush(conductor_brush);