Thanks for the code.

But I seen some examples, they used theme.inverted.

ToolItem { iconId: theme.inverted ? "icon-m-toolbar-back-white" :
"icon-m-toolbar-back"; onClicked: pageStack.pop(); } -- Here using
"theme.inverted". Please can you tell me What is this "theme.inverted" mean?
How to set this "theme" for the Page?

Suppose if background is black, i need related toolbar which suits to that
theme and also related icons.. And if background is white, i need related
toolbar which suits to that theme and also related icons.

Thanks & Regards,
Niranjan Babu.B

On Tue, Apr 19, 2011 at 6:12 PM, <pekka.e.jok...@nokia.com> wrote:

>  Page {
>
>   Rectange {
>
>     anchors.fill: parent
>
>     color: “red”
>
>     // … my page content goes here
>
>   }
>
> }
>
>
>
>  -P
>
>
>
> *From:* qt-components-bounces+pekka.e.jokela=nokia....@qt.nokia.com[mailto:
> qt-components-bounces+pekka.e.jokela=nokia....@qt.nokia.com] *On Behalf Of
> *ext Niranjan Bandla
> *Sent:* 19.04.2011 15:15
> *To:* qt-components@qt.nokia.com
> *Subject:* [Qt-components] Problem with changing the background of a page.
>
>
>
>
> Hi,
>
> Can we change the color of "Page" from "white" to "black" or vice-versa?
>
> I am developing an application. It contains multiple screens. I need some
> screens in default color & some screens in the black color as background. I
> am using "Page" for one screen.
>
> Please can any one help me in that?
>
> Thanks & Regards,
> Niranjan Babu.B
>
_______________________________________________
Qt-components mailing list
Qt-components@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-components

Reply via email to