source: tspsg/docs/html/class_qt_win.html @ e9db3e216b

0.1.3.145-beta1-symbian0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since e9db3e216b was f2ff738751, checked in by Oleksii Serdiuk, 15 years ago

Updated translations and regenerated documentation.

  • Property mode set to 100644
File size: 16.4 KB
Line 
1<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4<head>
5<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6<title>TSPSG: TSP Solver and Generator: QtWin Class Reference</title>
7<link href="tabs.css" rel="stylesheet" type="text/css"/>
8<link href="search/search.css" rel="stylesheet" type="text/css"/>
9<script type="text/javaScript" src="search/search.js"></script>
10<link href="doxygen.css" rel="stylesheet" type="text/css"/>
11</head>
12<body onload='searchBox.OnSelectItem(0);'>
13<!-- Generated by Doxygen 1.6.1 -->
14<script type="text/javascript"><!--
15var searchBox = new SearchBox("searchBox", "search",false,'Search');
16--></script>
17<script type="text/javascript">
18<!--
19function changeDisplayState (e){
20  var num=this.id.replace(/[^[0-9]/g,'');
21  var button=this.firstChild;
22  var sectionDiv=document.getElementById('dynsection'+num);
23  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
24    sectionDiv.style.display='block';
25    button.src='open.gif';
26  }else{
27    sectionDiv.style.display='none';
28    button.src='closed.gif';
29  }
30}
31function initDynSections(){
32  var divs=document.getElementsByTagName('div');
33  var sectionCounter=1;
34  for(var i=0;i<divs.length-1;i++){
35    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
36      var header=divs[i];
37      var section=divs[i+1];
38      var button=header.firstChild;
39      if (button!='IMG'){
40        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
41        button=document.createElement('img');
42        divs[i].insertBefore(button,divs[i].firstChild);
43      }
44      header.style.cursor='pointer';
45      header.onclick=changeDisplayState;
46      header.id='dynheader'+sectionCounter;
47      button.src='closed.gif';
48      section.id='dynsection'+sectionCounter;
49      section.style.display='none';
50      section.style.marginLeft='14px';
51      sectionCounter++;
52    }
53  }
54}
55window.onload = initDynSections;
56-->
57</script>
58<div class="navigation" id="top">
59  <div class="tabs">
60    <ul>
61      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
62      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
63      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
64      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
65      <li><a href="files.html"><span>Files</span></a></li>
66      <li>
67        <div id="MSearchBox" class="MSearchBoxInactive">
68        <img id="MSearchSelect" src="search/search.png"
69             onmouseover="return searchBox.OnSearchSelectShow()"
70             onmouseout="return searchBox.OnSearchSelectHide()"
71             alt=""/>
72        <input type="text" id="MSearchField" value="Search" accesskey="S"
73             onfocus="searchBox.OnSearchFieldFocus(true)" 
74             onblur="searchBox.OnSearchFieldFocus(false)" 
75             onkeyup="searchBox.OnSearchFieldChange(event)"/>
76        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
77        </div>
78      </li>
79    </ul>
80  </div>
81  <div class="tabs">
82    <ul>
83      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
84      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
85      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
86    </ul>
87  </div>
88</div>
89<div class="contents">
90<h1>QtWin Class Reference</h1><!-- doxytag: class="QtWin" -->
91<p>This is a helper class for using the Desktop Window Manager functionality on Windows 7 and Windows Vista. 
92<a href="#_details">More...</a></p>
93
94<p><code>#include &lt;<a class="el" href="qtwin_8h_source.html">qtwin.h</a>&gt;</code></p>
95
96<p><a href="class_qt_win-members.html">List of all members.</a></p>
97<table border="0" cellpadding="0" cellspacing="0">
98<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
99<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_win.html#accb2708f861220124722091b102b819f">enableBlurBehindWindow</a> (<a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html">QWidget</a> *widget, bool enable=true)</td></tr>
100<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enables Blur behind on a Widget.  <a href="#accb2708f861220124722091b102b819f"></a><br/></td></tr>
101<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_win.html#a33046d127bbd86b26a46f914c1793dfb">extendFrameIntoClientArea</a> (<a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html">QWidget</a> *widget, int left=-1, int top=-1, int right=-1, int bottom=-1)</td></tr>
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ExtendFrameIntoClientArea.  <a href="#a33046d127bbd86b26a46f914c1793dfb"></a><br/></td></tr>
103<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_win.html#ad90dbf318593dd8b4d29c4f7dc8c887f">isCompositionEnabled</a> ()</td></tr>
104<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Chekcs and returns true if Windows DWM composition is currently enabled on the system.  <a href="#ad90dbf318593dd8b4d29c4f7dc8c887f"></a><br/></td></tr>
105<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qcolor.html">QColor</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_win.html#a1f53cc322d38d97e295520f07cb1a728">colorizatinColor</a> ()</td></tr>
106<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the current colorizationColor for the window.  <a href="#a1f53cc322d38d97e295520f07cb1a728"></a><br/></td></tr>
107</table>
108<hr/><a name="_details"></a><h2>Detailed Description</h2>
109<p>This is a helper class for using the Desktop Window Manager functionality on Windows 7 and Windows Vista. </p>
110<p>On other platforms these functions will simply not do anything. </p>
111<hr/><h2>Member Function Documentation</h2>
112<a class="anchor" id="a1f53cc322d38d97e295520f07cb1a728"></a><!-- doxytag: member="QtWin::colorizatinColor" ref="a1f53cc322d38d97e295520f07cb1a728" args="()" -->
113<div class="memitem">
114<div class="memproto">
115      <table class="memname">
116        <tr>
117          <td class="memname"><a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qcolor.html">QColor</a> QtWin::colorizatinColor </td>
118          <td>(</td>
119          <td class="paramname"></td>
120          <td>&nbsp;)&nbsp;</td>
121          <td><code> [static]</code></td>
122        </tr>
123      </table>
124</div>
125<div class="memdoc">
126
127<p>Returns the current colorizationColor for the window. </p>
128<p><em>enable</em> tells if the blur should be enabled or not </p>
129
130<p><div class="dynheader">
131Here is the call graph for this function:</div>
132<div class="dynsection">
133<div class="center"><img src="class_qt_win_a1f53cc322d38d97e295520f07cb1a728_cgraph.png" border="0" usemap="#class_qt_win_a1f53cc322d38d97e295520f07cb1a728_cgraph_map" alt=""></div>
134<map name="class_qt_win_a1f53cc322d38d97e295520f07cb1a728_cgraph_map" id="class_qt_win_a1f53cc322d38d97e295520f07cb1a728_cgraph">
135<area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html#fromAscii" title="QString::fromAscii" alt="" coords="219,5,347,33"/>
136<area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qapplication.html#palette" title="QApplication::palette" alt="" coords="212,55,353,83"/>
137</map>
138</div>
139</p>
140
141</div>
142</div>
143<a class="anchor" id="accb2708f861220124722091b102b819f"></a><!-- doxytag: member="QtWin::enableBlurBehindWindow" ref="accb2708f861220124722091b102b819f" args="(QWidget *widget, bool enable=true)" -->
144<div class="memitem">
145<div class="memproto">
146      <table class="memname">
147        <tr>
148          <td class="memname">bool QtWin::enableBlurBehindWindow </td>
149          <td>(</td>
150          <td class="paramtype"><a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html">QWidget</a> *&nbsp;</td>
151          <td class="paramname"> <em>widget</em>, </td>
152        </tr>
153        <tr>
154          <td class="paramkey"></td>
155          <td></td>
156          <td class="paramtype">bool&nbsp;</td>
157          <td class="paramname"> <em>enable</em> = <code>true</code></td><td>&nbsp;</td>
158        </tr>
159        <tr>
160          <td></td>
161          <td>)</td>
162          <td></td><td></td><td><code> [static]</code></td>
163        </tr>
164      </table>
165</div>
166<div class="memdoc">
167
168<p>Enables Blur behind on a Widget. </p>
169<p><em>enable</em> tells if the blur should be enabled or not </p>
170
171<p><div class="dynheader">
172Here is the call graph for this function:</div>
173<div class="dynsection">
174<div class="center"><img src="class_qt_win_accb2708f861220124722091b102b819f_cgraph.png" border="0" usemap="#class_qt_win_accb2708f861220124722091b102b819f_cgraph_map" alt=""></div>
175<map name="class_qt_win_accb2708f861220124722091b102b819f_cgraph_map" id="class_qt_win_accb2708f861220124722091b102b819f_cgraph">
176<area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html#setAttribute" title="QWidget::setAttribute" alt="" coords="268,5,415,33"/>
177<area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html#winId" title="QWidget::winId" alt="" coords="287,55,396,83"/>
178</map>
179</div>
180</p>
181
182</div>
183</div>
184<a class="anchor" id="a33046d127bbd86b26a46f914c1793dfb"></a><!-- doxytag: member="QtWin::extendFrameIntoClientArea" ref="a33046d127bbd86b26a46f914c1793dfb" args="(QWidget *widget, int left=&#45;1, int top=&#45;1, int right=&#45;1, int bottom=&#45;1)" -->
185<div class="memitem">
186<div class="memproto">
187      <table class="memname">
188        <tr>
189          <td class="memname">bool QtWin::extendFrameIntoClientArea </td>
190          <td>(</td>
191          <td class="paramtype"><a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html">QWidget</a> *&nbsp;</td>
192          <td class="paramname"> <em>widget</em>, </td>
193        </tr>
194        <tr>
195          <td class="paramkey"></td>
196          <td></td>
197          <td class="paramtype">int&nbsp;</td>
198          <td class="paramname"> <em>left</em> = <code>-1</code>, </td>
199        </tr>
200        <tr>
201          <td class="paramkey"></td>
202          <td></td>
203          <td class="paramtype">int&nbsp;</td>
204          <td class="paramname"> <em>top</em> = <code>-1</code>, </td>
205        </tr>
206        <tr>
207          <td class="paramkey"></td>
208          <td></td>
209          <td class="paramtype">int&nbsp;</td>
210          <td class="paramname"> <em>right</em> = <code>-1</code>, </td>
211        </tr>
212        <tr>
213          <td class="paramkey"></td>
214          <td></td>
215          <td class="paramtype">int&nbsp;</td>
216          <td class="paramname"> <em>bottom</em> = <code>-1</code></td><td>&nbsp;</td>
217        </tr>
218        <tr>
219          <td></td>
220          <td>)</td>
221          <td></td><td></td><td><code> [static]</code></td>
222        </tr>
223      </table>
224</div>
225<div class="memdoc">
226
227<p>ExtendFrameIntoClientArea. </p>
228<p>This controls the rendering of the frame inside the window. Note that passing margins of -1 (the default value) will completely remove the frame from the window.</p>
229<dl class="note"><dt><b>Note:</b></dt><dd>you should not call enableBlurBehindWindow before calling this functions</dd></dl>
230<p><em>enable</em> tells if the blur should be enabled or not </p>
231
232<p><div class="dynheader">
233Here is the call graph for this function:</div>
234<div class="dynsection">
235<div class="center"><img src="class_qt_win_a33046d127bbd86b26a46f914c1793dfb_cgraph.png" border="0" usemap="#class_qt_win_a33046d127bbd86b26a46f914c1793dfb_cgraph_map" alt=""></div>
236<map name="class_qt_win_a33046d127bbd86b26a46f914c1793dfb_cgraph_map" id="class_qt_win_a33046d127bbd86b26a46f914c1793dfb_cgraph">
237<area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html#fromAscii" title="QString::fromAscii" alt="" coords="288,5,416,33"/>
238<area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html#setAttribute" title="QWidget::setAttribute" alt="" coords="279,55,425,83"/>
239<area shape="rect" id="node7" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html#winId" title="QWidget::winId" alt="" coords="297,106,407,134"/>
240</map>
241</div>
242</p>
243
244</div>
245</div>
246<a class="anchor" id="ad90dbf318593dd8b4d29c4f7dc8c887f"></a><!-- doxytag: member="QtWin::isCompositionEnabled" ref="ad90dbf318593dd8b4d29c4f7dc8c887f" args="()" -->
247<div class="memitem">
248<div class="memproto">
249      <table class="memname">
250        <tr>
251          <td class="memname">bool QtWin::isCompositionEnabled </td>
252          <td>(</td>
253          <td class="paramname"></td>
254          <td>&nbsp;)&nbsp;</td>
255          <td><code> [static]</code></td>
256        </tr>
257      </table>
258</div>
259<div class="memdoc">
260
261<p>Chekcs and returns true if Windows DWM composition is currently enabled on the system. </p>
262<p>To get live notification on the availability of this feature, you will currently have to reimplement winEvent() on your widget and listen for the WM_DWMCOMPOSITIONCHANGED event to occur. </p>
263
264<p><div class="dynheader">
265Here is the caller graph for this function:</div>
266<div class="dynsection">
267<div class="center"><img src="class_qt_win_ad90dbf318593dd8b4d29c4f7dc8c887f_icgraph.png" border="0" usemap="#class_qt_win_ad90dbf318593dd8b4d29c4f7dc8c887f_icgraph_map" alt=""></div>
268<map name="class_qt_win_ad90dbf318593dd8b4d29c4f7dc8c887f_icgraph_map" id="class_qt_win_ad90dbf318593dd8b4d29c4f7dc8c887f_icgraph">
269<area shape="rect" id="node3" href="class_settings_dialog.html#a9933956b777b2c0451e9119581cc22fb" title="Class constructor." alt="" coords="251,5,448,33"/>
270</map>
271</div>
272</p>
273
274</div>
275</div>
276<hr/>The documentation for this class was generated from the following files:<ul>
277<li>src/<a class="el" href="qtwin_8h_source.html">qtwin.h</a></li>
278<li>src/qtwin.cpp</li>
279</ul>
280</div>
281<!--- window showing the filter options -->
282<div id="MSearchSelectWindow"
283     onmouseover="return searchBox.OnSearchSelectShow()"
284     onmouseout="return searchBox.OnSearchSelectHide()"
285     onkeydown="return searchBox.OnSearchSelectKey(event)">
286<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>
287
288<!-- iframe showing the search results (closed by default) -->
289<div id="MSearchResultsWindow">
290<iframe src="" frameborder="0" 
291        name="MSearchResults" id="MSearchResults">
292</iframe>
293</div>
294
295<hr size="1"/><address style="text-align: right;"><small>Generated on Wed Apr 28 02:47:17 2010 for TSPSG: TSP Solver and Generator by&nbsp;
296<a href="http://www.doxygen.org/index.html">
297<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
298</body>
299</html>
Note: See TracBrowser for help on using the repository browser.