[Interest] Custom user attributes for QGeoPositionInfo

Marian Beermann public at enkore.de
Mon Sep 15 12:21:03 CEST 2014


I guess not. As it doesn't inherit QObject you also can't add dynamic
properties at runtime.

Might make sense to add in future release. Could be implemented with
UserAttribute and internal QVariantMap or something similar.

On 15.09.2014 11:33, Dmitrii Volosnykh wrote:
> An object of QGeoPositionInfo class may be supplied with a set of
> attributes. I wonder wether this class was designed with the ability to
> add custom attributes (i.e. fitness ones like heart rate, cadence,
> temperature, etc.)? I can see no enum value similar to Qt::UserRole (as
> part of ItemDataRole enum) or QGraphicsItem::UserType.
> 
> Regards,
> Dmitrii.
> 
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 




More information about the Interest mailing list