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

Andreas Pakulat apaku at gmx.de
Thu Jun 28 08:21:28 CEST 2012


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.

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


More information about the Interest mailing list