[qet] [1934] Resized single line symbols to improve readability.

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


Revision: 1934
Author:   xavier
Date:     2012-08-12 22:32:55 +0200 (Sun, 12 Aug 2012)
Log Message:
-----------
Resized single line symbols to improve readability.

Modified Paths:
--------------
    trunk/sources/conductor.cpp

Modified: trunk/sources/conductor.cpp
===================================================================
--- trunk/sources/conductor.cpp	2012-08-12 20:32:53 UTC (rev 1933)
+++ trunk/sources/conductor.cpp	2012-08-12 20:32:55 UTC (rev 1934)
@@ -459,7 +459,7 @@
 		properties_.singleLineProperties.draw(
 			qp,
 			middleSegment() -> isHorizontal() ? QET::Horizontal : QET::Vertical,
-			QRectF(middleSegment() -> middle() - QPointF(10.0, 7.5), QSizeF(20.0, 15.0))
+			QRectF(middleSegment() -> middle() - QPointF(12.0, 12.0), QSizeF(24.0, 24.0))
 		);
 		if (isSelected()) qp -> setBrush(Qt::NoBrush);
 	}
@@ -744,7 +744,7 @@
 */
 QRectF Conductor::boundingRect() const {
 	QRectF retour = QGraphicsPathItem::boundingRect();
-	retour.adjust(-5.0, -5.0, 5.0, 5.0);
+	retour.adjust(-11.0, -11.0, 11.0, 11.0);
 	return(retour);
 }
 


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