VisiCut
VisiCut copied to clipboard
MappingItem preview texts
The preview texts like "line width <= 0.2" or "fill color #fff00" are different in many places, they should be put into one function (maybe with a parameter to enable/disable HTML) so that they are the same everywhere in the program
Testcase: line width <= 0.2 from an Inkscape drawing
- "Select filter" tree-view edit box is okay
- Custom Mapping table shows "line width 0.20000000298..."
- Custom Mapping table tooltip shows "line width <= 0.2" correctly
- Laser Settings tab shows "=" instead of "<="
Testcase: color red Some places show the hex value and the coloured box, others only the coloured box, the tooltip only the hex value
i agree.... feel free to implement ;)
To add to this, for the Laser Settings tab it's important that multiple can be shown. So this same function would be called multiple times and a "," could be added.
So we need functions like: String getFilterDescription(..., boolean useHTML); String getProfileUsageDescriptions(..., boolean useHTML);