source: tspsg-svn/trunk/docs/html/qtwin_8h_source.html @ 113

Last change on this file since 113 was 112, checked in by laleppa, 15 years ago

Updated translations and regenerated documentation.

File size: 8.6 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: 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"><!--
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><a href="annotated.html"><span>Classes</span></a></li>
65      <li class="current"><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="files.html"><span>File&nbsp;List</span></a></li>
84      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
85    </ul>
86  </div>
87<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
88<a name="l00010"></a>00010 <span class="preprocessor">#ifndef QTWIN_H</span>
89<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define QTWIN_H</span>
90<a name="l00012"></a>00012 <span class="preprocessor"></span>
91<a name="l00013"></a>00013 <span class="preprocessor">#include &lt;QColor&gt;</span>
92<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;QWidget&gt;</span>
93<a name="l00015"></a>00015
94<a name="l00016"></a>00016 <span class="keyword">class </span>WindowNotifier;
95<a name="l00017"></a>00017
96<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>
97<a name="l00024"></a>00024 {
98<a name="l00025"></a>00025 <span class="keyword">public</span>:
99<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>);
100<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,
101<a name="l00028"></a>00028                                           <span class="keywordtype">int</span> left = -1, <span class="keywordtype">int</span> top = -1,
102<a name="l00029"></a>00029                                           <span class="keywordtype">int</span> right = -1, <span class="keywordtype">int</span> bottom = -1);
103<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>();
104<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>();
105<a name="l00032"></a>00032
106<a name="l00033"></a>00033 <span class="keyword">private</span>:
107<a name="l00034"></a>00034     <span class="keyword">static</span> WindowNotifier *windowNotifier();
108<a name="l00035"></a>00035 };
109<a name="l00036"></a>00036
110<a name="l00037"></a>00037 <span class="preprocessor">#endif // QTWIN_H</span>
111</pre></div></div>
112<!--- window showing the filter options -->
113<div id="MSearchSelectWindow"
114     onmouseover="return searchBox.OnSearchSelectShow()"
115     onmouseout="return searchBox.OnSearchSelectHide()"
116     onkeydown="return searchBox.OnSearchSelectKey(event)">
117<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>
118
119<!-- iframe showing the search results (closed by default) -->
120<div id="MSearchResultsWindow">
121<iframe src="" frameborder="0" 
122        name="MSearchResults" id="MSearchResults">
123</iframe>
124</div>
125
126<hr size="1"/><address style="text-align: right;"><small>Generated on Wed Apr 28 02:47:10 2010 for TSPSG: TSP Solver and Generator by&nbsp;
127<a href="http://www.doxygen.org/index.html">
128<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
129</body>
130</html>
Note: See TracBrowser for help on using the repository browser.