main widget and qtsfml integration