another mistery solved.was creating some GUI windows as qdialog and others as qwidget and i couldnt tell apart the object but noticed they behaved differently