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.1 KiB
172 lines
7.1 KiB
<!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>TQWSWindow 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>TQWSWindow Class Reference</h1>
|
|
|
|
<p>The TQWSWindow class provides server-specific functionality in TQt/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="#TQWSWindow"><b>TQWSWindow</b></a> ( int i, TQWSClient * client )</li>
|
|
<li class=fn><a href="#~TQWSWindow"><b>~TQWSWindow</b></a> ()</li>
|
|
<li class=fn>int <a href="#winId"><b>winId</b></a> () const</li>
|
|
<li class=fn>const TQString & <a href="#name"><b>name</b></a> () const</li>
|
|
<li class=fn>const TQString & <a href="#caption"><b>caption</b></a> () const</li>
|
|
<li class=fn>TQWSClient * <a href="#client"><b>client</b></a> () const</li>
|
|
<li class=fn>TQRegion <a href="#requested"><b>requested</b></a> () const</li>
|
|
<li class=fn>TQRegion <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 TQWSWindow class provides server-specific functionality in TQt/Embedded.
|
|
<p>
|
|
<p> When you run a TQt/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">TQWSServer</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">TQt/Embedded</a>.
|
|
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<h3 class=fn><a name="TQWSWindow"></a>TQWSWindow::TQWSWindow ( int i, TQWSClient * 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="~TQWSWindow"></a>TQWSWindow::~TQWSWindow ()
|
|
</h3>
|
|
Destructor.
|
|
|
|
<h3 class=fn><a href="ntqregion.html">TQRegion</a> <a name="allocation"></a>TQWSWindow::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="tqstring.html">TQString</a> & <a name="caption"></a>TQWSWindow::caption () const
|
|
</h3>
|
|
|
|
<p> Returns the window's caption.
|
|
|
|
<h3 class=fn>TQWSClient * <a name="client"></a>TQWSWindow::client () const
|
|
</h3>
|
|
|
|
<p> Returns the TQWSClient that owns this window.
|
|
|
|
<h3 class=fn>void <a name="hide"></a>TQWSWindow::hide ()
|
|
</h3>
|
|
Hides the window.
|
|
|
|
<h3 class=fn>bool <a name="isFullyObscured"></a>TQWSWindow::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>TQWSWindow::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>TQWSWindow::isVisible () const
|
|
</h3>
|
|
|
|
<p> Returns TRUE if the window is visible; otherwise returns FALSE.
|
|
|
|
<h3 class=fn>void <a name="lower"></a>TQWSWindow::lower ()
|
|
</h3>
|
|
Lowers the window below other windows.
|
|
|
|
<h3 class=fn>const <a href="tqstring.html">TQString</a> & <a name="name"></a>TQWSWindow::name () const
|
|
</h3>
|
|
|
|
<p> Returns the window's name.
|
|
|
|
<h3 class=fn>void <a name="raise"></a>TQWSWindow::raise ()
|
|
</h3>
|
|
Raises the window above all other windows except "Stay on top" windows.
|
|
|
|
<h3 class=fn><a href="ntqregion.html">TQRegion</a> <a name="requested"></a>TQWSWindow::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>TQWSWindow::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>TQWSWindow::show ()
|
|
</h3>
|
|
Shows the window.
|
|
|
|
<h3 class=fn>int <a name="winId"></a>TQWSWindow::winId () const
|
|
</h3>
|
|
|
|
<p> Returns the window's Id.
|
|
|
|
<!-- eof -->
|
|
<hr><p>
|
|
This file is part of the <a href="index.html">TQt 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>TQt 3.3.8</div>
|
|
</table></div></address></body>
|
|
</html>
|