Mercurial > hg > easyhg
diff 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 |
line wrap: on
line diff
--- a/changesetitem.cpp Sun Nov 07 19:59:54 2010 +0000 +++ b/changesetitem.cpp Tue Nov 09 17:51:12 2010 +0000 @@ -14,7 +14,9 @@ ChangesetItem::paint(QPainter *paint, const QStyleOptionGraphicsItem *option, QWidget *w) { - paint->drawText(50, 0, m_changeset->comment()); +// paint->drawText(50, 0, m_changeset->comment()); + paint->drawText(5, 15, m_changeset->authorName()); + paint->drawText(5, 30, m_changeset->branch()); paint->drawRect(QRectF(0, 0, 50, 50)); // paint->drawRect(QRectF(0, 0, 50, 50));