[Qt-interest] QState assignProperty getter
Brian McKinnon
bpmckinnon.qt at gmail.com
Thu Dec 9 20:19:47 CET 2010
I'm controlling basic animations for items in a graphics scene. But I want
to be able to say have an object follow a path, then if you click on the
item it turns gray and stops moving. Pretty simple stuff... but I figures
the state system seems to fit my problem in a reasonable way. I'm just
trying to put together a demo that covers as many of the new qt functions as
I can find.
On Thu, Dec 9, 2010 at 3:09 PM, Mihail Naydenov <mlists at ymail.com> wrote:
> If you want to change what properties are assigned to a qstate, it is not
> possible, see http://bugreports.qt.nokia.com/browse/QTBUG-9954
>
> If you want to change the values of the properties, well qstate is supposed
> to do that. They are managed by it.
>
> What are you doing on keyframe with the state?
>
> MihailNaydenov
>
>
> *From:* Brian McKinnon <bpmckinnon.qt at gmail.com>
> *To:* qt-interest <qt-interest at trolltech.com>
> *Sent:* Thu, December 9, 2010 4:59:43 PM
> *Subject:* [Qt-interest] QState assignProperty getter
>
> Hi all,
>
> I'm trying to access a list of assigned properties from a QState. I'm
> thinking there must be a getter to match the setter assignProperty() but I
> can't find anything.
>
> I'm setting up a system of keyframe animations where the keyframes hold
> QStates, but I want to be able to edit the keyframes at run time.
>
> If there is no getter... then am I using the QStates wrong? Are they not
> intended to be modified at runtime... or is it just assumed that I will
> store the values myself instead of accessing them from the QState?
>
> Thanks,
> Brian!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101209/10930263/attachment.html
More information about the Qt-interest-old
mailing list