Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8075223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:55:11+00:00 2026-06-05T14:55:11+00:00

I want my widget Gradually appeared . QGraphicsOpacityEffect *opacityEffect = new QGraphicsOpacityEffect(this); myWidget->setGraphicsEffect(opacityEffect); opacityEffect->setOpacity(0);

  • 0

I want my widget Gradually appeared .

QGraphicsOpacityEffect *opacityEffect = new QGraphicsOpacityEffect(this);
myWidget->setGraphicsEffect(opacityEffect);
opacityEffect->setOpacity(0);

QTimer timerOpacity = new QTimer(this);
connect(timerOpacity,SIGNAL(timeout()),this,SLOT(changeOpacity()));
timerOpacity->start(100);

void Widget::changeOpacity()
{
    float opacity[10] =  {0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1};
    this->opacityEffect->setOpacity(opacity[opalevel]);

    if (opalevel >= 9)
    {
        opalevel = 0;
        this->opacityEffect->setOpacity(1);
        this->timerOpacity->stop();
    }

    opalevel++;
}

I’m very satisfied with the effect of debugging on a computer.What I want to emphasize is the fact that when running on ARM11+Linux+Qt-embedded-4.6,the effect was bad.CPU load is too large,and the mouse response is slow .
How to solve this problem ? Any help will be appreciated. Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T14:55:13+00:00Added an answer on June 5, 2026 at 2:55 pm

    Due to hardware performance is limited, I reset color depth from 32bit to 16bit, the effect is very smooth.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a tab/widget/thingymajiggy like the feedback-thing in this picture: That behaves
I want to create a small widget of my website. This widget will facilitate
I want to draw a widget (in this example, a canvas) and then remove
I want to insert • into GtkTextView widget. In Python + pyGTK this line
I want my widget to look exactly like it does now, except to be
I want a widget that allows users to add a request if that request
I'm developing a small widget application in Qt and I want the widget to
We want to create a widget platform for a particular website. I couldn't find
I want to create a widget like Stack Overflow Tag Field. How to add
I want to mask a widget. So i used a popup panel to do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.