[Qt-qml] Howto disable a QML Item?

Cornelius Hald hald at icandy.de
Mon Mar 21 09:47:46 CET 2011


On Mon, 2011-03-21 at 07:46 +0100, michael.brasser at nokia.com wrote:
> Another option might be gathering all these changes up into an "inactive" State that is set when !isCurrentScreen.

Yes, that might actually be the cleanest way because all that code is
bundled in one place. Thanks!

> > What I
> > would like to have would be something like:
> > 
> > MyScreen {
> >  active: isCurrentScreen
> >  SomeItem {
> >    text: backend.actitvePoi.name
> >    image: backend.activePoi.image
> >  }
> > }
> 
> This looks like an interesting idea -- any chance you could add a suggestion at bugreports.qt.nokia.com?

Sure.
http://bugreports.qt.nokia.com/browse/QTBUG-18245

Thanks!
Conny




More information about the Qt-qml mailing list