first version working more ore less
 done testing
stuck AH. x11 support for qt5 - and event subwindow