draw slider thumb as outline when disabled and value is min.
This commit is contained in:
parent
a54da52665
commit
0fc3fe683e
|
@ -205,11 +205,11 @@ void FlatButtonDelegate::addTransition(QAbstractTransition *transition,
|
||||||
QPropertyAnimation *animation;
|
QPropertyAnimation *animation;
|
||||||
|
|
||||||
animation = new QPropertyAnimation(this, "backgroundOpacity");
|
animation = new QPropertyAnimation(this, "backgroundOpacity");
|
||||||
animation->setDuration(200);
|
animation->setDuration(150);
|
||||||
transition->addAnimation(animation);
|
transition->addAnimation(animation);
|
||||||
|
|
||||||
animation = new QPropertyAnimation(this, "backgroundColor");
|
animation = new QPropertyAnimation(this, "backgroundColor");
|
||||||
animation->setDuration(200);
|
animation->setDuration(150);
|
||||||
transition->addAnimation(animation);
|
transition->addAnimation(animation);
|
||||||
|
|
||||||
animation = new QPropertyAnimation(this, "haloOpacity");
|
animation = new QPropertyAnimation(this, "haloOpacity");
|
||||||
|
|
Loading…
Reference in New Issue