QWSWindow(3qt)

NAME
QWSWindow - Server-specific functionality in Qt/Embedded

#include <qwindowsystem_qws.h>

  Public Members
QWSWindow ( int i, QWSClient * client )
~QWSWindow ()
int winId () const
const QString& name () const
const QString& caption () const
QWSClient* client () const
QRegion requested () const
QRegion allocation () const
bool isVisible () const
bool isPartiallyObscured () const
bool isFullyObscured () const
void raise ()
void lower ()
void show ()
void hide ()
void setActiveWindow ()

DESCRIPTION
Server-specific functionality in Qt/Embedded

When you run a Qt/Embedded application, it either runs as a server or connects to an existing server. If it runs as a server, some additional operations are provided via the QWSServer class.

This class maintains information about each window and allows operations to be performed on the windows.

MEMBER FUNCTION DOCUMENTATION

QRegion QWSWindow::allocation () const
Returns the region that the window is allowed to draw into including any window decorations and excluding regions covered by other windows.

See also requested().

const QString & QWSWindow::caption () const
Returns this windows caption.

QWSClient* QWSWindow::client () const
Returns the QWSClient that owns this window.

void QWSWindow::hide ()
Hides the window.

bool QWSWindow::isFullyObscured () const
Returns TRUE is the window is completely obsured by another window or the bounds of the screen.

bool QWSWindow::isPartiallyObscured () const
Returns TRUE is the window is partially obsured by another window or the bounds of the screen.

bool QWSWindow::isVisible () const
Returns TRUE if the window is visible.

void QWSWindow::lower ()
Lowers the window below other windows.

const QString & QWSWindow::name () const
Returns the name of this window.

void QWSWindow::raise ()
Raises the window above all other windows except "Stay on top" windows.

QRegion QWSWindow::requested () const
Returns the region that the window has requested to draw into including any window decorations.

See also allocation().

void QWSWindow::setActiveWindow ()
Make this the active window (i.e. sets keyboard focus).

void QWSWindow::show ()
Shows the window.

int QWSWindow::winId () const
Returns the Id of this window.

SEE ALSO
http://doc.trolltech.com/qwswindow.html http://www.trolltech.com/faq/tech.html

COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.

AUTHOR
Generated automatically from the source code.

BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports make our job much simpler. Thank you.

In case of content or formattting problems with this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qwswindow.3qt) and the Qt version (2.3.5).