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"><!-- |
---|
15 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
---|
16 | --></script> |
---|
17 | <script type="text/javascript"> |
---|
18 | <!-- |
---|
19 | function 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 | } |
---|
31 | function 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 | } |
---|
55 | window.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 Page</span></a></li> |
---|
62 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
63 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
64 | <li><a href="files.html"><span>Files</span></a></li> |
---|
65 | <li> |
---|
66 | <div id="MSearchBox" class="MSearchBoxInactive"> |
---|
67 | <img id="MSearchSelect" src="search/search.png" |
---|
68 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
69 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
70 | alt=""/> |
---|
71 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
---|
72 | onfocus="searchBox.OnSearchFieldFocus(true)" |
---|
73 | onblur="searchBox.OnSearchFieldFocus(false)" |
---|
74 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
---|
75 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
---|
76 | </div> |
---|
77 | </li> |
---|
78 | </ul> |
---|
79 | </div> |
---|
80 | <div class="tabs"> |
---|
81 | <ul> |
---|
82 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
83 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
84 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
85 | </ul> |
---|
86 | </div> |
---|
87 | </div> |
---|
88 | <div class="contents"> |
---|
89 | <h1>QtWin Class Reference</h1><!-- doxytag: class="QtWin" --> |
---|
90 | <p>This is a helper class for using the Desktop Window Manager functionality on Windows 7 and Windows Vista. |
---|
91 | <a href="#_details">More...</a></p> |
---|
92 | |
---|
93 | <p><code>#include <<a class="el" href="qtwin_8h_source.html">qtwin.h</a>></code></p> |
---|
94 | |
---|
95 | <p><a href="class_qt_win-members.html">List of all members.</a></p> |
---|
96 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
97 | <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> |
---|
98 | <tr><td class="memItemLeft" align="right" valign="top">static bool </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> |
---|
99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Enables Blur behind on a Widget. <a href="#accb2708f861220124722091b102b819f"></a><br/></td></tr> |
---|
100 | <tr><td class="memItemLeft" align="right" valign="top">static bool </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> |
---|
101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">ExtendFrameIntoClientArea. <a href="#a33046d127bbd86b26a46f914c1793dfb"></a><br/></td></tr> |
---|
102 | <tr><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_win.html#ad90dbf318593dd8b4d29c4f7dc8c887f">isCompositionEnabled</a> ()</td></tr> |
---|
103 | <tr><td class="mdescLeft"> </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> |
---|
104 | <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> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_win.html#a1f53cc322d38d97e295520f07cb1a728">colorizatinColor</a> ()</td></tr> |
---|
105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the current colorizationColor for the window. <a href="#a1f53cc322d38d97e295520f07cb1a728"></a><br/></td></tr> |
---|
106 | </table> |
---|
107 | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
---|
108 | <p>This is a helper class for using the Desktop Window Manager functionality on Windows 7 and Windows Vista. </p> |
---|
109 | <p>On other platforms these functions will simply not do anything. </p> |
---|
110 | <hr/><h2>Member Function Documentation</h2> |
---|
111 | <a class="anchor" id="a1f53cc322d38d97e295520f07cb1a728"></a><!-- doxytag: member="QtWin::colorizatinColor" ref="a1f53cc322d38d97e295520f07cb1a728" args="()" --> |
---|
112 | <div class="memitem"> |
---|
113 | <div class="memproto"> |
---|
114 | <table class="memname"> |
---|
115 | <tr> |
---|
116 | <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> |
---|
117 | <td>(</td> |
---|
118 | <td class="paramname"></td> |
---|
119 | <td> ) </td> |
---|
120 | <td><code> [static]</code></td> |
---|
121 | </tr> |
---|
122 | </table> |
---|
123 | </div> |
---|
124 | <div class="memdoc"> |
---|
125 | |
---|
126 | <p>Returns the current colorizationColor for the window. </p> |
---|
127 | <p><em>enable</em> tells if the blur should be enabled or not </p> |
---|
128 | |
---|
129 | <p><div class="dynheader"> |
---|
130 | Here is the call graph for this function:</div> |
---|
131 | <div class="dynsection"> |
---|
132 | <div class="center"><img src="class_qt_win_a1f53cc322d38d97e295520f07cb1a728_cgraph.png" border="0" usemap="#class_qt_win_a1f53cc322d38d97e295520f07cb1a728_cgraph_map" alt=""></div> |
---|
133 | <map name="class_qt_win_a1f53cc322d38d97e295520f07cb1a728_cgraph_map" id="class_qt_win_a1f53cc322d38d97e295520f07cb1a728_cgraph"> |
---|
134 | <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"/> |
---|
135 | <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"/> |
---|
136 | </map> |
---|
137 | </div> |
---|
138 | </p> |
---|
139 | |
---|
140 | </div> |
---|
141 | </div> |
---|
142 | <a class="anchor" id="accb2708f861220124722091b102b819f"></a><!-- doxytag: member="QtWin::enableBlurBehindWindow" ref="accb2708f861220124722091b102b819f" args="(QWidget *widget, bool enable=true)" --> |
---|
143 | <div class="memitem"> |
---|
144 | <div class="memproto"> |
---|
145 | <table class="memname"> |
---|
146 | <tr> |
---|
147 | <td class="memname">bool QtWin::enableBlurBehindWindow </td> |
---|
148 | <td>(</td> |
---|
149 | <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> * </td> |
---|
150 | <td class="paramname"> <em>widget</em>, </td> |
---|
151 | </tr> |
---|
152 | <tr> |
---|
153 | <td class="paramkey"></td> |
---|
154 | <td></td> |
---|
155 | <td class="paramtype">bool </td> |
---|
156 | <td class="paramname"> <em>enable</em> = <code>true</code></td><td> </td> |
---|
157 | </tr> |
---|
158 | <tr> |
---|
159 | <td></td> |
---|
160 | <td>)</td> |
---|
161 | <td></td><td></td><td><code> [static]</code></td> |
---|
162 | </tr> |
---|
163 | </table> |
---|
164 | </div> |
---|
165 | <div class="memdoc"> |
---|
166 | |
---|
167 | <p>Enables Blur behind on a Widget. </p> |
---|
168 | <p><em>enable</em> tells if the blur should be enabled or not </p> |
---|
169 | |
---|
170 | <p><div class="dynheader"> |
---|
171 | Here is the call graph for this function:</div> |
---|
172 | <div class="dynsection"> |
---|
173 | <div class="center"><img src="class_qt_win_accb2708f861220124722091b102b819f_cgraph.png" border="0" usemap="#class_qt_win_accb2708f861220124722091b102b819f_cgraph_map" alt=""></div> |
---|
174 | <map name="class_qt_win_accb2708f861220124722091b102b819f_cgraph_map" id="class_qt_win_accb2708f861220124722091b102b819f_cgraph"> |
---|
175 | <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"/> |
---|
176 | <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"/> |
---|
177 | </map> |
---|
178 | </div> |
---|
179 | </p> |
---|
180 | |
---|
181 | </div> |
---|
182 | </div> |
---|
183 | <a class="anchor" id="a33046d127bbd86b26a46f914c1793dfb"></a><!-- doxytag: member="QtWin::extendFrameIntoClientArea" ref="a33046d127bbd86b26a46f914c1793dfb" args="(QWidget *widget, int left=-1, int top=-1, int right=-1, int bottom=-1)" --> |
---|
184 | <div class="memitem"> |
---|
185 | <div class="memproto"> |
---|
186 | <table class="memname"> |
---|
187 | <tr> |
---|
188 | <td class="memname">bool QtWin::extendFrameIntoClientArea </td> |
---|
189 | <td>(</td> |
---|
190 | <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> * </td> |
---|
191 | <td class="paramname"> <em>widget</em>, </td> |
---|
192 | </tr> |
---|
193 | <tr> |
---|
194 | <td class="paramkey"></td> |
---|
195 | <td></td> |
---|
196 | <td class="paramtype">int </td> |
---|
197 | <td class="paramname"> <em>left</em> = <code>-1</code>, </td> |
---|
198 | </tr> |
---|
199 | <tr> |
---|
200 | <td class="paramkey"></td> |
---|
201 | <td></td> |
---|
202 | <td class="paramtype">int </td> |
---|
203 | <td class="paramname"> <em>top</em> = <code>-1</code>, </td> |
---|
204 | </tr> |
---|
205 | <tr> |
---|
206 | <td class="paramkey"></td> |
---|
207 | <td></td> |
---|
208 | <td class="paramtype">int </td> |
---|
209 | <td class="paramname"> <em>right</em> = <code>-1</code>, </td> |
---|
210 | </tr> |
---|
211 | <tr> |
---|
212 | <td class="paramkey"></td> |
---|
213 | <td></td> |
---|
214 | <td class="paramtype">int </td> |
---|
215 | <td class="paramname"> <em>bottom</em> = <code>-1</code></td><td> </td> |
---|
216 | </tr> |
---|
217 | <tr> |
---|
218 | <td></td> |
---|
219 | <td>)</td> |
---|
220 | <td></td><td></td><td><code> [static]</code></td> |
---|
221 | </tr> |
---|
222 | </table> |
---|
223 | </div> |
---|
224 | <div class="memdoc"> |
---|
225 | |
---|
226 | <p>ExtendFrameIntoClientArea. </p> |
---|
227 | <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> |
---|
228 | <dl class="note"><dt><b>Note:</b></dt><dd>you should not call enableBlurBehindWindow before calling this functions</dd></dl> |
---|
229 | <p><em>enable</em> tells if the blur should be enabled or not </p> |
---|
230 | |
---|
231 | <p><div class="dynheader"> |
---|
232 | Here is the call graph for this function:</div> |
---|
233 | <div class="dynsection"> |
---|
234 | <div class="center"><img src="class_qt_win_a33046d127bbd86b26a46f914c1793dfb_cgraph.png" border="0" usemap="#class_qt_win_a33046d127bbd86b26a46f914c1793dfb_cgraph_map" alt=""></div> |
---|
235 | <map name="class_qt_win_a33046d127bbd86b26a46f914c1793dfb_cgraph_map" id="class_qt_win_a33046d127bbd86b26a46f914c1793dfb_cgraph"> |
---|
236 | <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"/> |
---|
237 | <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"/> |
---|
238 | <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"/> |
---|
239 | </map> |
---|
240 | </div> |
---|
241 | </p> |
---|
242 | |
---|
243 | </div> |
---|
244 | </div> |
---|
245 | <a class="anchor" id="ad90dbf318593dd8b4d29c4f7dc8c887f"></a><!-- doxytag: member="QtWin::isCompositionEnabled" ref="ad90dbf318593dd8b4d29c4f7dc8c887f" args="()" --> |
---|
246 | <div class="memitem"> |
---|
247 | <div class="memproto"> |
---|
248 | <table class="memname"> |
---|
249 | <tr> |
---|
250 | <td class="memname">bool QtWin::isCompositionEnabled </td> |
---|
251 | <td>(</td> |
---|
252 | <td class="paramname"></td> |
---|
253 | <td> ) </td> |
---|
254 | <td><code> [static]</code></td> |
---|
255 | </tr> |
---|
256 | </table> |
---|
257 | </div> |
---|
258 | <div class="memdoc"> |
---|
259 | |
---|
260 | <p>Chekcs and returns true if Windows DWM composition is currently enabled on the system. </p> |
---|
261 | <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> |
---|
262 | |
---|
263 | <p><div class="dynheader"> |
---|
264 | Here is the caller graph for this function:</div> |
---|
265 | <div class="dynsection"> |
---|
266 | <div class="center"><img src="class_qt_win_ad90dbf318593dd8b4d29c4f7dc8c887f_icgraph.png" border="0" usemap="#class_qt_win_ad90dbf318593dd8b4d29c4f7dc8c887f_icgraph_map" alt=""></div> |
---|
267 | <map name="class_qt_win_ad90dbf318593dd8b4d29c4f7dc8c887f_icgraph_map" id="class_qt_win_ad90dbf318593dd8b4d29c4f7dc8c887f_icgraph"> |
---|
268 | <area shape="rect" id="node3" href="class_settings_dialog.html#a9933956b777b2c0451e9119581cc22fb" title="Class constructor." alt="" coords="251,5,448,33"/> |
---|
269 | </map> |
---|
270 | </div> |
---|
271 | </p> |
---|
272 | |
---|
273 | </div> |
---|
274 | </div> |
---|
275 | <hr/>The documentation for this class was generated from the following files:<ul> |
---|
276 | <li>src/<a class="el" href="qtwin_8h_source.html">qtwin.h</a></li> |
---|
277 | <li>src/qtwin.cpp</li> |
---|
278 | </ul> |
---|
279 | </div> |
---|
280 | <!--- window showing the filter options --> |
---|
281 | <div id="MSearchSelectWindow" |
---|
282 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
283 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
284 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
---|
285 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Defines</a></div> |
---|
286 | |
---|
287 | <!-- iframe showing the search results (closed by default) --> |
---|
288 | <div id="MSearchResultsWindow"> |
---|
289 | <iframe src="" frameborder="0" |
---|
290 | name="MSearchResults" id="MSearchResults"> |
---|
291 | </iframe> |
---|
292 | </div> |
---|
293 | |
---|
294 | <hr size="1"/><address style="text-align: right;"><small>Generated on Wed Mar 3 01:46:35 2010 for TSPSG: TSP Solver and Generator by |
---|
295 | <a href="http://www.doxygen.org/index.html"> |
---|
296 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
297 | </body> |
---|
298 | </html> |
---|