Features in Utilities
Implemented almost all Serializer, ATM using static methods
Serialzier is the class that will store/restore settings from the
The class is static right now since atm I don't have a clear case of why
it shouldn't be, but anyway it may change in the future.
Generates an id that will be used to either store or restore settings.
It basically identifies a set of connected outputs using the hash of
their entire edid. In the future we may change this to use another less
volatile data as id (edid hash may change if the monitor firmware is
Check if a config file exists for this set of monitor (currentId)
Serializer::config(const QString &id)
Returns a config for the passed id, opening the file where the json
is stored and merging it to the current config.
Gets a Config objects and save into a json file all the connected
devices, indicating the edid hash, currentMode, position and if they
are primary output.
We are NOT storing in which port the devices are connected, the idea
is that we won't care if you plug your TV in the HDMI or in the VGA