Den 22-02-2017 kl. 11:13 skrev Pierre-Yves Siret:
Hello,

Reading the doc, there is no indication that a function is Q_INVOKABLE.
It can sometimes be useful to know what functions of a Qt C++ class (not
specifically designed for QML) can be called from QML in addition to the
slots.

The only way I know to do that is to read the source of the class
(thanks to the Woboq people for easing that pain).

Is there a reason to hide this information ?

My guess is that it's only this way because no one asked for it before. Sounds like a reasonable thing to show.

I checked the bug tracker, but I didn't find this. You should add a feature request.

Bo Thorsen,
Director, Viking Software.

--
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to