StelGuiItems.cpp   StelGuiItems.cpp 
skipping to change at line 549 skipping to change at line 549
{ {
helpLabel->setText(""); helpLabel->setText("");
} }
} }
StelBarsPath::StelBarsPath(QGraphicsItem* parent) : QGraphicsPathItem(paren t) StelBarsPath::StelBarsPath(QGraphicsItem* parent) : QGraphicsPathItem(paren t)
{ {
roundSize = 6; roundSize = 6;
QPen aPen(QColor::fromRgbF(0.7,0.7,0.7,0.5)); QPen aPen(QColor::fromRgbF(0.7,0.7,0.7,0.5));
aPen.setWidthF(1.); aPen.setWidthF(1.);
setBrush(QBrush(QColor::fromRgbF(0.1, 0.13, 0.23, 0.2))); setBrush(QBrush(QColor::fromRgbF(0.22, 0.22, 0.23, 0.2)));
setPen(aPen); setPen(aPen);
} }
void StelBarsPath::updatePath(BottomStelBar* bot, LeftStelBar* lef) void StelBarsPath::updatePath(BottomStelBar* bot, LeftStelBar* lef)
{ {
QPainterPath newPath; QPainterPath newPath;
QPointF p = lef->pos(); QPointF p = lef->pos();
QRectF r = lef->boundingRectNoHelpLabel(); QRectF r = lef->boundingRectNoHelpLabel();
QPointF p2 = bot->pos(); QPointF p2 = bot->pos();
QRectF r2 = bot->boundingRectNoHelpLabel(); QRectF r2 = bot->boundingRectNoHelpLabel();
skipping to change at line 572 skipping to change at line 572
newPath.lineTo(p.x()+r.width(),p.y()-roundSize); newPath.lineTo(p.x()+r.width(),p.y()-roundSize);
newPath.arcTo(p.x()+r.width()-roundSize, p.y()-roundSize, 2.*roundSi ze, 2.*roundSize, 90, -90); newPath.arcTo(p.x()+r.width()-roundSize, p.y()-roundSize, 2.*roundSi ze, 2.*roundSize, 90, -90);
newPath.lineTo(p.x()+r.width()+roundSize, p2.y()-roundSize); newPath.lineTo(p.x()+r.width()+roundSize, p2.y()-roundSize);
newPath.lineTo(p2.x()+r2.width(),p2.y()-roundSize); newPath.lineTo(p2.x()+r2.width(),p2.y()-roundSize);
newPath.arcTo(p2.x()+r2.width()-roundSize, p2.y()-roundSize, 2.*roun dSize, 2.*roundSize, 90, -90); newPath.arcTo(p2.x()+r2.width()-roundSize, p2.y()-roundSize, 2.*roun dSize, 2.*roundSize, 90, -90);
newPath.lineTo(p2.x()+r2.width()+roundSize, p2.y()+r2.height()+round Size); newPath.lineTo(p2.x()+r2.width()+roundSize, p2.y()+r2.height()+round Size);
newPath.lineTo(p.x()-roundSize, p2.y()+r2.height()+roundSize); newPath.lineTo(p.x()-roundSize, p2.y()+r2.height()+roundSize);
setPath(newPath); setPath(newPath);
} }
void StelBarsPath::setBackgroundOpacity(double opacity)
{
setBrush(QBrush(QColor::fromRgbF(0.22, 0.22, 0.23, opacity)));
}
StelProgressBarMgr::StelProgressBarMgr(QGraphicsItem* parent) StelProgressBarMgr::StelProgressBarMgr(QGraphicsItem* parent)
{ {
} }
void StelProgressBarMgr::paint(QPainter *painter, const QStyleOptionGraphic sItem *option, QWidget *widget) void StelProgressBarMgr::paint(QPainter *painter, const QStyleOptionGraphic sItem *option, QWidget *widget)
{ {
// Do nothing. Just paint the child widgets // Do nothing. Just paint the child widgets
} }
QRectF StelProgressBarMgr::boundingRect() const QRectF StelProgressBarMgr::boundingRect() const
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 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/