[Development] Can the "hidden" QML properties please be documented?

Nurmi J-P jpnurmi at digia.com
Sun Dec 1 11:09:41 CET 2013



On 01 Dec 2013, at 00:42, Mark Gaiser <markg85 at gmail.com> wrote:

> 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!).

Perhaps you're reading Qt 5.1.x docs? MouseArea::drag::threshold is a new property that was added in September. The documentation is there in the latest snapshot: http://doc-snapshot.qt-project.org/qt5-release/qml-qtquick-mousearea.html

> 
> For font rendering there is the hidden property:
> 
> renderType
> 
> Which works just fine, but is nowhere to be found in the Qt documentation.
> 

QQuickText::renderType was indeed missing from the docs. It has been fixed in Qt 5.2.0:
- https://bugreports.qt-project.org/browse/QTBUG-35018
- https://codereview.qt-project.org/#change,72391

--
J-P Nurmi




More information about the Development mailing list