Skip to content

feat: add picker selector#81

Open
jo-mueller wants to merge 1 commit intoBiAPoL:mainfrom
jo-mueller:add-picker-selector
Open

feat: add picker selector#81
jo-mueller wants to merge 1 commit intoBiAPoL:mainfrom
jo-mueller:add-picker-selector

Conversation

@jo-mueller
Copy link
Contributor

Hi @zoccoler, just an extension to the existing selectors: This PR introduces the picker selector, which - as the name suggests - allows to click/select individual points.

I am thinking of adding a callback here that jumps to the last selected object on double-click with the picker-selector enabled, do you think that's a reasonable thing to do? I would then deprecate the highlighting in favor of this approach. I would try to write a pyqtgraph backend next and that would definitely be a bit easier with one less visual layer (color, size, alpha, edge color) to track 🙈

@jo-mueller jo-mueller added the enhancement New feature or request label Jan 14, 2026
@zoccoler
Copy link
Contributor

Hi @jo-mueller , thanks, I will check this over the weekend. I like the idea! I did not look at the code yet, but just remember to make this backwards compatible for now as other plugins also depend on this. One idea is to let each selector button optionally enabled or not, at least internally. This way, each plugin built on top can choose which features to show or have in the interface. Similar to what I did with the highlighting feature.

@jo-mueller
Copy link
Contributor Author

jo-mueller commented Feb 13, 2026

@zoccoler a bit late but I think what you are describing should be the case. The new selector is just another entry in the list of selectors that can be enabled/disabled with the same shared behavior like the others 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants