Skip to content

Improve toggling between point and multipoint tools#1972

Merged
petebankhead merged 5 commits intoqupath:mainfrom
petebankhead:points
Aug 8, 2025
Merged

Improve toggling between point and multipoint tools#1972
petebankhead merged 5 commits intoqupath:mainfrom
petebankhead:points

Conversation

@petebankhead
Copy link
Member

QuPath's counting tool can either draw single points as new annotations, or multiple points as part of the same annotation.

Previously, this was a transient setting in the preferences - and the default was the multipoint tool. If you wanted to consistently draw single points, you needed to set this every time QuPath was relaunched.

This PR makes that preference persistent, and also available in the counting tool dialog.
it also slightly changes the icon. While it still uses 3 circles to represent the points tool, 2 of these are translucent if 'single-point' mode is turned on.

Relatedly, the icons used to render points annotations are also slightly adjusted: if there are fewer than 3 points, then the remaining points will also be translucent.

points-4

Include checkbox to toggle point/multipoint in the counting tool window.
Also update the icon (slightly) to display the difference.
Previously viewers weren't repainted if the point radius was changed in the preferences
@petebankhead petebankhead added this to the v0.7.0 milestone Aug 8, 2025
@petebankhead petebankhead merged commit 66ed57b into qupath:main Aug 8, 2025
3 checks passed
@petebankhead petebankhead deleted the points branch August 8, 2025 18:37
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.

1 participant