Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Show current interaction mode #1454

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Show current interaction mode #1454

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: LonelyPixel
[Submitted to the original trac issue database at 6.42pm, Friday, 9th January 2009]

The current interaction mode is only visible from the mouse cursor when it's over the map view. And that's not very comprehensive. Take any advanced drawing/painting application: They indicate the currently selected tool by several mouse cursors and highlighting the selected tool in the toolbar. I'd like to focus on the toolbar part first. There could be more buttons of the most important menu commands in the Create menu. The one that's currently active (alogn with Select and Move) could be highlighted so that the user can very quickly see what he's about to do.

So here's my patch. First, it adds three new
toolbar buttons from the menu: create node, road and area. (The icons
are from the OSM Wiki.) This is only to improve the effect and use of
the patch. Second, it always highlights (Qt: "checks") the button for
the interaction that's currently active: Select, Move, Create node/road/
area.

There's one thing about the .ui file: My Qt Designer seems to format the
XML file in a different style and tends to sort elements differently, so
diff was a bit helpless and traced many more changes than there actually
are. My file compare utility only shows changes WRT the XML syntax, but
unfortunately it cannot generate diff files. I've included the full new
file so you can compare it for yourself.

@openstreetmap-trac
Copy link
Author

Author: lonelypixel
[Added to the original trac issue at 4.37pm, Wednesday, 28th January 2009]

(In [13421]) ADD : More toolbar buttons and icons for actions
ADD : Highlight selected interaction mode in the toolbar (closes #1454)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant