[Interest] QML id property to string?
Dmitry Volosnykh
dmitry.volosnykh at gmail.com
Thu Mar 10 18:14:29 CET 2016
I feel the same need frequently, too. Without such feature I have to set
objectName by copy-pasting and qouting id. This is quite annoying.
On Thu, Mar 10, 2016 at 8:08 PM Jason H <jhihn at gmx.com> wrote:
> A few times now, I've wanted to display the id as a string. Usually when
> something goes wrong on the console, but sometimes in a hash/map. I've got
> a function that takes an object (QML item) and does some processing on it.
> Is there a way to get it? I know I can just set a property, but then that
> has to be maintained separately.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160310/3f27cb8c/attachment.html>
More information about the Interest
mailing list