forked from qt-creator/qt-creator
DetailsWidget: partially revert removing of obsolete code
Used on the mac. Change-Id: I6d96d9c706b1f4b94482f31cd87c4db48792b062 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -57,6 +57,11 @@ FadingPanel::FadingPanel(QWidget *parent) :
|
||||
setPalette(pal);
|
||||
}
|
||||
|
||||
void FadingPanel::setOpacity(qreal value)
|
||||
{
|
||||
m_opacityEffect->setOpacity(value);
|
||||
}
|
||||
|
||||
void FadingPanel::fadeTo(qreal value)
|
||||
{
|
||||
QPropertyAnimation *animation = new QPropertyAnimation(m_opacityEffect, "opacity");
|
||||
|
||||
Reference in New Issue
Block a user