[Qt-qml] Traversing between views

Rakesh.Mutharaju at tieto.com Rakesh.Mutharaju at tieto.com
Mon Apr 12 08:29:37 CEST 2010


Hello,

            A.qml and B.qml are  part of QML application in my case.But, they represent two different view all together with different widgets.
Could you bit elobrate on "either change the source file" -

for eg.,

MouseArea {
     onClicked:

            {

            source: "B.qml"

            }

  }



is this valid ?? any examples or demos ?



how to load all the .qml files of the QML application and switch., (opacity)?

Thanks and regards,
Rakesh.M
________________________________
From: Eduardo Fleury [mailto:eduardo.fleury at openbossa.org]
Sent: Friday, April 09, 2010 4:35 PM
To: Mutharaju Rakesh
Cc: qt-qml at trolltech.com
Subject: Re: [Qt-qml] Traversing between views

Hi Rakesh,

When you say A.qml and B.qml, do you refer to two different views of a C++ application? Or are those two parts of a QML application?

I mean, you can either change the source file you are using, or maybe have the two loaded and play with their opacity.

Eduardo M. Fleury
OpenBossa - INdT
http://eduardofleury.com/
http://www.openbossa.org/


On Fri, Apr 9, 2010 at 8:38 AM, <Rakesh.Mutharaju at tieto.com<mailto:Rakesh.Mutharaju at tieto.com>> wrote:
Hello All,

                  I am quite new to this Qt Quick., Could someone tell me how can I traverse between views.

By views I mean.,  displayables having different properties and items.
For eg., if I have two views (defined by A.qml and B.qml each representing a view) I would like to know how can I change from "A" view to "B" view on some mouse action.

I know how to capture mouse click actions using Mouse Area for visual items., I would like to know how is it communicated to the Model and view switching is done.

Is there any good example in Qt sources (demos or examples) folder? Examples using Qt Declarative module classes?


Thanks and Regards,
Rakesh



_______________________________________________
Qt-qml mailing list
Qt-qml at trolltech.com<mailto:Qt-qml at trolltech.com>
http://lists.trolltech.com/mailman/listinfo/qt-qml


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100412/ccb09f45/attachment.html 


More information about the Qt-qml mailing list