Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Waiting gif transparent on QDialog

    General and Desktop
    1
    1
    82
    Loading More Posts
    • 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.
    • A
      Abdurahman_Gulamkadirov last edited by

      Hi there! I'm making a simple program that requests to API, while waiting for response, it should show transparent waiting gif with blurry background. When request is sent, I set blur graphics effect to my MainWindow, and call frameless QDialog. On my QDialog, there's just a label that should play the waiting gif. My problem is that background of gif is transparent. I tried some ways: changing style sheet background-color: transparent; of both label and dialog, but there's no result. I also tried palette:

      pal.setColor(QPalette::Background, QColor(0x00,0xff,0x00,0x00));
      setPalette(pal);
      

      but background is black, it doesn't turn into transparent, what do you advice?

      P.S: Sorry, my english is not good

      1 Reply Last reply Reply Quote 0
      • First post
        Last post