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

Implement geofencing settings in the project properties' QField panel #593

Merged
merged 7 commits into from
Jul 21, 2024

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Jun 29, 2024

This PR adds a couple of widgets to setup geofencing in QField. Looks:

image

The libqfieldsync counterpart is here: opengisch/libqfieldsync#86

@m-kuhn
Copy link
Member

m-kuhn commented Jun 29, 2024

Nice !

Can we have a UI adjustment: the description what it does (i.e. it will alert in case of XXX) should be there. The "reverted logic" should live as a tooltip instead.

@nirvn
Copy link
Member Author

nirvn commented Jun 29, 2024

@m-kuhn , we can certainly have a UI adjustment ;) good idea.

@nirvn nirvn force-pushed the geofencing branch 5 times, most recently from acfb0f8 to 9b06840 Compare July 1, 2024 09:45
@suricactus suricactus closed this Jul 9, 2024
@suricactus suricactus reopened this Jul 9, 2024
self.geofencingGroupBox.isChecked()
)

try:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a concrete example when we need the try/except? I see it is also 10 lines above, but on this line it seems you handle this with the if/else check for currentLayer() existance.

Copy link
Collaborator

@suricactus suricactus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, one small comment.

@nirvn nirvn merged commit ea77ad8 into master Jul 21, 2024
14 of 15 checks passed
@nirvn nirvn deleted the geofencing branch July 21, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants