Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[qml] Make QgsFields a QGadet and make some functions Q_INVOKABLE #57166

Merged
merged 2 commits into from
Apr 20, 2024

Conversation

nirvn
Copy link
Contributor

@nirvn nirvn commented Apr 17, 2024

Description

We're already exposing a Q_PROPERTY QgsFields in our QgsFeatue class, but hadn't exposed some basic useful functions (such as index from field name). This PR does that by making QgsFields a QGadget, and make some functions invokable.

@nirvn nirvn added the Quick Quick GUI widgets label Apr 17, 2024
@github-actions github-actions bot added this to the 3.38.0 milestone Apr 17, 2024
src/core/qgsfields.h Outdated Show resolved Hide resolved
@nirvn nirvn merged commit b9898d0 into qgis:master Apr 20, 2024
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Quick Quick GUI widgets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants