Resolve "(ui): modernize module::ui::qt::status"
Description
module::ui::qt::status
was modernized to be able to align it with toolbar buttons. Doing so, its configuration was revised to be more concise and meaningful:
<service uid="..." type="sight::module::ui::qt::status">
<layout>horizontal|vertical</layout>
<labels display="under|besides">
<name>SCP Server</name>
<name>TCP Server</name>
</labels>
<red>Stopped</red>
<green>Tracking</green>
<orange>Started</orange>
</service>
Here are the changes:
- the
count
is removed since it is useless and error prone. - the
form
tag is removed since now the shape is always a circle. - if one wants only a single status, one just has to declare a single
<name>
. No need for a shortcut. - if one wants a status without any name, one can just declare an empty
<name/>
. -
<labels display="">
is added to allow specifying the location of the text
Closes #1184 (closed)
How to test it?
Test SightCalibrator or other apps having status.