⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qwswindow.html

📁 QT 下载资料仅供参考
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/reggie/tmp/qt-3.0-reggie-5401/qt-x11-commercial-3.0.5/src/kernel/qwindowsystem_qws.cpp:138 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>QWSWindow Class</title><style type="text/css"><!--h3.fn,span.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&nbsp;Classes</font></a> | <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a> | <a href="annotated.html"><font color="#004faf">Annotated</font></a> | <a href="groups.html"><font color="#004faf">Grouped&nbsp;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 &lt;<a href="qwindowsystem_qws-h.html">qwindowsystem_qws.h</a>&gt;</tt><p><a href="qwswindow-members.html">List of all member functions.</a><h2>Public Members</h2><ul><li><div class=fn><a href="#QWSWindow"><b>QWSWindow</b></a> ( int&nbsp;i, QWSClient&nbsp;*&nbsp;client )</div></li><li><div class=fn><a href="#~QWSWindow"><b>~QWSWindow</b></a> ()</div></li><li><div class=fn>int <a href="#winId"><b>winId</b></a> () const</div></li><li><div class=fn>const QString &amp; <a href="#name"><b>name</b></a> () const</div></li><li><div class=fn>const QString &amp; <a href="#caption"><b>caption</b></a> () const</div></li><li><div class=fn>QWSClient * <a href="#client"><b>client</b></a> () const</div></li><li><div class=fn>QRegion <a href="#requested"><b>requested</b></a> () const</div></li><li><div class=fn>QRegion <a href="#allocation"><b>allocation</b></a> () const</div></li><li><div class=fn>bool <a href="#isVisible"><b>isVisible</b></a> () const</div></li><li><div class=fn>bool <a href="#isPartiallyObscured"><b>isPartiallyObscured</b></a> () const</div></li><li><div class=fn>bool <a href="#isFullyObscured"><b>isFullyObscured</b></a> () const</div></li><li><div class=fn>void <a href="#raise"><b>raise</b></a> ()</div></li><li><div class=fn>void <a href="#lower"><b>lower</b></a> ()</div></li><li><div class=fn>void <a href="#show"><b>show</b></a> ()</div></li><li><div class=fn>void <a href="#hide"><b>hide</b></a> ()</div></li><li><div class=fn>void <a href="#setActiveWindow"><b>setActiveWindow</b></a> ()</div></li></ul><hr><a name="details"></a><h2>Detailed Description</h2>The QWSWindow class provides server-specific functionality in Qt/Embedded.<p> When you run a Qt/Embedded application, it either runs as a serveror connects to an existing server. If it runs as a server, some additionalfunctionality is provided by the <a href="qwsserver.html">QWSServer</a> class.<p> This class maintains information about each window and allows operationsto 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 withthe <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 bechanged 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> <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&nbsp;i, QWSClient&nbsp;*&nbsp;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 includingany window decorations but excluding regions covered by other windows.<p> <p>See also <a href="#requested">requested</a>().<h3 class=fn>const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp; <a name="caption"></a>QWSWindow::caption () const</h3><p> Returns this 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 is the window is completely obsured by another window orby the bounds of the screen; otherwise returns FALSE.<h3 class=fn>bool <a name="isPartiallyObscured"></a>QWSWindow::isPartiallyObscured () const</h3><p> Returns TRUE is the window is partially obsured by another window orby 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&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp; <a name="name"></a>QWSWindow::name () const</h3><p> Returns the name of this window.<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 includingany 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 thiswindow).<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 Id of this window.<!-- eof --><hr><p>This file is part of the <a href="index.html">Qt toolkit</a>.Copyright &copy; 1995-2002<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 &copy; 2002 <a href="http://www.trolltech.com">Trolltech</a><td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align=right><div align=right>Qt version 3.0.5</div></table></div></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -