[Qt-interest] Can I get QMainWindow not movable while maximized?

Thiago Macieira thiago at kde.org
Tue Jan 5 17:16:54 CET 2010


Em Terça-feira 05 Janeiro 2010, às 15:34:14, Valentina Masi escreveu:
> The code above builds a main window which meets requirements (1) and (2)
> but not (3); in fact, I can drag my window even though it is maximum size.
> Can anyone help me, please?

That's an issue for your system's window manager. Qt has asked the WM to make 
it not movable, but the WM may decide to overrule.

With KDE, for example, the window manager has a setting to decide whether 
maximised windows have borders. If they have borders, they are movable and 
resizeable.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100105/86346849/attachment.bin 


More information about the Qt-interest-old mailing list