Skip to content

Clarification on Signal Exposure in QField Plugins #5892

Answered by nirvn
paul-carteron asked this question in Q&A
Discussion options

You must be logged in to vote

@paul-carteron , every Q_OBJECT or Q_GADGET class exposed in our QML environment (see https://github.com/opengisch/QField/blob/master/src/core/qgismobileapp.cpp#L366 to see a list of those objects and gadgets exposed) will have their signals exposed to our QML environment.

It is possible a signal containing parameter types that are not exposed in the QML environment will be skipped. It's not something I've tested before, but I can see a disabling logic there :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paul-carteron
Comment options

Answer selected by paul-carteron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants