Color tweaks

This commit is contained in:
Jens Bache-Wiig
2010-02-18 11:41:58 +01:00
parent 7899a2733b
commit 54b2ab7190
6 changed files with 13 additions and 10 deletions

View File

@@ -57,8 +57,8 @@ void FancyTab::fadeIn()
{
QPropertyAnimation *animation;
animation = new QPropertyAnimation(this, "fader");
animation->setDuration(160);
animation->setEndValue(25);
animation->setDuration(90);
animation->setEndValue(50);
animation->start(QAbstractAnimation::DeleteWhenStopped);
}
@@ -66,7 +66,7 @@ void FancyTab::fadeOut()
{
QPropertyAnimation *animation;
animation = new QPropertyAnimation(this, "fader");
animation->setDuration(225);
animation->setDuration(185);
animation->setEndValue(0);
animation->start(QAbstractAnimation::DeleteWhenStopped);
}
@@ -451,7 +451,7 @@ void FancyTabWidget::paintEvent(QPaintEvent *event)
painter.setPen(Utils::StyleHelper::borderColor());
painter.drawLine(rect.topRight(), rect.bottomRight());
QColor light = QColor(255, 255, 255, 40);
QColor light = Utils::StyleHelper::sidebarHighlight();
painter.setPen(light);
painter.drawLine(rect.bottomLeft(), rect.bottomRight());
setContentsMargins(0, 0, 0, 1);