Mercurial > hg > easyhg
comparison src/changesetdetailitem.cpp @ 386:7ef46fb73b48 item_appearance_adjustments
Use rounded rectangles throughout
author | Chris Cannam |
---|---|
date | Tue, 24 May 2011 14:05:35 +0100 |
parents | b9c153e00e84 |
children | 75003687f364 |
comparison
equal
deleted
inserted
replaced
385:5cc0d897eb26 | 386:7ef46fb73b48 |
---|---|
84 m_doc->setTextWidth(width); | 84 m_doc->setTextWidth(width); |
85 int height = m_doc->size().height(); | 85 int height = m_doc->size().height(); |
86 | 86 |
87 QRectF r(0.5, 0.5, width - 1, height - 1); | 87 QRectF r(0.5, 0.5, width - 1, height - 1); |
88 paint->setBrush(Qt::white); | 88 paint->setBrush(Qt::white); |
89 paint->drawRect(r); | 89 paint->drawRoundedRect(r, 10, 10); |
90 | 90 |
91 if (scale < 0.1) { | 91 if (scale < 0.1) { |
92 paint->restore(); | 92 paint->restore(); |
93 return; | 93 return; |
94 } | 94 } |