[Qt-interest] Window manager

Bjoern Erik Nilsen bnilsen at trolltech.com
Mon Feb 16 16:27:24 CET 2009


Hi Ami,

> showMaximized() is for windows paltform only.
> 
> Any support  the Unix and the MAC user?

What makes you think QWidget::showMaximized() is Windows only? Qt is 
cross-platform... so unless the documentation states otherwise,  you can 
assume that public functions are cross-platform.

Here is the documentation for showMaximized:

<doc>
Shows the widget maximized.

Calling this function only affects windows.

On X11, this function may not work properly with certain window 
managers. See Window Geometry for an explanation.

See also setWindowState(), showNormal(), showMinimized(), show(), 
hide(), and isVisible().
</doc>

Maybe you are confused by "affects windows"? In that context "windows" 
means "top-level windows". See also QWidget::window().


Hope this helps,
-- 
Bjørn Erik Nilsen
Software Engineer
Nokia, Qt Software



More information about the Qt-interest-old mailing list