comparison view/View.cpp @ 384:c1e5af9f2c3c

...
author Chris Cannam
date Mon, 12 May 2008 12:38:59 +0000
parents 06b5f110c5d2
children c0818f064e66
comparison
equal deleted inserted replaced
383:b35184d0dfe5 384:c1e5af9f2c3c
1417 if (i->second->isVisible()) { 1417 if (i->second->isVisible()) {
1418 ph -= i->second->height(); 1418 ph -= i->second->height();
1419 } 1419 }
1420 } 1420 }
1421 } 1421 }
1422 }
1423
1424 int
1425 View::getProgressBarWidth() const
1426 {
1427 for (ProgressMap::const_iterator i = m_progressBars.begin();
1428 i != m_progressBars.end(); ++i) {
1429 if (i->second && i->second->isVisible()) return i->second->width();
1430 }
1431
1432 return 0;
1422 } 1433 }
1423 1434
1424 void 1435 void
1425 View::setPaintFont(QPainter &paint) 1436 View::setPaintFont(QPainter &paint)
1426 { 1437 {