On sexta-feira, 6 de setembro de 2013 08:25:53, william.croc...@analog.com wrote: > When my app starts up and appears on the screen it steals the > keyboard focus away from whoever has it. (I do not currently > call QWidget::activateWindow()). > > Since this involves the window manager, there is probably not > one answer. I am currently running under Gnome on RedHat > Enterprise Linux at this time, so that is my primary concern. > > So, how do I stop my QMainWindow based app from stealing the > keyboard focus at start-up?
Well, you could simply configure your window manager's focus stealing prevention so that it won't happen. You could also make sure that all your windows are only show()n without any other actions, like raise() or so. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest