[Development] Can the "hidden" QML properties please be documented?
Mark Gaiser
markg85 at gmail.com
Sun Dec 1 00:42:18 CET 2013
Hi,
Recently i was searching for a way to influence the "dragDistance" in
QML. The documentation (i even looked at dev snapshot docs) didn't
provide any clue, but the code did. Turns out there is a hidden
property:
drag.threshold (it is underlined in red in QtCreator, but works just fine!).
For font rendering there is the hidden property:
renderType
Which works just fine, but is nowhere to be found in the Qt documentation.
When reading the Qt documentation i would very much like to rely on it
and believe that the doc at the very least specify all exposed
properties. Searching the respective C++ classes in the Qt code to see
if any property is missing is a bit cumbersome to say the least.
So please, document those hidden properties. These are just the ones i
found, but i'm sure there is quite a bit more out there. I know that
both of the above where mentioned that they "should" be documented
somewhere on the mailing lists or in comments of bug reports (don't
know where though, quite a while ago).
Why are some properties not documented anyway? It should just be
documented if it has a Q_PROPERTY(...) right? Even if there is no
description.
Cheers,
Mark
More information about the Development
mailing list