uncle-meat / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

Add user interface elements to configure certain sensors as hidden #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add a context menu to each sensor to "Hide" or "Show" the sensor, depending
on its state.

Add a menu entry to the main menu, that allows to "Show Hidden Sensors".
This will display all senors, even those that are hidden. The hidden
sensors will be display in a grayed out style.

The sensor default hidden state has to be set by the hardware detection
code. This means that the there has to be a IsHidden {get; set; } property
for ISensor. The IsHidden property has to be initialized, edited and saved
similar to the Name property.

Alternatively one could replace the Name and IsHidden property of ISensor
with DefaultName { get; } and IsTrusted { get; } readonly properties. The
additional state required in the GUI code could then be added with
Dictionary<string, T> classes, where the as key ISensor.Identifier is used.

Original issue reported on code.google.com by moel.mich on 4 May 2010 at 8:53

GoogleCodeExporter commented 9 years ago
Implemented with revision r140.

Original comment by moel.mich on 14 May 2010 at 10:31