Commit f1544ce6 authored by Daniel Teske's avatar Daniel Teske

Revert "DetailsWidget: Remove unused obsolete code"

This reverts commit 496ed221.
Turns out that the code is used by a QPropertyAnimation.

Change-Id: Ia389710ff9e6f90f898f79cecf075fdf0a4ed6a5
Reviewed-by: default avatarDaniel Teske <>
parent fa34576f
......@@ -55,11 +55,14 @@ protected:
class QTCREATOR_UTILS_EXPORT DetailsButton : public QAbstractButton
Q_PROPERTY(float fader READ fader WRITE setFader)
DetailsButton(QWidget *parent = 0);
QSize sizeHint() const;
float fader() { return m_fader; }
void setFader(float value) { m_fader = value; update(); }
void paintEvent(QPaintEvent *e);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment