CVWidget:-setSpec rather rely on functionality of existing methods than setting values within generic dictionaries directly

Signed-off-by: nuss <st9fan@gmail.com>