mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Correction d'un commentaire dans la classe ElementTextItem et des methodes de debug des classes PartText*
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1087 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -354,11 +354,11 @@ void PartTextField::drawPoint(QPainter *painter, const QPointF &point) {
|
||||
qreal py = point.y();
|
||||
qreal size_1 = 5.0;
|
||||
qreal size_2 = 1.0;
|
||||
painter -> drawLine(px, py, px + size_1, py);
|
||||
painter -> drawLine(px + size_1 - size_2, py - size_2, px + size_1, py);
|
||||
painter -> drawLine(px + size_1 - size_2, py + size_2, px + size_1, py);
|
||||
painter -> drawLine(px, py, px, py + size_1);
|
||||
painter -> drawLine(px, py + size_1, px - size_2, py + size_1 - size_2);
|
||||
painter -> drawLine(px, py + size_1, px + size_2, py + size_1 - size_2);
|
||||
painter -> drawLine(QLineF(px, py, px + size_1, py));
|
||||
painter -> drawLine(QLineF(px + size_1 - size_2, py - size_2, px + size_1, py));
|
||||
painter -> drawLine(QLineF(px + size_1 - size_2, py + size_2, px + size_1, py));
|
||||
painter -> drawLine(QLineF(px, py, px, py + size_1);)
|
||||
painter -> drawLine(QLineF(px, py + size_1, px - size_2, py + size_1 - size_2));
|
||||
painter -> drawLine(QLineF(px, py + size_1, px + size_2, py + size_1 - size_2));
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user