Closed lpechacek closed 4 months ago
@lpechacek: thank you Libor for this PR. I successfully tested it:
Please add
#include <QString>
to .h file since you addedQString warning_icon;
Done.
Proposal: in .h file change to
Copyright 2015, 2024 Kai Pastor
and addCopyright 2024 Libor Pecháček
to .cpp file
Updated the line with Kai's name as it's now common in OO. I'm not adding my own line for such a triviality though. Although the usability impact of the change is high, the coding effort is not worth a mention.
Thanks.
This change enhances visibility of the small object warning in the measure tool. The use case is to shrink the measure tool window to a minimum size so that only the top line is visible and keep it in the view field during drawing. New sub-size object will trigger the colored warning icon, giving the user opportunity to fix the legibility issue on the go.
Idea contributed by @ollesmaps.