All help line have the same visual rendering

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3621 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2015-01-19 11:52:10 +00:00
parent ef43266954
commit 5efc114e7b

View File

@@ -105,7 +105,9 @@ void ESEventInterface::updateHelpCross(const QPointF &p) {
//If line isn't created yet, we create it. //If line isn't created yet, we create it.
if (!m_help_horiz || !m_help_verti) { if (!m_help_horiz || !m_help_verti) {
QPen pen; QPen pen;
pen.setColor(Qt::darkBlue); pen.setWidthF(0.4);
pen.setCosmetic(true);
pen.setColor(Qt::darkGray);
if (!m_help_horiz) { if (!m_help_horiz) {
m_help_horiz = new QGraphicsLineItem(-10000, 0, 10000, 0, 0, m_scene); m_help_horiz = new QGraphicsLineItem(-10000, 0, 10000, 0, 0, m_scene);
m_help_horiz -> setPen(pen); m_help_horiz -> setPen(pen);