Externalized General settings panel into a widget

Signed-off-by: Arnaud PETIT <arnaud.petit@minesdedouai.fr>