Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QMovie objects issue

QMovie objects issue

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 876 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.
  • M Offline
    M Offline
    mvenkat061
    wrote on last edited by
    #1

    Hi,
    I am using Qmovie for gif files on Qlable.

    I am facing some problem in updating gif file on Qlable.

    I have a requirements like this:

    1. have to show some valves status "OPEN" and "CLOSE".
      I have two gif images with different image.I am updating this gif files on Qlable for respective states of valve.
    2. Based on some algorithm i need to updates Qlable.
      I have to updates some 20 Qlables at a time.
      Problem is:
      if i can update Qlables individually i can see gif image changes.
      If I can do in bulk it was updating but i am unable to see one or two changed gif images. If i can click on tile bar of the window or if i do tab b/w pages the i can see all Qlable gif image changes changes.

    Why this how can overcome this problem.

    I am using Qt 5.2.
    I am using gif because i need to show some animations on Qlable.

    Please help us.

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      Can you try calling qApp->processEvents() after updating each QLabel ?

      157

      1 Reply Last reply
      0

      • Login

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