-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Feature] Use alt to select vertices by polygon #42250
Conversation
That's nice, though I feel like I always forget contextual shortcuts, would it be possible to have a reminder popup when using tool to display their specific shortcuts. Do you know if you can come up with something for this? |
It could be advertised on the tool's tooltip, but it would grow ugly big. |
Could be an option. |
Great idea! |
I don't think that's so much of a problem -- check the "Show/Hide labels" and "Pin labels" tooltips -- they are very explicit with describing the different behavior of the tools and yet work nicely in practice. |
@uclaros |
From memory there's a regex in place which looks for ( .* ) and treats the contents inside the brackets as the shortcut key, and formats the tooltip accordingly. If you change the text to just "Vertex Tool - All Layers" and remove the parenthesis it should work. Bonus points if you use the typographically correct dash symbol 😉 |
@uclaros Tooltip is great! Not sure about the black mode as opposed to the conventional black on notepad-yellow but its a minor nitpick. |
@roya0045 that's a operating system level theming thing, not anything QGIS is doing |
@nyalldawson Ah good, wasn't sure if it was imposed or not. |
I'm more of an ascii guy!
Yup, it's a kde breeze theme thing! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me -- could we get a unit test too please?
Test added, sorry for the force push, I rebased to ease on my build time. |
@nyalldawson maybe also add the changelog and documentation tags? |
@uclaros A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
@uclaros |
Description
Sometimes selecting the vertices you want with a rectangle using the vertex tool is hard and needs multiple passes using shift or ctrl to add or remove vertices from the selection or to creatively rotate the map canvas to align the vertices.
This PR should help in such situations, like for example selecting only one side's vertices of a curved road.
Usage: