February 9, 2011

Matt Matt
Lab Rat
13 posts

Theme background in symbian.

 

I notice that a top level QWidget’s background defaults to the theme background in Symbian.
Is there an easy way to detect if there is a background so the application can use it’s own background if the system background is just plain black (as is the default on many phones) but use the system theme background otherwise.

1 reply

February 13, 2011

Fuzzbender Fuzzbender
Lab Rat
71 posts

Not really. Qt doesn’t really know the content of the QPixmap that contains the theme background. It is inquiried from the native side and displayed as-is. Even the “plain black” is returned as a valid bitmap from the native side.

 
  ‹‹ how to use QtScroller      Problem with Qt Simulator ››

You must log in to post a reply. Not a member yet? Register here!