Hello Everyone,
I'm facing an abrupt issue with qml while trying to change the state of a
qml file. First time it changes to the specified state but second time it
doesn't while the objects return desired value.
below i shown how I try to change state from CPP file.
QDeclarativeView* view =
reinterpret_cast<QDeclarativeView*>(this->parent());
QObject *rootObject = reinterpret_cast<QObject*>(view->rootObject());
QObject *screenObj = rootObject->findChild<QObject*>("screen name");
screenObj->setProperty("state", QVariant::fromValue(QString("some State")));
--
WIth Best Regards
Manoj
Save a Paper; Save a Tree....
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml