[qet] [2880] Basic shapes add setRenderHint(QPainter::Antialiasing, false);

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


Revision: 2880
Author:   scorpio810
Date:     2014-02-27 13:54:09 +0100 (Thu, 27 Feb 2014)
Log Message:
-----------
Basic shapes add setRenderHint(QPainter::Antialiasing, false);

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

Modified: trunk/sources/qetgraphicsitem/qetshapeitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-02-27 09:55:54 UTC (rev 2879)
+++ trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-02-27 12:54:09 UTC (rev 2880)
@@ -65,6 +65,7 @@
 
 void QetShapeItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 {
+	painter -> setRenderHint(QPainter::Antialiasing, false);
 	QRectF rec = boundingRect();
 	QPen pen(Qt::black);
 	if (isSelected())


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