StelGuiItems.cpp   StelGuiItems.cpp 
skipping to change at line 700 skipping to change at line 700
{ {
if (QGraphicsItem::children().size()==0) if (QGraphicsItem::children().size()==0)
return QRectF(); return QRectF();
const QRectF& r = childrenBoundingRect(); const QRectF& r = childrenBoundingRect();
return QRectF(0, 0, r.width()-1, r.height()-1); return QRectF(0, 0, r.width()-1, r.height()-1);
}*/ }*/
QProgressBar* StelProgressBarMgr::addProgressBar() QProgressBar* StelProgressBarMgr::addProgressBar()
{ {
QProgressBar* pb = new QProgressBar(); QProgressBar* pb = new QProgressBar();
pb->setFixedHeight(15); pb->setFixedHeight(25);
pb->setFixedWidth(250); pb->setFixedWidth(200);
pb->setTextVisible(true); pb->setTextVisible(true);
pb->setValue(66); pb->setValue(66);
QGraphicsProxyWidget* pbProxy = new QGraphicsProxyWidget(); QGraphicsProxyWidget* pbProxy = new QGraphicsProxyWidget();
pbProxy->setWidget(pb); pbProxy->setWidget(pb);
pbProxy->setCacheMode(QGraphicsItem::DeviceCoordinateCache); pbProxy->setCacheMode(QGraphicsItem::DeviceCoordinateCache);
pbProxy->setZValue(150); pbProxy->setZValue(150);
static_cast<QGraphicsLinearLayout*>(layout())->addItem(pbProxy); static_cast<QGraphicsLinearLayout*>(layout())->addItem(pbProxy);
return pb; return pb;
} }
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/