Mercurial > hg > easyhg
comparison changesetitem.cpp @ 44:bed7ab59f62e
* A snatched bit of work on graph layout
author | Chris Cannam |
---|---|
date | Tue, 09 Nov 2010 17:51:12 +0000 |
parents | c32067cd19f8 |
children | bd3accba9b3f |
comparison
equal
deleted
inserted
replaced
43:c32067cd19f8 | 44:bed7ab59f62e |
---|---|
12 | 12 |
13 void | 13 void |
14 ChangesetItem::paint(QPainter *paint, const QStyleOptionGraphicsItem *option, | 14 ChangesetItem::paint(QPainter *paint, const QStyleOptionGraphicsItem *option, |
15 QWidget *w) | 15 QWidget *w) |
16 { | 16 { |
17 paint->drawText(50, 0, m_changeset->comment()); | 17 // paint->drawText(50, 0, m_changeset->comment()); |
18 paint->drawText(5, 15, m_changeset->authorName()); | |
19 paint->drawText(5, 30, m_changeset->branch()); | |
18 paint->drawRect(QRectF(0, 0, 50, 50)); | 20 paint->drawRect(QRectF(0, 0, 50, 50)); |
19 | 21 |
20 // paint->drawRect(QRectF(0, 0, 50, 50)); | 22 // paint->drawRect(QRectF(0, 0, 50, 50)); |
21 } | 23 } |