[97] | 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: src/qtwin.h Source File</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><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 64 | <li class="current"><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="files.html"><span>File List</span></a></li> |
---|
| 83 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
| 84 | </ul> |
---|
| 85 | </div> |
---|
| 86 | <h1>src/qtwin.h</h1><a href="qtwin_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
---|
| 87 | <a name="l00010"></a>00010 <span class="preprocessor">#ifndef QTWIN_H</span> |
---|
| 88 | <a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define QTWIN_H</span> |
---|
| 89 | <a name="l00012"></a>00012 <span class="preprocessor"></span> |
---|
| 90 | <a name="l00013"></a>00013 <span class="preprocessor">#include <QColor></span> |
---|
| 91 | <a name="l00014"></a>00014 <span class="preprocessor">#include <QWidget></span> |
---|
| 92 | <a name="l00015"></a>00015 |
---|
| 93 | <a name="l00016"></a>00016 <span class="keyword">class </span>WindowNotifier; |
---|
| 94 | <a name="l00017"></a>00017 |
---|
| 95 | <a name="l00023"></a><a class="code" href="class_qt_win.html">00023</a> <span class="keyword">class </span><a class="code" href="class_qt_win.html" title="This is a helper class for using the Desktop Window Manager functionality on Windows...">QtWin</a> |
---|
| 96 | <a name="l00024"></a>00024 { |
---|
| 97 | <a name="l00025"></a>00025 <span class="keyword">public</span>: |
---|
| 98 | <a name="l00026"></a>00026 <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_qt_win.html#accb2708f861220124722091b102b819f" title="Enables Blur behind on a Widget.">enableBlurBehindWindow</a>(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html">QWidget</a> *widget, <span class="keywordtype">bool</span> enable = <span class="keyword">true</span>); |
---|
| 99 | <a name="l00027"></a>00027 <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_qt_win.html#a33046d127bbd86b26a46f914c1793dfb" title="ExtendFrameIntoClientArea.">extendFrameIntoClientArea</a>(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html">QWidget</a> *widget, |
---|
| 100 | <a name="l00028"></a>00028 <span class="keywordtype">int</span> left = -1, <span class="keywordtype">int</span> top = -1, |
---|
| 101 | <a name="l00029"></a>00029 <span class="keywordtype">int</span> right = -1, <span class="keywordtype">int</span> bottom = -1); |
---|
| 102 | <a name="l00030"></a>00030 <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_qt_win.html#ad90dbf318593dd8b4d29c4f7dc8c887f" title="Chekcs and returns true if Windows DWM composition is currently enabled on the system...">isCompositionEnabled</a>(); |
---|
| 103 | <a name="l00031"></a>00031 <span class="keyword">static</span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qcolor.html">QColor</a> <a class="code" href="class_qt_win.html#a1f53cc322d38d97e295520f07cb1a728" title="Returns the current colorizationColor for the window.">colorizatinColor</a>(); |
---|
| 104 | <a name="l00032"></a>00032 |
---|
| 105 | <a name="l00033"></a>00033 <span class="keyword">private</span>: |
---|
| 106 | <a name="l00034"></a>00034 <span class="keyword">static</span> WindowNotifier *windowNotifier(); |
---|
| 107 | <a name="l00035"></a>00035 }; |
---|
| 108 | <a name="l00036"></a>00036 |
---|
| 109 | <a name="l00037"></a>00037 <span class="preprocessor">#endif // QTWIN_H</span> |
---|
| 110 | </pre></div></div> |
---|
| 111 | <!--- window showing the filter options --> |
---|
| 112 | <div id="MSearchSelectWindow" |
---|
| 113 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
| 114 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
| 115 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
---|
| 116 | <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> |
---|
| 117 | |
---|
| 118 | <!-- iframe showing the search results (closed by default) --> |
---|
| 119 | <div id="MSearchResultsWindow"> |
---|
| 120 | <iframe src="" frameborder="0" |
---|
| 121 | name="MSearchResults" id="MSearchResults"> |
---|
| 122 | </iframe> |
---|
| 123 | </div> |
---|
| 124 | |
---|
| 125 | <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 |
---|
| 126 | <a href="http://www.doxygen.org/index.html"> |
---|
| 127 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
| 128 | </body> |
---|
| 129 | </html> |
---|