Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QGraphicsOpacityEffect Opacity How To Fix?
Qt 6.11 is out! See what's new in the release blog

QGraphicsOpacityEffect Opacity How To Fix?

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 866 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • xr4zz3rsX Offline
    xr4zz3rsX Offline
    xr4zz3rs
    wrote on last edited by xr4zz3rs
    #1

    Hi, there are bugs in QPropertyAnimation, QGraphicsOpacityEffect.
    For example;

    alt text

    Code;

    void MainWindow::CHEATSFadeinANIMATION()
    {
        QGraphicsOpacityEffect *eff = new QGraphicsOpacityEffect(this);
        ui->UICheatTab->setGraphicsEffect(eff);
        QPropertyAnimation *a = new QPropertyAnimation(eff,"opacity");
        a->setDuration(500);
        a->setStartValue(0.0);
        a->setEndValue(1.0);
        a->start(QPropertyAnimation::DeleteWhenStopped);
    
    }
    
    void MainWindow::HOMEFadeinANIMATION()
    {
        QGraphicsOpacityEffect *eff = new QGraphicsOpacityEffect(this);
        ui->UIHomeTab->setGraphicsEffect(eff);
        QPropertyAnimation *a = new QPropertyAnimation(eff,"opacity");
        a->setDuration(200);
        a->setStartValue(0.0);
        a->setEndValue(1.0);
        a->setEasingCurve(QEasingCurve::InBack);
        a->start(QPropertyAnimation::DeleteWhenStopped);
    }
    
    void MainWindow::ACCOUNTFadeinANIMATION()
    {
        QGraphicsOpacityEffect *eff = new QGraphicsOpacityEffect(this);
        ui->UIAccountTab->setGraphicsEffect(eff);
        QPropertyAnimation *a = new QPropertyAnimation(eff,"opacity");
        a->setDuration(500);
        a->setStartValue(0);
        a->setEndValue(1);
        a->setEasingCurve(QEasingCurve::InBack);
        a->start(QPropertyAnimation::DeleteWhenStopped);
    }
    

    Could you help?

    Coder/Developer

    1 Reply Last reply
    -3
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Sorry, what are the bugs? What do you expect to see?

      (Z(:^

      xr4zz3rsX 1 Reply Last reply
      3
      • ODБOïO Offline
        ODБOïO Offline
        ODБOï
        wrote on last edited by ODБOï
        #3

        @xr4zz3rs Do you Hack games ?

        1 Reply Last reply
        0
        • sierdzioS sierdzio

          Sorry, what are the bugs? What do you expect to see?

          xr4zz3rsX Offline
          xr4zz3rsX Offline
          xr4zz3rs
          wrote on last edited by
          #4

          @sierdzio Objects is slipping and as you can see in the photo how to i fix this?

          Coder/Developer

          ODБOïO sierdzioS 2 Replies Last reply
          0
          • xr4zz3rsX xr4zz3rs

            @sierdzio Objects is slipping and as you can see in the photo how to i fix this?

            ODБOïO Offline
            ODБOïO Offline
            ODБOï
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • xr4zz3rsX xr4zz3rs

              @sierdzio Objects is slipping and as you can see in the photo how to i fix this?

              sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              @xr4zz3rs said in QGraphicsOpacityEffect Opacity How To Fix?:

              Objects is slipping and as you can see in the photo how to i fix this?

              No I don't see anything in the photo. I don't know what is wrong, so I can't even begin helping you fix. What do you mean by "slipping"?

              (Z(:^

              1 Reply Last reply
              1

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved