Mercurial > hg > easyhg
comparison src/changesetview.h @ 397:61bde1f0ff0a item_appearance_adjustments
Replace DateItems (background items for date shading) with a date range list in the scene and dedicated rendering for it in the graphics view: this way we can ensure the shading spans the full width and the dates are always visible
author | Chris Cannam |
---|---|
date | Wed, 25 May 2011 14:32:32 +0100 |
parents | |
children | 533519ebc0cb |
comparison
equal
deleted
inserted
replaced
396:1e73b5911631 | 397:61bde1f0ff0a |
---|---|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | |
2 | |
3 /* | |
4 EasyMercurial | |
5 | |
6 Based on HgExplorer by Jari Korhonen | |
7 Copyright (c) 2010 Jari Korhonen | |
8 Copyright (c) 2011 Chris Cannam | |
9 Copyright (c) 2011 Queen Mary, University of London | |
10 | |
11 This program is free software; you can redistribute it and/or | |
12 modify it under the terms of the GNU General Public License as | |
13 published by the Free Software Foundation; either version 2 of the | |
14 License, or (at your option) any later version. See the file | |
15 COPYING included with this distribution for more information. | |
16 */ | |
17 | |
18 #ifndef CHANGESETVIEW_H | |
19 #define CHANGESETVIEW_H | |
20 | |
21 #include "panned.h" | |
22 | |
23 class ChangesetView : public Panned | |
24 { | |
25 Q_OBJECT | |
26 | |
27 public: | |
28 ChangesetView(); | |
29 | |
30 private slots: | |
31 void horizontalScrollHappened(); | |
32 | |
33 protected: | |
34 void drawBackground(QPainter *, const QRectF &); | |
35 }; | |
36 | |
37 #endif |