don't set focus and grab keyboard in the constructor! you're only allowed to set focus POLICY here.
never grab the keyboard, it's nicer to set the focus