You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
172 lines
7.0 KiB
172 lines
7.0 KiB
14 years ago
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
|
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qwindowsystem_qws.cpp:164 -->
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||
|
<title>QWSWindow Class</title>
|
||
|
<style type="text/css"><!--
|
||
|
fn { margin-left: 1cm; text-indent: -1cm; }
|
||
|
a:link { color: #004faf; text-decoration: none }
|
||
|
a:visited { color: #672967; text-decoration: none }
|
||
|
body { background: #ffffff; color: black; }
|
||
|
--></style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||
|
<tr bgcolor="#E5E5E5">
|
||
|
<td valign=center>
|
||
|
<a href="index.html">
|
||
|
<font color="#004faf">Home</font></a>
|
||
|
| <a href="classes.html">
|
||
|
<font color="#004faf">All Classes</font></a>
|
||
|
| <a href="mainclasses.html">
|
||
|
<font color="#004faf">Main Classes</font></a>
|
||
|
| <a href="annotated.html">
|
||
|
<font color="#004faf">Annotated</font></a>
|
||
|
| <a href="groups.html">
|
||
|
<font color="#004faf">Grouped Classes</font></a>
|
||
|
| <a href="functions.html">
|
||
|
<font color="#004faf">Functions</font></a>
|
||
|
</td>
|
||
|
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QWSWindow Class Reference</h1>
|
||
|
|
||
|
<p>The QWSWindow class provides server-specific functionality in Qt/Embedded.
|
||
|
<a href="#details">More...</a>
|
||
|
<p><tt>#include <<a href="qwindowsystem_qws-h.html">qwindowsystem_qws.h</a>></tt>
|
||
|
<p><a href="qwswindow-members.html">List of all member functions.</a>
|
||
|
<h2>Public Members</h2>
|
||
|
<ul>
|
||
|
<li class=fn><a href="#QWSWindow"><b>QWSWindow</b></a> ( int i, QWSClient * client )</li>
|
||
|
<li class=fn><a href="#~QWSWindow"><b>~QWSWindow</b></a> ()</li>
|
||
|
<li class=fn>int <a href="#winId"><b>winId</b></a> () const</li>
|
||
|
<li class=fn>const QString & <a href="#name"><b>name</b></a> () const</li>
|
||
|
<li class=fn>const QString & <a href="#caption"><b>caption</b></a> () const</li>
|
||
|
<li class=fn>QWSClient * <a href="#client"><b>client</b></a> () const</li>
|
||
|
<li class=fn>QRegion <a href="#requested"><b>requested</b></a> () const</li>
|
||
|
<li class=fn>QRegion <a href="#allocation"><b>allocation</b></a> () const</li>
|
||
|
<li class=fn>bool <a href="#isVisible"><b>isVisible</b></a> () const</li>
|
||
|
<li class=fn>bool <a href="#isPartiallyObscured"><b>isPartiallyObscured</b></a> () const</li>
|
||
|
<li class=fn>bool <a href="#isFullyObscured"><b>isFullyObscured</b></a> () const</li>
|
||
|
<li class=fn>void <a href="#raise"><b>raise</b></a> ()</li>
|
||
|
<li class=fn>void <a href="#lower"><b>lower</b></a> ()</li>
|
||
|
<li class=fn>void <a href="#show"><b>show</b></a> ()</li>
|
||
|
<li class=fn>void <a href="#hide"><b>hide</b></a> ()</li>
|
||
|
<li class=fn>void <a href="#setActiveWindow"><b>setActiveWindow</b></a> ()</li>
|
||
|
</ul>
|
||
|
<hr><a name="details"></a><h2>Detailed Description</h2>
|
||
|
|
||
|
|
||
|
The QWSWindow class provides server-specific functionality in Qt/Embedded.
|
||
|
<p>
|
||
|
<p> 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 functionality is provided by the <a href="qwsserver.html">QWSServer</a> class.
|
||
|
<p> This class maintains information about each window and allows
|
||
|
operations to be performed on the windows.
|
||
|
<p> You can get the window's <a href="#name">name</a>(), <a href="#caption">caption</a>() and <a href="#winId">winId</a>(), along with
|
||
|
the <a href="#client">client</a>() that owns the window.
|
||
|
<p> The region the window wants to draw on is returned by <a href="#requested">requested</a>();
|
||
|
the region that the window is allowed to draw on is returned by
|
||
|
<a href="#allocation">allocation</a>().
|
||
|
<p> The visibility of the window can be determined using <a href="#isVisible">isVisible</a>(),
|
||
|
<a href="#isPartiallyObscured">isPartiallyObscured</a>() and <a href="#isFullyObscured">isFullyObscured</a>(). Visibility can be
|
||
|
changed using <a href="#raise">raise</a>(), <a href="#lower">lower</a>(), <a href="#show">show</a>(), <a href="#hide">hide</a>() and
|
||
|
<a href="#setActiveWindow">setActiveWindow</a>().
|
||
|
<p>See also <a href="qws.html">Qt/Embedded</a>.
|
||
|
|
||
|
<hr><h2>Member Function Documentation</h2>
|
||
|
<h3 class=fn><a name="QWSWindow"></a>QWSWindow::QWSWindow ( int i, QWSClient * client )
|
||
|
</h3>
|
||
|
|
||
|
<p> Constructs a new top-level window, associated with the client <em>client</em> and giving it the id <em>i</em>.
|
||
|
|
||
|
<h3 class=fn><a name="~QWSWindow"></a>QWSWindow::~QWSWindow ()
|
||
|
</h3>
|
||
|
Destructor.
|
||
|
|
||
|
<h3 class=fn><a href="qregion.html">QRegion</a> <a name="allocation"></a>QWSWindow::allocation () const
|
||
|
</h3>
|
||
|
|
||
|
<p> Returns the region that the window is allowed to draw onto,
|
||
|
including any window decorations but excluding regions covered by
|
||
|
other windows.
|
||
|
<p> <p>See also <a href="#requested">requested</a>().
|
||
|
|
||
|
<h3 class=fn>const <a href="qstring.html">QString</a> & <a name="caption"></a>QWSWindow::caption () const
|
||
|
</h3>
|
||
|
|
||
|
<p> Returns the window's caption.
|
||
|
|
||
|
<h3 class=fn>QWSClient * <a name="client"></a>QWSWindow::client () const
|
||
|
</h3>
|
||
|
|
||
|
<p> Returns the QWSClient that owns this window.
|
||
|
|
||
|
<h3 class=fn>void <a name="hide"></a>QWSWindow::hide ()
|
||
|
</h3>
|
||
|
Hides the window.
|
||
|
|
||
|
<h3 class=fn>bool <a name="isFullyObscured"></a>QWSWindow::isFullyObscured () const
|
||
|
</h3>
|
||
|
|
||
|
<p> Returns TRUE if the window is completely obsured by another window
|
||
|
or by the bounds of the screen; otherwise returns FALSE.
|
||
|
|
||
|
<h3 class=fn>bool <a name="isPartiallyObscured"></a>QWSWindow::isPartiallyObscured () const
|
||
|
</h3>
|
||
|
|
||
|
<p> Returns TRUE if the window is partially obsured by another window
|
||
|
or by the bounds of the screen; otherwise returns FALSE.
|
||
|
|
||
|
<h3 class=fn>bool <a name="isVisible"></a>QWSWindow::isVisible () const
|
||
|
</h3>
|
||
|
|
||
|
<p> Returns TRUE if the window is visible; otherwise returns FALSE.
|
||
|
|
||
|
<h3 class=fn>void <a name="lower"></a>QWSWindow::lower ()
|
||
|
</h3>
|
||
|
Lowers the window below other windows.
|
||
|
|
||
|
<h3 class=fn>const <a href="qstring.html">QString</a> & <a name="name"></a>QWSWindow::name () const
|
||
|
</h3>
|
||
|
|
||
|
<p> Returns the window's name.
|
||
|
|
||
|
<h3 class=fn>void <a name="raise"></a>QWSWindow::raise ()
|
||
|
</h3>
|
||
|
Raises the window above all other windows except "Stay on top" windows.
|
||
|
|
||
|
<h3 class=fn><a href="qregion.html">QRegion</a> <a name="requested"></a>QWSWindow::requested () const
|
||
|
</h3>
|
||
|
|
||
|
<p> Returns the region that the window has requested to draw onto,
|
||
|
including any window decorations.
|
||
|
<p> <p>See also <a href="#allocation">allocation</a>().
|
||
|
|
||
|
<h3 class=fn>void <a name="setActiveWindow"></a>QWSWindow::setActiveWindow ()
|
||
|
</h3>
|
||
|
Make this the active window (i.e. sets the <a href="focus.html#keyboard-focus">keyboard focus</a> to this
|
||
|
window).
|
||
|
|
||
|
<h3 class=fn>void <a name="show"></a>QWSWindow::show ()
|
||
|
</h3>
|
||
|
Shows the window.
|
||
|
|
||
|
<h3 class=fn>int <a name="winId"></a>QWSWindow::winId () const
|
||
|
</h3>
|
||
|
|
||
|
<p> Returns the window's Id.
|
||
|
|
||
|
<!-- eof -->
|
||
|
<hr><p>
|
||
|
This file is part of the <a href="index.html">Qt toolkit</a>.
|
||
|
Copyright © 1995-2007
|
||
|
<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
|
||
|
<table width=100% cellspacing=0 border=0><tr>
|
||
|
<td>Copyright © 2007
|
||
|
<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
|
||
|
<td align=right><div align=right>Qt 3.3.8</div>
|
||
|
</table></div></address></body>
|
||
|
</html>
|