comparison historywidget.cpp @ 250:be483734bde5

* Make it possible for changeset items to take two or three lines of description, depending on how much there is * Some other small improvements to how changeset items are drawn (e.g. give them opaque white backgrounds)
author Chris Cannam
date Tue, 11 Jan 2011 17:58:14 +0000
parents 8fd71f570884
children f7cdd5b31aed ca6edd303c9d
comparison
equal deleted inserted replaced
249:123e06d5d9af 250:be483734bde5
34 { 34 {
35 m_panned = new Panned; 35 m_panned = new Panned;
36 m_panner = new Panner; 36 m_panner = new Panner;
37 37
38 m_panned->setDragMode(QGraphicsView::ScrollHandDrag); 38 m_panned->setDragMode(QGraphicsView::ScrollHandDrag);
39 m_panned->setViewportUpdateMode(QGraphicsView::BoundingRectViewportUpdate);
39 40
40 QGridLayout *layout = new QGridLayout; 41 QGridLayout *layout = new QGridLayout;
41 layout->addWidget(m_panned, 0, 0); 42 layout->addWidget(m_panned, 0, 0);
42 layout->addWidget(m_panner, 0, 1); 43 layout->addWidget(m_panner, 0, 1);
43 m_panner->setMaximumWidth(80); 44 m_panner->setMaximumWidth(80);