Mercurial > hg > easyhg
diff changesetitem.h @ 55:261bfb9481fe
* Make changeset item boxes wider if they have no neighbours.
Changeset item code is horrible -- items generally need
refactoring to take out hardcoded dimensions.
author | Chris Cannam |
---|---|
date | Fri, 12 Nov 2010 17:30:53 +0000 |
parents | 3c46b2ac45d3 |
children | f583e44d9d31 |
line wrap: on
line diff
--- a/changesetitem.h Fri Nov 12 17:04:36 2010 +0000 +++ b/changesetitem.h Fri Nov 12 17:30:53 2010 +0000 @@ -21,11 +21,15 @@ void setColumn(int c) { m_column = c; setX(c * 100); } void setRow(int r) { m_row = r; setY(r * 90); } + bool isWide() const { return m_wide; } + void setWide(bool w) { m_wide = w; } + private: QFont m_font; Changeset *m_changeset; int m_column; int m_row; + bool m_wide; }; #endif // CHANGESETITEM_H