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:[email protected]]
Sent: Friday, April 09, 2010 4:35 PM
To: Mutharaju Rakesh
Cc: [email protected]
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, 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.trolltech.com/mailman/listinfo/qt-qml


_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to