Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25650

Bug with QGraphicsOpacityEffect and ScrollArea.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.8.0
    • Widgets: GraphicsView
    • None
    • Ubuntu 12.04

    Description

      So I have a widget. Inside the widget there is a scrollarea..
      If i try this:

      QGraphicsOpacityEffect* opacityEffect = new QGraphicsOpacityEffect(this);
          opacityEffect->setOpacity(0.0);
          ui->widget->setGraphicsEffect(opacityEffect);
          QPropertyAnimation* anim = new QPropertyAnimation(this);
          anim->setTargetObject(opacityEffect);
          anim->setPropertyName("opacity");
          anim->setDuration(3000);
          anim->setStartValue(opacityEffect->opacity());
          anim->setEndValue(1);
          anim->setEasingCurve(QEasingCurve::OutQuad);
          anim->start(QAbstractAnimation::DeleteWhenStopped);
      

      which always works with widgets, buttons, labels,etc
      the whole widget will be black

      This is like a scrollarea bug, cause it is the same with groupbox, stackwidget, etc

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            leon Leon Vitanos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes