Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The QWSWindow class encapsulates a top-level window in Qtopia Core. More...
#include <QWSWindow>
The QWSWindow class encapsulates a top-level window in Qtopia Core.
When running a Qtopia Core application, it either runs as a server or connects to an existing server. As applications add and remove widgets, the QWSServer class maintains information about each window. Note that you should never construct the QWSWindow class yourself; the current top-level windows can be retrieved using the QWSServer::clientWindows() function.
QWSWindow provides functions returning various information about the window: its caption(), name(), opacity() and winId() along with the client() that owns the window.
In addition, it is possible to determine whether the window is visible using the isVisible() function, if the window is completely obsured by another window or by the bounds of the screen using the isFullyObscured() function, and whether the window has an alpha channel different from 255 using the isOpaque() function. Finally, QWSWindow provides the requestedRegion() function that returns the region of the display the window wants to draw on.
See also QWSServer, Running Applications, and Qtopia Core.
Returns the window's caption.
Returns a reference to the QWSClient object that owns this window.
Returns true if the window is completely obsured by another window or by the bounds of the screen; otherwise returns false.
See also isVisible().
Returns true if the window is opaque, i.e. if its alpha channel equals 255; otherwise returns false.
See also opacity().
Returns true if the window is visible; otherwise returns false.
See also isFullyObscured().
Returns the window's name.
See also caption() and winId().
Returns the window's alpha channel value.
See also isOpaque().
Returns the region that the window has requested to draw onto, including any window decorations.
Returns the window's ID.
See also name() and caption().
Copyright © 2006 Trolltech | Trademarks | Qt 4.1.3 |