Minor:shape event, cosmetic change

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3480 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-11-12 14:44:50 +00:00
parent d248e02e4a
commit 74aedf605f

View File

@@ -143,7 +143,9 @@ void DVEventAddShape::updateHelpCross(const QPoint &p) {
//If line isn't created yet, we create it.
if (!m_help_horiz || !m_help_verti) {
QPen pen;
pen.setColor(Qt::darkBlue);
pen.setWidthF(0.4);
pen.setCosmetic(true);
pen.setColor(Qt::darkGray);
//Add +5 for each line, because the topleft of diagram isn't draw at position (0:0) but (5:5)
if (!m_help_horiz) {
m_help_horiz = new QGraphicsLineItem(m_diagram -> border_and_titleblock.rowsHeaderWidth() + 5, 0,