QOpenHD icon indicating copy to clipboard operation
QOpenHD copied to clipboard

Add ground station settings detail info for tooltips

Open steveatinfincia opened this issue 6 years ago • 3 comments

v0.3.0 added tooltips for each ground station setting, the information for them comes from the settings model/mapping. Each setting in the mapping can include an optional field named "info". The text in that field will automatically show up in the tooltip, and if a setting doesn't have one then "N/A" is currently shown.

The only settings that have an info field at the moment are DISPLAY_OSD and ENABLE_QOPENHD.

The tooltip area can be increased if it proves to be too small for the information we need to display there.

steveatinfincia avatar Nov 23 '19 02:11 steveatinfincia

Very nice! This makes the info block accessible to non coders

pilotnbr1 avatar Nov 23 '19 12:11 pilotnbr1

The info field can be found at-

https://github.com/infincia/QOpenHD/blob/master/qml/ui/SettingsMap.qml#L20

pilotnbr1 avatar Dec 03 '19 16:12 pilotnbr1

So if a tooltip does not have info I think it would be better to not display the "?"... Minor detail

pilotnbr1 avatar Dec 15 '19 12:12 pilotnbr1