[Qt-interest] How to make a top level window unresizable?
Dong Tiger
idlecat511 at gmail.com
Wed Feb 18 06:59:04 CET 2009
Hi,
I am trying to make a Qt top level window unresizable, that is, user can't
drag the border to change the window's size.
I didn't find any api in Qt4 for this. So I need to call XChangeProperty to
remove "_NET_WM_ACTION_RESIZE" from property "_NET_WM_ALLOWED_ACTIONS"
directly.
It sounds simple. But I found this property is modified after the window is
shown (Within showEvent, it's empty.)
So I doubt this is a right approach. Any suggestion?
--
Tiger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090218/b397dbc5/attachment.html
More information about the Qt-interest-old
mailing list