[qet] [3402] Cross ref item : minor improvement

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 3402
Author:   blacksun
Date:     2014-10-26 14:12:44 +0100 (Sun, 26 Oct 2014)
Log Message:
-----------
Cross ref item : minor improvement

Modified Paths:
--------------
    trunk/sources/qetgraphicsitem/crossrefitem.cpp

Modified: trunk/sources/qetgraphicsitem/crossrefitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/crossrefitem.cpp	2014-10-26 12:38:04 UTC (rev 3401)
+++ trunk/sources/qetgraphicsitem/crossrefitem.cpp	2014-10-26 13:12:44 UTC (rev 3402)
@@ -145,12 +145,12 @@
 		if (m_properties.snapTo() != xrp.snapTo()) {
 			if (xrp.snapTo() == XRefProperties::Bottom) {
 				setParentItem(m_element);
-				connect(m_element, SIGNAL(positionChange(QPointF)), this, SLOT(autoPos()));
-				connect(m_element, SIGNAL(rotationChanged()),	   this, SLOT(autoPos()));
+				connect(m_element, SIGNAL(yChanged()),        this, SLOT(autoPos()));
+				connect(m_element, SIGNAL(rotationChanged()), this, SLOT(autoPos()));
 			} else {
 				setTextParent();
-				disconnect(m_element, SIGNAL(positionChange(QPointF)), this, SLOT(autoPos()));
-				disconnect(m_element, SIGNAL(rotationChanged()),	   this, SLOT(autoPos()));
+				disconnect(m_element, SIGNAL(yChanged()),        this, SLOT(autoPos()));
+				disconnect(m_element, SIGNAL(rotationChanged()), this, SLOT(autoPos()));
 			}
 		}
 		m_properties = xrp;
@@ -169,7 +169,7 @@
 	QPainter qp;
 	qp.begin(&m_drawing);
 	QPen pen_;
-	pen_.setWidthF(0.2);
+	pen_.setWidthF(0.5);
 	qp.setPen(pen_);
 	qp.setFont(QETApp::diagramTextsFont(5));
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/