[Qt5-feedback] User-defined meta data for QMetaProperty

Andre Somers andre at familiesomers.nl
Wed Jun 1 21:26:16 CEST 2011


Hi,

Op 1-6-2011 21:05, Jason H schreef:
> Oh Addemdum to my previous message:
> QObjects as a row object from SQL queries?
Way to heavy for general usage, if you ask me.

> Couldn't we then use QObjects as a storage medium for general 
> structured data, say as a universal format. THen we can write generic 
> XML/binary readers/writers.
>
> No?
>
Not sure how that would help you. My suggestion was about an extension 
to the Qt Meta object system, not about using QObject for everything.

André

> ------------------------------------------------------------------------
> *From:* Andre Somers <andre at familiesomers.nl>
> *To:* qt5-feedback at qt.nokia.com
> *Sent:* Wednesday, June 1, 2011 4:44 AM
> *Subject:* [Qt5-feedback] User-defined meta data for QMetaProperty
>
> Hi,
>
> When defining properties, one can set a couple of flags like STORED and
> DESIGNABLE. For certain applications, I found that it would be very useful
> if this mechanism were somehow extendable to include arbitrairy other
> pieces of data. A main use would be applying to make more powerful
> property editors without having to create a new hierarchy of data or
> adaptor classes on top of the already existing QObject meta data.
>
> Do others here see uses for such a mechanism? Do you think it doable to
> add that?
>
> André
>
>
> _______________________________________________
> Qt5-feedback mailing list
> Qt5-feedback at qt.nokia.com <mailto:Qt5-feedback at qt.nokia.com>
> http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt5-feedback/attachments/20110601/7d02917d/attachment.html 


More information about the Qt5-feedback mailing list