QLineEdit is not Editable in a widget with X11BypassWindowManagerHint flag
Hi ...
I've a widget and use a QlineEdit in it. I've set widget's flag 'X11BypassWindowManagerHint'. The problem is that when widget is shown the QlineEdit is not editable. When i remove the X11BypassWindowManagerHint flag it works fine and qlineeidt is editable. whats the problem?
Re: QLineEdit is not Editable in a widget with X11BypassWindowManagerHint flag
From the Qt::X11BypassWindowManagerHint entry (highlighting mine):
Quote:
Bypass the window manager completely. This results in a borderless window that is not managed at all (i.e.,
no keyboard input unless you call QWidget::activateWindow() manually).
Seems like an obvious candidate.
Re: QLineEdit is not Editable in a widget with X11BypassWindowManagerHint flag
Add to windowflags PopUp:
for example:
setWindowFlags(Qt::X11BypassWindowManagerHint | Qt::Popup);