Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QGraphicsItem::ItemIgnoresParentOpacity seems to not work on symbian
Forum Updated to NodeBB v4.3 + New Features

QGraphicsItem::ItemIgnoresParentOpacity seems to not work on symbian

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.7k 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.
  • F Offline
    F Offline
    frankiwawa
    wrote on 25 Nov 2011, 14:12 last edited by
    #1

    Hi,

    Situation is like this: on QGraphicsScene I have two objects: A is parent, B is child stacked on top of the bigger parent. Object A has a flag QGraphicsItem::ItemDoesntPropagateOpacityToChildren and B has QGraphicsItem::ItemIgnoresParentOpacity.
    There are 2 animations (property: opacity) grupped in QSequentialAnimation, first one is animating parent (A) opacity from 0 to 0.5, then second one is animating child opacity from 0 to 1.
    Problem is: As soon as the sequentional animation stops, child object is taking back parents opacity (which is 0.5) It only happens on my Nokia N8, on the simulator it works as expected, animation stops and parent has opacity 0.5 and children opacity:1
    When I set long duration time of this animations I can see that child is indeed animated to opacity 1, but immediately after animation stops child item refers back to parent opacity.

    Simulator works under Linux, and Nokia N8 has Symbian Anna (or I think so)
    I'm using Qt 4.7.3
    What can cause the problem?

    best regards
    Marek

    1 Reply Last reply
    0

    1/1

    25 Nov 2011, 14:12

    • Login

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