comparison changesetitem.cpp @ 46:bd3accba9b3f

* Better layout for branches; spline connection paths
author Chris Cannam
date Wed, 10 Nov 2010 17:11:41 +0000
parents bed7ab59f62e
children 3c46b2ac45d3
comparison
equal deleted inserted replaced
45:4286836bb3c9 46:bd3accba9b3f
4 #include <QPainter> 4 #include <QPainter>
5 5
6 QRectF 6 QRectF
7 ChangesetItem::boundingRect() const 7 ChangesetItem::boundingRect() const
8 { 8 {
9 int n = m_changeset->number();
10 return QRectF(0, 0, 250, 50); 9 return QRectF(0, 0, 250, 50);
11 } 10 }
12 11
13 void 12 void
14 ChangesetItem::paint(QPainter *paint, const QStyleOptionGraphicsItem *option, 13 ChangesetItem::paint(QPainter *paint, const QStyleOptionGraphicsItem *option,