[Uml-devel] branches/work/soc-umbrello/umbrello

Gopala Krishna A krishna.ggk at gmail.com
Sun Jul 20 16:50:04 UTC 2008


SVN commit 835479 by gopala:

Small correction to the icons.


 M  +3 -3      artifactwidget.cpp  


--- branches/work/soc-umbrello/umbrello/artifactwidget.cpp #835478:835479
@@ -169,7 +169,7 @@
 {
 	QRectF iconRect = rect();
 	iconRect.setHeight(iconRect.height() - m_cachedTextHeight);
-	QSizeF topRightTriSize(10, 10);
+	QSizeF topRightTriSize(.2 * iconRect.width(), .2 * iconRect.width());
 
 	Widget_Utils::drawTriangledRect(painter, iconRect, topRightTriSize);
 }
@@ -183,7 +183,7 @@
 {
 	QRectF iconRect = rect();
 	iconRect.setHeight(iconRect.height() - m_cachedTextHeight);
-	QSizeF topRightTriSize(10, 10);
+	QSizeF topRightTriSize(.2 * iconRect.width(), .2 * iconRect.width());
 
 	Widget_Utils::drawTriangledRect(painter, iconRect, topRightTriSize);
 	//FIXME this should have gears on it
@@ -217,7 +217,7 @@
 	painter->drawLines(hLines);
 
 	// Draw thick lines.
-	painter->setPen(QPen(lineColor(), lineWidth() + 1));
+	painter->setPen(QPen(lineColor(), lineWidth() + 2));
 	painter->drawLine(vLines[1]);
 	painter->drawLine(hLines[1]);
 }




More information about the umbrello-devel mailing list