[Interest] Where are the USER properties of Qt-provided QObjects documented?

Andre Somers andre at familiesomers.nl
Thu Jun 28 08:55:01 CEST 2012


Op 28-6-2012 8:21, Andreas Pakulat schreef:
> Hi,
>
> Am Donnerstag, 28. Juni 2012 schrieb Bo Thorsen :
>
>     Hi Frank,
>
>     Den 28-06-2012 06:40, K. Frank skrev:
>     > Where in the documentation (not the source code) can I find out
>     which
>     > of the properties of a standard Qt QObject class is the designated
>     > USER property?
>
>     You can't find this, and it doesn't matter. You might be able to
>     find it
>     using the QMetaObject introspection, but I guess this is only for
>     designer or something like it. I've never used this property.
>
>     > [...]
>     > For some context, from the documentation for "The Property System":
>     >
>     >     The USER attribute indicates whether the property is
>     designated as
>     >     the user-facing or user-editable property for the class.
>
>     What do you need this for?
>
>
> I don't know what the op needs this for, but KDE's kconfigxt system 
> uses the property to connect widgets and their corresponding config 
> file entry automatically.
>
It is also used for things like QDataWidgetMapper.

André

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120628/e3d172b3/attachment.html>


More information about the Interest mailing list