It works fine, sorry for the confusion :-) Girish
On Wed, Jun 1, 2011 at 3:01 PM, Thomas Ganshorn <[email protected]> wrote: > Ok in this case i am relieved. > > Having a flat list of all different states of my widgets would be a killer > argument > > > > Pelle Johnsen <[email protected]> hat am 1. Juni 2011 um 11:24 > geschrieben: > >> You can use StateGroup just fine inside items. I think the point of the >> docs >> is that you should use Item's built-in state if you only need one >> StateGroup. >> >> Would probably be a good idea to clarify this a bit more in the docs. >> >> -Pelle >> >> On Wed, Jun 1, 2011 at 11:19 AM, Thomas Ganshorn >> <[email protected]>wrote: >> >> > So >> > >> > i can't use StateGroup in eg. my own button to have multiple combining >> > states than one large list of probably 100 states ? >> > >> > >> > Alan Alpert <[email protected]> hat am 1. Juni 2011 um 11:14 >> > geschrieben: >> > >> > > On Wed, 1 Jun 2011 19:04:45 ext Girish Ramakrishnan wrote: >> > > > Hi Alan, >> > > > >> > > > On Mon, May 30, 2011 at 3:09 PM, Alan Alpert <[email protected]> >> > wrote: >> > > > > You can have multiple non-exclusive state groups. By default, all >> > states >> > > > > inside one Item's states property are inside the same exclusive >> > group. >> > > > > You can create additional groups using the StateGroup element: >> > > > > http://doc.qt.nokia.com/4.7-snapshot/qml-stategroup.html . >> > > > >> > > > For some reason, StateGroup appears to be restricted to non-items. >> > > > It >> > > > seems like a bug, but I wanted to confirm before I create a >> > > > bugreport. >> > > > >> > > >> > > What do you mean, "restricted to non-items"? The documentation says >> > > it's >> > for >> > > non-Items simply because Items have one built-in. When you have Items, >> > you >> > > should usually use the built-in ones. >> > > >> > > -- >> > > Alan Alpert >> > > Senior Engineer >> > > Nokia, Qt Development Frameworks >> > > _______________________________________________ >> > > Qt-qml mailing list >> > > [email protected] >> > > http://lists.qt.nokia.com/mailman/listinfo/qt-qml >> > >> > _______________________________________________ >> > Qt-qml mailing list >> > [email protected] >> > http://lists.qt.nokia.com/mailman/listinfo/qt-qml >> > >> > _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
