~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/q3mainwindow.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE html
3
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
 
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/src/qt3support/widgets/q3mainwindow.cpp -->
 
5
<!-- q3mainwindow.cpp -->
6
6
<head>
7
 
  <title>Qt 4.5: Q3MainWindow Class Reference</title>
 
7
  <title>Qt 4.6: Q3MainWindow Class Reference</title>
8
8
  <link href="classic.css" rel="stylesheet" type="text/css" />
9
9
</head>
10
10
<body>
 
11
<a name="//apple_ref/cpp/cl//Q3MainWindow" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
13
<tr>
13
 
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
 
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
 
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">Q3MainWindow Class Reference<br /><span class="small-subtitle">[<a href="qt3support.html">Qt3Support</a> module]</span>
 
14
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
 
15
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
 
16
</tr></table><h1 class="title">Q3MainWindow Class Reference<br /><span class="small-subtitle">[<a href="qt3support.html">Qt3Support</a> module]</span>
16
17
</h1>
17
18
<p>The Q3MainWindow class provides a main application window, with a menu bar, dock windows (e.g&#x2e; for toolbars), and a status bar. <a href="#details">More...</a></p>
18
19
<pre> #include &lt;Q3MainWindow&gt;</pre><p><b>This class is part of the Qt 3 support library.</b> It is provided to keep old source code working. We strongly advise against using it in new code. See <a href="porting4.html#qmainwindow">Porting to Qt 4</a> for more information.</p>
20
21
<ul>
21
22
<li><a href="q3mainwindow-members.html">List of all members, including inherited members</a></li>
22
23
</ul>
 
24
<hr />
23
25
<a name="public-types"></a>
24
 
<h3>Public Types</h3>
25
 
<ul>
26
 
<li><div class="fn"></div>enum <b><a href="q3mainwindow.html#DockWindows-enum">DockWindows</a></b> { OnlyToolBars, NoToolBars, AllDockWindows }</li>
27
 
</ul>
 
26
<h2>Public Types</h2>
 
27
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
28
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#DockWindows-enum">DockWindows</a></b> { OnlyToolBars, NoToolBars, AllDockWindows }</td></tr>
 
29
</table>
 
30
<hr />
28
31
<a name="properties"></a>
29
 
<h3>Properties</h3>
30
 
<p><table width="100%" border="0" cellpadding="0" cellspacing="0">
 
32
<h2>Properties</h2>
 
33
<p><table class="propsummary" width="100%" border="0" cellpadding="0" cellspacing="0">
31
34
<tr><td width="45%" valign="top"><ul>
32
 
<li><div class="fn"></div><b><a href="q3mainwindow.html#dockWindowsMovable-prop">dockWindowsMovable</a></b> : bool</li>
33
 
<li><div class="fn"></div><b><a href="q3mainwindow.html#opaqueMoving-prop">opaqueMoving</a></b> : bool</li>
34
 
<li><div class="fn"></div><b><a href="q3mainwindow.html#rightJustification-prop">rightJustification</a></b> : bool</li>
 
35
<li><div class="fn"><b><a href="q3mainwindow.html#dockWindowsMovable-prop">dockWindowsMovable</a></b> : bool</div></li>
 
36
<li><div class="fn"><b><a href="q3mainwindow.html#opaqueMoving-prop">opaqueMoving</a></b> : bool</div></li>
 
37
<li><div class="fn"><b><a href="q3mainwindow.html#rightJustification-prop">rightJustification</a></b> : bool</div></li>
35
38
</ul></td><td valign="top"><ul>
36
 
<li><div class="fn"></div><b><a href="q3mainwindow.html#usesBigPixmaps-prop">usesBigPixmaps</a></b> : bool</li>
37
 
<li><div class="fn"></div><b><a href="q3mainwindow.html#usesTextLabel-prop">usesTextLabel</a></b> : bool</li>
 
39
<li><div class="fn"><b><a href="q3mainwindow.html#usesBigPixmaps-prop">usesBigPixmaps</a></b> : bool</div></li>
 
40
<li><div class="fn"><b><a href="q3mainwindow.html#usesTextLabel-prop">usesTextLabel</a></b> : bool</div></li>
38
41
</ul>
39
42
</td></tr>
40
43
</table></p>
41
44
<ul>
42
 
<li><div class="fn"></div>57 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
43
 
<li><div class="fn"></div>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
 
45
<li><div bar="2" class="fn"></div>58 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
 
46
<li><div bar="2" class="fn"></div>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
44
47
</ul>
 
48
<hr />
45
49
<a name="public-functions"></a>
46
 
<h3>Public Functions</h3>
47
 
<ul>
48
 
<li><div class="fn"></div><b><a href="q3mainwindow.html#Q3MainWindow">Q3MainWindow</a></b> ( QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0, Qt::WindowFlags <i>f</i> = Qt::WType_TopLevel )</li>
49
 
<li><div class="fn"></div><b><a href="q3mainwindow.html#dtor.Q3MainWindow">~Q3MainWindow</a></b> ()</li>
50
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#addDockWindow">addDockWindow</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>edge</i> = Qt::DockTop, bool <i>newLine</i> = false )</li>
51
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#addDockWindow-2">addDockWindow</a></b> ( Q3DockWindow * <i>dockWindow</i>, const QString &amp; <i>label</i>, Qt::Dock <i>edge</i> = Qt::DockTop, bool <i>newLine</i> = false )</li>
52
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#addToolBar">addToolBar</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>position</i> = Qt::DockTop, bool <i>newLine</i> = false )</li>
53
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#addToolBar-2">addToolBar</a></b> ( Q3DockWindow * <i>dockWindow</i>, const QString &amp; <i>label</i>, Qt::Dock <i>position</i> = Qt::DockTop, bool <i>newLine</i> = false )</li>
54
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#appropriate">appropriate</a></b> ( Q3DockWindow * <i>dw</i> ) const</li>
55
 
<li><div class="fn"></div>Q3DockArea * <b><a href="q3mainwindow.html#bottomDock">bottomDock</a></b> () const</li>
56
 
<li><div class="fn"></div>QWidget * <b><a href="q3mainwindow.html#centralWidget">centralWidget</a></b> () const</li>
57
 
<li><div class="fn"></div>virtual Q3PopupMenu * <b><a href="q3mainwindow.html#createDockWindowMenu">createDockWindowMenu</a></b> ( DockWindows <i>dockWindows</i> = AllDockWindows ) const</li>
58
 
<li><div class="fn"></div>QList&lt;Q3DockWindow *&gt; <b><a href="q3mainwindow.html#dockWindows">dockWindows</a></b> ( Qt::Dock <i>dock</i> ) const</li>
59
 
<li><div class="fn"></div>QList&lt;Q3DockWindow *&gt; <b><a href="q3mainwindow.html#dockWindows-2">dockWindows</a></b> () const</li>
60
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#dockWindowsMovable-prop">dockWindowsMovable</a></b> () const</li>
61
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#getLocation">getLocation</a></b> ( Q3DockWindow * <i>dw</i>, Qt::Dock &amp; <i>dock</i>, int &amp; <i>index</i>, bool &amp; <i>nl</i>, int &amp; <i>extraOffset</i> ) const</li>
62
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#hasDockWindow">hasDockWindow</a></b> ( Q3DockWindow * <i>dw</i> )</li>
63
 
<li><div class="fn"></div>virtual bool <b><a href="q3mainwindow.html#isCustomizable">isCustomizable</a></b> () const</li>
64
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#isDockEnabled">isDockEnabled</a></b> ( Qt::Dock <i>dock</i> ) const</li>
65
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#isDockEnabled-2">isDockEnabled</a></b> ( Q3DockArea * <i>area</i> ) const</li>
66
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#isDockEnabled-3">isDockEnabled</a></b> ( Q3DockWindow * <i>dw</i>, Q3DockArea * <i>area</i> ) const</li>
67
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#isDockEnabled-4">isDockEnabled</a></b> ( Q3DockWindow * <i>tb</i>, Qt::Dock <i>dock</i> ) const</li>
68
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#isDockMenuEnabled">isDockMenuEnabled</a></b> () const</li>
69
 
<li><div class="fn"></div>Q3DockArea * <b><a href="q3mainwindow.html#leftDock">leftDock</a></b> () const</li>
70
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#lineUpDockWindows">lineUpDockWindows</a></b> ( bool <i>keepNewLines</i> = false )</li>
71
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#lineUpToolBars">lineUpToolBars</a></b> ( bool <i>keepNewLines</i> = false )</li>
72
 
<li><div class="fn"></div>QMenuBar * <b><a href="q3mainwindow.html#menuBar">menuBar</a></b> () const</li>
73
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#moveDockWindow">moveDockWindow</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>edge</i> = Qt::DockTop )</li>
74
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#moveDockWindow-2">moveDockWindow</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>edge</i>, bool <i>nl</i>, int <i>index</i>, int <i>extraOffset</i> = -1 )</li>
75
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#moveToolBar">moveToolBar</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>position</i> = Qt::DockTop )</li>
76
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#moveToolBar-2">moveToolBar</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>position</i>, bool <i>nl</i>, int <i>index</i>, int <i>extraOffset</i> = -1 )</li>
77
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#opaqueMoving-prop">opaqueMoving</a></b> () const</li>
78
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#removeDockWindow">removeDockWindow</a></b> ( Q3DockWindow * <i>dockWindow</i> )</li>
79
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#removeToolBar">removeToolBar</a></b> ( Q3DockWindow * <i>dockWindow</i> )</li>
80
 
<li><div class="fn"></div>Q3DockArea * <b><a href="q3mainwindow.html#rightDock">rightDock</a></b> () const</li>
81
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#rightJustification-prop">rightJustification</a></b> () const</li>
82
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#setCentralWidget">setCentralWidget</a></b> ( QWidget * <i>w</i> )</li>
83
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#setDockEnabled">setDockEnabled</a></b> ( Qt::Dock <i>dock</i>, bool <i>enable</i> )</li>
84
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#setDockEnabled-2">setDockEnabled</a></b> ( Q3DockWindow * <i>dw</i>, Qt::Dock <i>dock</i>, bool <i>enable</i> )</li>
85
 
<li><div class="fn"></div>QStatusBar * <b><a href="q3mainwindow.html#statusBar">statusBar</a></b> () const</li>
86
 
<li><div class="fn"></div>QList&lt;Q3ToolBar *&gt; <b><a href="q3mainwindow.html#toolBars">toolBars</a></b> ( Qt::Dock <i>dock</i> ) const</li>
87
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#toolBarsMovable">toolBarsMovable</a></b> () const</li>
88
 
<li><div class="fn"></div>Q3DockArea * <b><a href="q3mainwindow.html#topDock">topDock</a></b> () const</li>
89
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#usesBigPixmaps-prop">usesBigPixmaps</a></b> () const</li>
90
 
<li><div class="fn"></div>bool <b><a href="q3mainwindow.html#usesTextLabel-prop">usesTextLabel</a></b> () const</li>
91
 
</ul>
92
 
<ul>
93
 
<li><div class="fn"></div>207 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
94
 
<li><div class="fn"></div>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
95
 
<li><div class="fn"></div>12 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
96
 
</ul>
 
50
<h2>Public Functions</h2>
 
51
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
52
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#Q3MainWindow">Q3MainWindow</a></b> ( QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0, Qt::WindowFlags <i>f</i> = Qt::WType_TopLevel )</td></tr>
 
53
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#dtor.Q3MainWindow">~Q3MainWindow</a></b> ()</td></tr>
 
54
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#addDockWindow">addDockWindow</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>edge</i> = Qt::DockTop, bool <i>newLine</i> = false )</td></tr>
 
55
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#addDockWindow-2">addDockWindow</a></b> ( Q3DockWindow * <i>dockWindow</i>, const QString &amp; <i>label</i>, Qt::Dock <i>edge</i> = Qt::DockTop, bool <i>newLine</i> = false )</td></tr>
 
56
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#addToolBar">addToolBar</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>position</i> = Qt::DockTop, bool <i>newLine</i> = false )</td></tr>
 
57
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#addToolBar-2">addToolBar</a></b> ( Q3DockWindow * <i>dockWindow</i>, const QString &amp; <i>label</i>, Qt::Dock <i>position</i> = Qt::DockTop, bool <i>newLine</i> = false )</td></tr>
 
58
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#appropriate">appropriate</a></b> ( Q3DockWindow * <i>dw</i> ) const</td></tr>
 
59
<tr><td class="memItemLeft" align="right" valign="top">Q3DockArea * </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#bottomDock">bottomDock</a></b> () const</td></tr>
 
60
<tr><td class="memItemLeft" align="right" valign="top">QWidget * </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#centralWidget">centralWidget</a></b> () const</td></tr>
 
61
<tr><td class="memItemLeft" align="right" valign="top">virtual Q3PopupMenu * </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#createDockWindowMenu">createDockWindowMenu</a></b> ( DockWindows <i>dockWindows</i> = AllDockWindows ) const</td></tr>
 
62
<tr><td class="memItemLeft" align="right" valign="top">QList&lt;Q3DockWindow *&gt; </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#dockWindows">dockWindows</a></b> ( Qt::Dock <i>dock</i> ) const</td></tr>
 
63
<tr><td class="memItemLeft" align="right" valign="top">QList&lt;Q3DockWindow *&gt; </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#dockWindows-2">dockWindows</a></b> () const</td></tr>
 
64
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#dockWindowsMovable-prop">dockWindowsMovable</a></b> () const</td></tr>
 
65
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#getLocation">getLocation</a></b> ( Q3DockWindow * <i>dw</i>, Qt::Dock &amp; <i>dock</i>, int &amp; <i>index</i>, bool &amp; <i>nl</i>, int &amp; <i>extraOffset</i> ) const</td></tr>
 
66
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#hasDockWindow">hasDockWindow</a></b> ( Q3DockWindow * <i>dw</i> )</td></tr>
 
67
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#isCustomizable">isCustomizable</a></b> () const</td></tr>
 
68
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#isDockEnabled">isDockEnabled</a></b> ( Qt::Dock <i>dock</i> ) const</td></tr>
 
69
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#isDockEnabled-2">isDockEnabled</a></b> ( Q3DockArea * <i>area</i> ) const</td></tr>
 
70
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#isDockEnabled-3">isDockEnabled</a></b> ( Q3DockWindow * <i>dw</i>, Q3DockArea * <i>area</i> ) const</td></tr>
 
71
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#isDockEnabled-4">isDockEnabled</a></b> ( Q3DockWindow * <i>tb</i>, Qt::Dock <i>dock</i> ) const</td></tr>
 
72
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#isDockMenuEnabled">isDockMenuEnabled</a></b> () const</td></tr>
 
73
<tr><td class="memItemLeft" align="right" valign="top">Q3DockArea * </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#leftDock">leftDock</a></b> () const</td></tr>
 
74
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#lineUpDockWindows">lineUpDockWindows</a></b> ( bool <i>keepNewLines</i> = false )</td></tr>
 
75
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#lineUpToolBars">lineUpToolBars</a></b> ( bool <i>keepNewLines</i> = false )</td></tr>
 
76
<tr><td class="memItemLeft" align="right" valign="top">QMenuBar * </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#menuBar">menuBar</a></b> () const</td></tr>
 
77
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#moveDockWindow">moveDockWindow</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>edge</i> = Qt::DockTop )</td></tr>
 
78
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#moveDockWindow-2">moveDockWindow</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>edge</i>, bool <i>nl</i>, int <i>index</i>, int <i>extraOffset</i> = -1 )</td></tr>
 
79
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#moveToolBar">moveToolBar</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>position</i> = Qt::DockTop )</td></tr>
 
80
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#moveToolBar-2">moveToolBar</a></b> ( Q3DockWindow * <i>dockWindow</i>, Qt::Dock <i>position</i>, bool <i>nl</i>, int <i>index</i>, int <i>extraOffset</i> = -1 )</td></tr>
 
81
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#opaqueMoving-prop">opaqueMoving</a></b> () const</td></tr>
 
82
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#removeDockWindow">removeDockWindow</a></b> ( Q3DockWindow * <i>dockWindow</i> )</td></tr>
 
83
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#removeToolBar">removeToolBar</a></b> ( Q3DockWindow * <i>dockWindow</i> )</td></tr>
 
84
<tr><td class="memItemLeft" align="right" valign="top">Q3DockArea * </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#rightDock">rightDock</a></b> () const</td></tr>
 
85
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#rightJustification-prop">rightJustification</a></b> () const</td></tr>
 
86
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#setCentralWidget">setCentralWidget</a></b> ( QWidget * <i>w</i> )</td></tr>
 
87
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#setDockEnabled">setDockEnabled</a></b> ( Qt::Dock <i>dock</i>, bool <i>enable</i> )</td></tr>
 
88
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#setDockEnabled-2">setDockEnabled</a></b> ( Q3DockWindow * <i>dw</i>, Qt::Dock <i>dock</i>, bool <i>enable</i> )</td></tr>
 
89
<tr><td class="memItemLeft" align="right" valign="top">QStatusBar * </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#statusBar">statusBar</a></b> () const</td></tr>
 
90
<tr><td class="memItemLeft" align="right" valign="top">QList&lt;Q3ToolBar *&gt; </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#toolBars">toolBars</a></b> ( Qt::Dock <i>dock</i> ) const</td></tr>
 
91
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#toolBarsMovable">toolBarsMovable</a></b> () const</td></tr>
 
92
<tr><td class="memItemLeft" align="right" valign="top">Q3DockArea * </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#topDock">topDock</a></b> () const</td></tr>
 
93
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#usesBigPixmaps-prop">usesBigPixmaps</a></b> () const</td></tr>
 
94
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#usesTextLabel-prop">usesTextLabel</a></b> () const</td></tr>
 
95
</table>
 
96
<hr />
 
97
<a name="reimplemented-public-functions"></a>
 
98
<h2>Reimplemented Public Functions</h2>
 
99
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
100
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#eventFilter">eventFilter</a></b> ( QObject * <i>o</i>, QEvent * <i>e</i> )</td></tr>
 
101
<tr><td class="memItemLeft" align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#minimumSizeHint">minimumSizeHint</a></b> () const</td></tr>
 
102
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#setVisible">setVisible</a></b> ( bool <i>visible</i> )</td></tr>
 
103
<tr><td class="memItemLeft" align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#sizeHint">sizeHint</a></b> () const</td></tr>
 
104
</table>
 
105
<ul>
 
106
<li><div bar="2" class="fn"></div>215 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
 
107
<li><div bar="2" class="fn"></div>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
 
108
<li><div bar="2" class="fn"></div>12 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
 
109
</ul>
 
110
<hr />
97
111
<a name="public-slots"></a>
98
 
<h3>Public Slots</h3>
99
 
<ul>
100
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#customize">customize</a></b> ()</li>
101
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#setAppropriate">setAppropriate</a></b> ( Q3DockWindow * <i>dw</i>, bool <i>a</i> )</li>
102
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#setDockMenuEnabled">setDockMenuEnabled</a></b> ( bool <i>b</i> )</li>
103
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#dockWindowsMovable-prop">setDockWindowsMovable</a></b> ( bool )</li>
104
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#opaqueMoving-prop">setOpaqueMoving</a></b> ( bool )</li>
105
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#rightJustification-prop">setRightJustification</a></b> ( bool )</li>
106
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#setToolBarsMovable">setToolBarsMovable</a></b> ( bool <i>b</i> )</li>
107
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#usesBigPixmaps-prop">setUsesBigPixmaps</a></b> ( bool )</li>
108
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#usesTextLabel-prop">setUsesTextLabel</a></b> ( bool )</li>
109
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#whatsThis">whatsThis</a></b> ()</li>
110
 
</ul>
111
 
<ul>
112
 
<li><div class="fn"></div>19 public slots inherited from <a href="qwidget.html#public-slots">QWidget</a></li>
113
 
<li><div class="fn"></div>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
114
 
</ul>
 
112
<h2>Public Slots</h2>
 
113
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
114
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#customize">customize</a></b> ()</td></tr>
 
115
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#setAppropriate">setAppropriate</a></b> ( Q3DockWindow * <i>dw</i>, bool <i>a</i> )</td></tr>
 
116
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#setDockMenuEnabled">setDockMenuEnabled</a></b> ( bool <i>b</i> )</td></tr>
 
117
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#dockWindowsMovable-prop">setDockWindowsMovable</a></b> ( bool )</td></tr>
 
118
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#opaqueMoving-prop">setOpaqueMoving</a></b> ( bool )</td></tr>
 
119
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#rightJustification-prop">setRightJustification</a></b> ( bool )</td></tr>
 
120
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#setToolBarsMovable">setToolBarsMovable</a></b> ( bool <i>b</i> )</td></tr>
 
121
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#usesBigPixmaps-prop">setUsesBigPixmaps</a></b> ( bool )</td></tr>
 
122
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#usesTextLabel-prop">setUsesTextLabel</a></b> ( bool )</td></tr>
 
123
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#whatsThis">whatsThis</a></b> ()</td></tr>
 
124
</table>
 
125
<ul>
 
126
<li><div bar="2" class="fn"></div>19 public slots inherited from <a href="qwidget.html#public-slots">QWidget</a></li>
 
127
<li><div bar="2" class="fn"></div>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
 
128
</ul>
 
129
<hr />
115
130
<a name="signals"></a>
116
 
<h3>Signals</h3>
117
 
<ul>
118
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#dockWindowPositionChanged">dockWindowPositionChanged</a></b> ( Q3DockWindow * <i>dockWindow</i> )</li>
119
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#pixmapSizeChanged">pixmapSizeChanged</a></b> ( bool <i>b</i> )</li>
120
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#toolBarPositionChanged">toolBarPositionChanged</a></b> ( Q3ToolBar * <i>toolbar</i> )</li>
121
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#usesTextLabelChanged">usesTextLabelChanged</a></b> ( bool <i>b</i> )</li>
122
 
</ul>
123
 
<ul>
124
 
<li><div class="fn"></div>1 signal inherited from <a href="qwidget.html#signals">QWidget</a></li>
125
 
<li><div class="fn"></div>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
126
 
</ul>
127
 
<a name="protected-functions"></a>
128
 
<h3>Protected Functions</h3>
129
 
<ul>
130
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#childEvent">childEvent</a></b> ( QChildEvent * <i>e</i> )</li>
131
 
</ul>
132
 
<ul>
133
 
<li><div class="fn"></div>37 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
134
 
<li><div class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
135
 
<li><div class="fn"></div>1 protected function inherited from <a href="qpaintdevice.html#protected-functions">QPaintDevice</a></li>
136
 
</ul>
 
131
<h2>Signals</h2>
 
132
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
133
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#dockWindowPositionChanged">dockWindowPositionChanged</a></b> ( Q3DockWindow * <i>dockWindow</i> )</td></tr>
 
134
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#pixmapSizeChanged">pixmapSizeChanged</a></b> ( bool <i>b</i> )</td></tr>
 
135
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#toolBarPositionChanged">toolBarPositionChanged</a></b> ( Q3ToolBar * <i>toolbar</i> )</td></tr>
 
136
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#usesTextLabelChanged">usesTextLabelChanged</a></b> ( bool <i>b</i> )</td></tr>
 
137
</table>
 
138
<ul>
 
139
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="qwidget.html#signals">QWidget</a></li>
 
140
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
 
141
</ul>
 
142
<hr />
 
143
<a name="reimplemented-protected-functions"></a>
 
144
<h2>Reimplemented Protected Functions</h2>
 
145
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
146
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#childEvent">childEvent</a></b> ( QChildEvent * <i>e</i> )</td></tr>
 
147
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#event">event</a></b> ( QEvent * <i>e</i> )</td></tr>
 
148
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#paintEvent">paintEvent</a></b> ( QPaintEvent * )</td></tr>
 
149
</table>
 
150
<ul>
 
151
<li><div bar="2" class="fn"></div>37 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
 
152
<li><div bar="2" class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
 
153
<li><div bar="2" class="fn"></div>1 protected function inherited from <a href="qpaintdevice.html#protected-functions">QPaintDevice</a></li>
 
154
</ul>
 
155
<hr />
137
156
<a name="protected-slots"></a>
138
 
<h3>Protected Slots</h3>
139
 
<ul>
140
 
<li><div class="fn"></div>void <b><a href="q3mainwindow.html#menuAboutToShow">menuAboutToShow</a></b> ()</li>
141
 
<li><div class="fn"></div>virtual void <b><a href="q3mainwindow.html#setUpLayout">setUpLayout</a></b> ()</li>
142
 
<li><div class="fn"></div>virtual bool <b><a href="q3mainwindow.html#showDockMenu">showDockMenu</a></b> ( const QPoint &amp; <i>globalPos</i> )</li>
143
 
</ul>
144
 
<ul>
145
 
<li><div class="fn"></div>1 protected slot inherited from <a href="qwidget.html#protected-slots">QWidget</a></li>
146
 
</ul>
 
157
<h2>Protected Slots</h2>
 
158
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
159
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#menuAboutToShow">menuAboutToShow</a></b> ()</td></tr>
 
160
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#setUpLayout">setUpLayout</a></b> ()</td></tr>
 
161
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#showDockMenu">showDockMenu</a></b> ( const QPoint &amp; <i>globalPos</i> )</td></tr>
 
162
</table>
 
163
<ul>
 
164
<li><div bar="2" class="fn"></div>1 protected slot inherited from <a href="qwidget.html#protected-slots">QWidget</a></li>
 
165
</ul>
 
166
<hr />
147
167
<a name="related-non-members"></a>
148
 
<h3>Related Non-Members</h3>
149
 
<ul>
150
 
<li><div class="fn"></div>QTextStream &amp; <b><a href="q3mainwindow.html#operator-lt-lt-15">operator&lt;&lt;</a></b> ( QTextStream &amp; <i>ts</i>, const Q3MainWindow &amp; <i>mainWindow</i> )</li>
151
 
<li><div class="fn"></div>QTextStream &amp; <b><a href="q3mainwindow.html#operator-gt-gt-8">operator&gt;&gt;</a></b> ( QTextStream &amp; <i>ts</i>, Q3MainWindow &amp; <i>mainWindow</i> )</li>
152
 
</ul>
 
168
<h2>Related Non-Members</h2>
 
169
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
170
<tr><td class="memItemLeft" align="right" valign="top">QTextStream &amp; </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#operator-lt-lt-77">operator&lt;&lt;</a></b> ( QTextStream &amp; <i>ts</i>, const Q3MainWindow &amp; <i>mainWindow</i> )</td></tr>
 
171
<tr><td class="memItemLeft" align="right" valign="top">QTextStream &amp; </td><td class="memItemRight" valign="bottom"><b><a href="q3mainwindow.html#operator-gt-gt-42">operator&gt;&gt;</a></b> ( QTextStream &amp; <i>ts</i>, Q3MainWindow &amp; <i>mainWindow</i> )</td></tr>
 
172
</table>
153
173
<h3>Additional Inherited Members</h3>
154
174
<ul>
155
175
<li><div class="fn"></div>4 static public members inherited from <a href="qwidget.html#static-public-members">QWidget</a></li>
156
176
<li><div class="fn"></div>5 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
 
177
<li><div class="fn"></div>37 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
 
178
<li><div class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
 
179
<li><div class="fn"></div>1 protected function inherited from <a href="qpaintdevice.html#protected-functions">QPaintDevice</a></li>
157
180
</ul>
158
181
<a name="details"></a>
159
182
<hr />
160
183
<h2>Detailed Description</h2>
161
184
<p>The Q3MainWindow class provides a main application window, with a menu bar, dock windows (e.g&#x2e; for toolbars), and a status bar.</p>
162
 
<p>Main windows are most often used to provide menus, toolbars and a status bar around a large central widget, such as a text edit, drawing canvas or <a href="qworkspace.html">QWorkspace</a> (for MDI applications). Q3MainWindow is usually subclassed since this makes it easier to encapsulate the central widget, menus and toolbars as well as the window's state. Subclassing makes it possible to create the slots that are called when the user clicks menu items or toolbar buttons.</p>
 
185
<p>Main windows are most often used to provide menus, toolbars and a status bar around a large central widget, such as a text edit, drawing canvas or <a href="qworkspace.html" class="obsolete">QWorkspace</a> (for MDI applications). Q3MainWindow is usually subclassed since this makes it easier to encapsulate the central widget, menus and toolbars as well as the window's state. Subclassing makes it possible to create the slots that are called when the user clicks menu items or toolbar buttons.</p>
163
186
<p>We'll briefly review adding menu items and toolbar buttons then describe the facilities of Q3MainWindow itself.</p>
164
187
<pre> Q3MainWindow *mw = new Q3MainWindow;
165
188
 QTextEdit *edit = new QTextEdit(mw, &quot;editor&quot;);
206
229
 }</pre>
207
230
<p>The <a href="qsettings.html">QSettings</a> class can be used in conjunction with the streaming operators to store the application's settings.</p>
208
231
<p>Q3MainWindow's management of dock windows and toolbars is done transparently behind-the-scenes by <a href="q3dockarea.html">Q3DockArea</a>.</p>
209
 
<p>For multi-document interfaces (MDI), use a <a href="qworkspace.html">QWorkspace</a> as the central widget.</p>
 
232
<p>For multi-document interfaces (MDI), use a <a href="qworkspace.html" class="obsolete">QWorkspace</a> as the central widget.</p>
210
233
<p>Adding dock windows, e.g&#x2e; toolbars, to Q3MainWindow's dock areas is straightforward. If the supplied dock areas are not sufficient for your application we suggest that you create a <a href="qwidget.html">QWidget</a> subclass and add your own dock areas (see <a href="q3dockarea.html">Q3DockArea</a>) to the subclass since Q3MainWindow provides functionality specific to the standard dock areas it provides.</p>
211
234
<p>See also <a href="q3toolbar.html">Q3ToolBar</a>, <a href="q3dockwindow.html">Q3DockWindow</a>, <a href="qstatusbar.html">QStatusBar</a>, <a href="qaction.html">QAction</a>, <a href="qmenubar.html">QMenuBar</a>, <a href="q3popupmenu.html">Q3PopupMenu</a>, and <a href="qdialog.html">QDialog</a>.</p>
212
235
<hr />
213
236
<h2>Member Type Documentation</h2>
 
237
<a name="//apple_ref/cpp/tag/Q3MainWindow/DockWindows" />
 
238
<a name="//apple_ref/cpp/econst/Q3MainWindow/OnlyToolBars" />
 
239
<a name="//apple_ref/cpp/econst/Q3MainWindow/NoToolBars" />
 
240
<a name="//apple_ref/cpp/econst/Q3MainWindow/AllDockWindows" />
214
241
<h3 class="fn"><a name="DockWindows-enum"></a>enum Q3MainWindow::DockWindows</h3>
215
242
<p>Right-clicking a dock area will pop-up the dock window menu (<a href="q3mainwindow.html#createDockWindowMenu">createDockWindowMenu</a>() is called automatically). When called in code you can specify what items should appear on the menu with this enum.</p>
216
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
243
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
217
244
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
218
245
<tr><td valign="top"><tt>Q3MainWindow::OnlyToolBars</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The menu will list all the toolbars, but not any other dock windows.</td></tr>
219
246
<tr><td valign="top"><tt>Q3MainWindow::NoToolBars</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The menu will list dock windows but not toolbars.</td></tr>
221
248
</table></p>
222
249
<hr />
223
250
<h2>Property Documentation</h2>
 
251
<a name="//apple_ref/cpp/instm/Q3MainWindow/dockWindowsMovable" />
 
252
<a name="//apple_ref/cpp/instm/Q3MainWindow/setDockWindowsMovable" />
224
253
<h3 class="fn"><a name="dockWindowsMovable-prop"></a>dockWindowsMovable : bool</h3>
225
254
<p>This property holds whether the dock windows are movable.</p>
226
 
<p>If true (the default), the user will be able to move movable dock windows from one <a href="q3mainwindow.html">Q3MainWindow</a> dock area to another, including the <tt>TearOff</tt> area (i.e&#x2e; where the dock window floats freely as a window in its own right), and the <tt>Minimized</tt> area (where only the dock window's handle is shown below the menu bar). Movable dock windows can also be moved within <a href="q3mainwindow.html">Q3MainWindow</a> dock areas, i.e&#x2e; to rearrange them within a dock area.</p>
 
255
<p>If true (the default), the user will be able to move movable dock windows from one <a href="q3mainwindow.html" class="compat">Q3MainWindow</a> dock area to another, including the <tt>TearOff</tt> area (i.e&#x2e; where the dock window floats freely as a window in its own right), and the <tt>Minimized</tt> area (where only the dock window's handle is shown below the menu bar). Movable dock windows can also be moved within <a href="q3mainwindow.html" class="compat">Q3MainWindow</a> dock areas, i.e&#x2e; to rearrange them within a dock area.</p>
227
256
<p>If false the user will not be able to move any dock windows.</p>
228
257
<p>By default dock windows are moved transparently (i.e&#x2e; only an outline rectangle is shown during the drag), but this setting can be changed with <a href="q3mainwindow.html#opaqueMoving-prop">setOpaqueMoving</a>().</p>
229
 
<p>Access functions:</p>
230
 
<ul>
231
 
<li><div class="fn"></div><b>bool dockWindowsMovable () const</b></li>
232
 
<li><div class="fn"></div><b>virtual void setDockWindowsMovable ( bool )</b></li>
233
 
</ul>
 
258
<p><b>Access functions:</b></p>
 
259
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
260
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b>dockWindowsMovable</b> () const</td></tr>
 
261
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b>setDockWindowsMovable</b> ( bool )</td></tr>
 
262
</table>
234
263
<p>See also <a href="q3mainwindow.html#setDockEnabled">setDockEnabled</a>() and <a href="q3mainwindow.html#opaqueMoving-prop">setOpaqueMoving</a>().</p>
 
264
<a name="//apple_ref/cpp/instm/Q3MainWindow/opaqueMoving" />
 
265
<a name="//apple_ref/cpp/instm/Q3MainWindow/setOpaqueMoving" />
235
266
<h3 class="fn"><a name="opaqueMoving-prop"></a>opaqueMoving : bool</h3>
236
267
<p>This property holds whether dock windows are moved opaquely.</p>
237
268
<p>If true the dock windows of the main window are shown opaquely (i.e&#x2e; it shows the toolbar as it looks when docked) whilst it is being moved. If false (the default) they are shown transparently, (i.e&#x2e; as an outline rectangle).</p>
238
269
<p><b>Warning:</b> Opaque moving of toolbars and dockwindows is known to have several problems. We recommend avoiding the use of this feature for the time being. We intend fixing the problems in a future release.</p>
239
 
<p>Access functions:</p>
240
 
<ul>
241
 
<li><div class="fn"></div><b>bool opaqueMoving () const</b></li>
242
 
<li><div class="fn"></div><b>virtual void setOpaqueMoving ( bool )</b></li>
243
 
</ul>
 
270
<p><b>Access functions:</b></p>
 
271
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
272
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b>opaqueMoving</b> () const</td></tr>
 
273
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b>setOpaqueMoving</b> ( bool )</td></tr>
 
274
</table>
 
275
<a name="//apple_ref/cpp/instm/Q3MainWindow/rightJustification" />
 
276
<a name="//apple_ref/cpp/instm/Q3MainWindow/setRightJustification" />
244
277
<h3 class="fn"><a name="rightJustification-prop"></a>rightJustification : bool</h3>
245
278
<p>This property holds whether the main window right-justifies its dock windows.</p>
246
279
<p>If disabled (the default), stretchable dock windows are expanded, and non-stretchable dock windows are given the minimum space they need. Since most dock windows are not stretchable, this usually results in an unjustified right edge (or unjustified bottom edge for a vertical dock area). If enabled, the main window will right-justify its dock windows.</p>
247
 
<p>Access functions:</p>
248
 
<ul>
249
 
<li><div class="fn"></div><b>bool rightJustification () const</b></li>
250
 
<li><div class="fn"></div><b>virtual void setRightJustification ( bool )</b></li>
251
 
</ul>
 
280
<p><b>Access functions:</b></p>
 
281
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
282
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b>rightJustification</b> () const</td></tr>
 
283
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b>setRightJustification</b> ( bool )</td></tr>
 
284
</table>
252
285
<p>See also <a href="q3dockwindow.html#setVerticalStretchable">Q3DockWindow::setVerticalStretchable</a>() and <a href="q3dockwindow.html#setHorizontalStretchable">Q3DockWindow::setHorizontalStretchable</a>().</p>
 
286
<a name="//apple_ref/cpp/instm/Q3MainWindow/usesBigPixmaps" />
 
287
<a name="//apple_ref/cpp/instm/Q3MainWindow/setUsesBigPixmaps" />
253
288
<h3 class="fn"><a name="usesBigPixmaps-prop"></a>usesBigPixmaps : bool</h3>
254
289
<p>This property holds whether big pixmaps are enabled.</p>
255
290
<p>If false (the default), the tool buttons will use small pixmaps; otherwise big pixmaps will be used.</p>
256
291
<p>Tool buttons and other widgets that wish to respond to this setting are responsible for reading the correct state on startup, and for connecting to the main window's widget's <a href="q3mainwindow.html#pixmapSizeChanged">pixmapSizeChanged</a>() signal.</p>
257
 
<p>Access functions:</p>
258
 
<ul>
259
 
<li><div class="fn"></div><b>bool usesBigPixmaps () const</b></li>
260
 
<li><div class="fn"></div><b>virtual void setUsesBigPixmaps ( bool )</b></li>
261
 
</ul>
 
292
<p><b>Access functions:</b></p>
 
293
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
294
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b>usesBigPixmaps</b> () const</td></tr>
 
295
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b>setUsesBigPixmaps</b> ( bool )</td></tr>
 
296
</table>
 
297
<a name="//apple_ref/cpp/instm/Q3MainWindow/usesTextLabel" />
 
298
<a name="//apple_ref/cpp/instm/Q3MainWindow/setUsesTextLabel" />
262
299
<h3 class="fn"><a name="usesTextLabel-prop"></a>usesTextLabel : bool</h3>
263
300
<p>This property holds whether text labels for toolbar buttons are enabled.</p>
264
301
<p>If disabled (the default), the tool buttons will not use text labels. If enabled, text labels will be used.</p>
265
302
<p>Tool buttons and other widgets that wish to respond to this setting are responsible for reading the correct state on startup, and for connecting to the main window's widget's <a href="q3mainwindow.html#usesTextLabelChanged">usesTextLabelChanged</a>() signal.</p>
266
 
<p>Access functions:</p>
267
 
<ul>
268
 
<li><div class="fn"></div><b>bool usesTextLabel () const</b></li>
269
 
<li><div class="fn"></div><b>virtual void setUsesTextLabel ( bool )</b></li>
270
 
</ul>
271
 
<p>See also <a href="qtoolbutton-qt3.html#setUsesTextLabel">QToolButton::setUsesTextLabel</a>().</p>
 
303
<p><b>Access functions:</b></p>
 
304
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
305
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b>usesTextLabel</b> () const</td></tr>
 
306
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b>setUsesTextLabel</b> ( bool )</td></tr>
 
307
</table>
 
308
<p>See also <a href="qtoolbutton-qt3.html#setUsesTextLabel" class="compat">QToolButton::setUsesTextLabel</a>().</p>
272
309
<hr />
273
310
<h2>Member Function Documentation</h2>
 
311
<a name="//apple_ref/cpp/instm/Q3MainWindow/Q3MainWindow" />
274
312
<h3 class="fn"><a name="Q3MainWindow"></a>Q3MainWindow::Q3MainWindow ( <a href="qwidget.html">QWidget</a> * <i>parent</i> = 0, const char * <i>name</i> = 0, <a href="qt.html#WindowType-enum">Qt::WindowFlags</a> <i>f</i> = Qt::WType_TopLevel )</h3>
275
313
<p>Constructs an empty main window. The <i>parent</i>, <i>name</i> and widget flags <i>f</i>, are passed on to the <a href="qwidget.html">QWidget</a> constructor.</p>
276
 
<p>By default, the widget flags are set to <a href="qt.html#WindowType-enum">Qt::WType_TopLevel</a> rather than 0 as they are with <a href="qwidget.html">QWidget</a>. If you don't want your <a href="q3mainwindow.html">Q3MainWindow</a> to be a top level widget then you will need to set <i>f</i> to 0.</p>
 
314
<p>By default, the widget flags are set to <a href="qt.html#WindowType-enum">Qt::WType_TopLevel</a> rather than 0 as they are with <a href="qwidget.html">QWidget</a>. If you don't want your <a href="q3mainwindow.html" class="compat">Q3MainWindow</a> to be a top level widget then you will need to set <i>f</i> to 0.</p>
 
315
<a name="//apple_ref/cpp/instm/Q3MainWindow/~Q3MainWindow" />
277
316
<h3 class="fn"><a name="dtor.Q3MainWindow"></a>Q3MainWindow::~Q3MainWindow ()</h3>
278
317
<p>Destroys the object and frees any allocated resources.</p>
 
318
<a name="//apple_ref/cpp/instm/Q3MainWindow/addDockWindow" />
279
319
<h3 class="fn"><a name="addDockWindow"></a>void Q3MainWindow::addDockWindow ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dockWindow</i>, <a href="qt-qt3.html#Dock-enum">Qt::Dock</a> <i>edge</i> = Qt::DockTop, bool <i>newLine</i> = false )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
280
320
<p>Adds <i>dockWindow</i> to the <i>edge</i> dock area.</p>
281
321
<p>If <i>newLine</i> is false (the default) then the <i>dockWindow</i> is added at the end of the <i>edge</i>. For vertical edges the end is at the bottom, for horizontal edges (including <tt>Minimized</tt>) the end is at the right. If <i>newLine</i> is true a new line of dock windows is started with <i>dockWindow</i> as the first (left-most and top-most) dock window.</p>
285
325
<p>Adds <i>dockWindow</i> to the dock area with label <i>label</i>.</p>
286
326
<p>If <i>newLine</i> is false (the default) the <i>dockWindow</i> is added at the end of the <i>edge</i>. For vertical edges the end is at the bottom, for horizontal edges (including <tt>Minimized</tt>) the end is at the right. If <i>newLine</i> is true a new line of dock windows is started with <i>dockWindow</i> as the first (left-most and top-most) dock window.</p>
287
327
<p>If <i>dockWindow</i> is managed by another main window, it is first removed from that window.</p>
 
328
<a name="//apple_ref/cpp/instm/Q3MainWindow/addToolBar" />
288
329
<h3 class="fn"><a name="addToolBar"></a>void Q3MainWindow::addToolBar ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dockWindow</i>, <a href="qt-qt3.html#Dock-enum">Qt::Dock</a> <i>position</i> = Qt::DockTop, bool <i>newLine</i> = false )</h3>
289
330
<p>Adds a new toolbar to the <i>dockWindow</i>. The toolbar is placed in the given <i>position</i>. If <i>newLine</i> is true the toolbar is put on a new line.</p>
290
331
<h3 class="fn"><a name="addToolBar-2"></a>void Q3MainWindow::addToolBar ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dockWindow</i>, const <a href="qstring.html">QString</a> &amp; <i>label</i>, <a href="qt-qt3.html#Dock-enum">Qt::Dock</a> <i>position</i> = Qt::DockTop, bool <i>newLine</i> = false )</h3>
291
332
<p>This is an overloaded function.</p>
292
333
<p>The toolbar has the caption <i>label</i> and is placed in the given <i>position</i>.</p>
 
334
<a name="//apple_ref/cpp/instm/Q3MainWindow/appropriate" />
293
335
<h3 class="fn"><a name="appropriate"></a>bool Q3MainWindow::appropriate ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dw</i> ) const</h3>
294
336
<p>Returns true if it is appropriate to include a menu item for the <i>dw</i> dock window in the dock window menu; otherwise returns false.</p>
295
337
<p>The user is able to change the state (show or hide) a dock window that has a menu item by clicking the item.</p>
296
338
<p>Call <a href="q3mainwindow.html#setAppropriate">setAppropriate</a>() to indicate whether or not a particular dock window should appear on the popup menu.</p>
297
339
<p>See also <a href="q3mainwindow.html#setAppropriate">setAppropriate</a>().</p>
 
340
<a name="//apple_ref/cpp/instm/Q3MainWindow/bottomDock" />
298
341
<h3 class="fn"><a name="bottomDock"></a><a href="q3dockarea.html">Q3DockArea</a> * Q3MainWindow::bottomDock () const</h3>
299
342
<p>Returns a pointer the <tt>Bottom</tt> dock area</p>
300
343
<p>See also <a href="q3mainwindow.html#topDock">topDock</a>(), <a href="q3mainwindow.html#leftDock">leftDock</a>(), and <a href="q3mainwindow.html#rightDock">rightDock</a>().</p>
 
344
<a name="//apple_ref/cpp/instm/Q3MainWindow/centralWidget" />
301
345
<h3 class="fn"><a name="centralWidget"></a><a href="qwidget.html">QWidget</a> * Q3MainWindow::centralWidget () const</h3>
302
346
<p>Returns a pointer to the main window's central widget.</p>
303
347
<p>The central widget is surrounded by the left, top, right and bottom dock areas. The menu bar is above the top dock area.</p>
304
348
<p>See also <a href="q3mainwindow.html#setCentralWidget">setCentralWidget</a>().</p>
 
349
<a name="//apple_ref/cpp/instm/Q3MainWindow/childEvent" />
305
350
<h3 class="fn"><a name="childEvent"></a>void Q3MainWindow::childEvent ( <a href="qchildevent.html">QChildEvent</a> * <i>e</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
351
<p>Reimplemented from <a href="qobject.html#childEvent">QObject::childEvent</a>().</p>
306
352
<p>Monitors events, received in <i>e</i>, to ensure the layout is updated.</p>
307
 
<p>Reimplemented from <a href="qobject.html#childEvent">QObject</a>.</p>
 
353
<a name="//apple_ref/cpp/instm/Q3MainWindow/createDockWindowMenu" />
308
354
<h3 class="fn"><a name="createDockWindowMenu"></a><a href="q3popupmenu.html">Q3PopupMenu</a> * Q3MainWindow::createDockWindowMenu ( <a href="q3mainwindow.html#DockWindows-enum">DockWindows</a> <i>dockWindows</i> = AllDockWindows ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
309
355
<p>Creates the dock window menu which contains all toolbars (if <i>dockWindows</i> is <tt>OnlyToolBars</tt>), all dock windows (if <i>dockWindows</i> is <tt>NoToolBars</tt>) or all toolbars and dock windows (if <i>dockWindows</i> is <tt>AllDockWindows</tt> - the default).</p>
310
356
<p>This function is called internally when necessary, e.g&#x2e; when the user right clicks a dock area (providing <a href="q3mainwindow.html#isDockMenuEnabled">isDockMenuEnabled</a>() returns true). You can reimplement this function if you wish to customize the behavior.</p>
313
359
<p>Toolbars and dock windows which are not appropriate in the current context (see <a href="q3mainwindow.html#setAppropriate">setAppropriate</a>()) are not listed in the menu.</p>
314
360
<p>The menu also has a menu item for lining up the dock windows.</p>
315
361
<p>If <a href="q3mainwindow.html#isCustomizable">isCustomizable</a>() returns true, a Customize menu item is added to the menu, which if clicked will call <a href="q3mainwindow.html#customize">customize</a>(). The <a href="q3mainwindow.html#isCustomizable">isCustomizable</a>() function we provide returns false and <a href="q3mainwindow.html#customize">customize</a>() does nothing, so they must be reimplemented in a subclass to be useful.</p>
 
362
<a name="//apple_ref/cpp/instm/Q3MainWindow/customize" />
316
363
<h3 class="fn"><a name="customize"></a>void Q3MainWindow::customize ()&nbsp;&nbsp;<tt> [virtual slot]</tt></h3>
317
364
<p>This function is called when the user clicks the Customize menu item on the dock window menu.</p>
318
365
<p>The customize menu item will only appear if <a href="q3mainwindow.html#isCustomizable">isCustomizable</a>() returns true (it returns false by default).</p>
319
366
<p>The function is intended, for example, to provide the user with a means of telling the application that they wish to customize the main window, dock windows or dock areas.</p>
320
367
<p>The default implementation does nothing and the Customize menu item is not shown on the right-click menu by default. If you want the item to appear then reimplement <a href="q3mainwindow.html#isCustomizable">isCustomizable</a>() to return true, and reimplement this function to do whatever you want.</p>
321
368
<p>See also <a href="q3mainwindow.html#isCustomizable">isCustomizable</a>().</p>
 
369
<a name="//apple_ref/cpp/instm/Q3MainWindow/dockWindowPositionChanged" />
322
370
<h3 class="fn"><a name="dockWindowPositionChanged"></a>void Q3MainWindow::dockWindowPositionChanged ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dockWindow</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
323
371
<p>This signal is emitted when the <i>dockWindow</i> has changed its position. A change in position occurs when a dock window is moved within its dock area or moved to another dock area (including the <tt>Minimized</tt> and <tt>TearOff</tt> dock areas).</p>
324
372
<p>See also <a href="q3mainwindow.html#getLocation">getLocation</a>().</p>
 
373
<a name="//apple_ref/cpp/instm/Q3MainWindow/dockWindows" />
325
374
<h3 class="fn"><a name="dockWindows"></a><a href="qlist.html">QList</a>&lt;<a href="q3dockwindow.html">Q3DockWindow</a> *&gt; Q3MainWindow::dockWindows ( <a href="qt-qt3.html#Dock-enum">Qt::Dock</a> <i>dock</i> ) const</h3>
326
375
<p>Returns a list of all the dock windows which are in the <i>dock</i> dock area, regardless of their state.</p>
327
 
<p>For example, the <a href="qt-qt3.html#Dock-enum">Qt::DockTornOff</a> dock area may contain closed dock windows but these are returned along with the visible dock windows.</p>
 
376
<p>For example, the <a href="qt-qt3.html#Dock-enum" class="compat">Qt::DockTornOff</a> dock area may contain closed dock windows but these are returned along with the visible dock windows.</p>
328
377
<h3 class="fn"><a name="dockWindows-2"></a><a href="qlist.html">QList</a>&lt;<a href="q3dockwindow.html">Q3DockWindow</a> *&gt; Q3MainWindow::dockWindows () const</h3>
329
378
<p>This is an overloaded function.</p>
330
379
<p>Returns the list of dock windows which belong to this main window, regardless of which dock area they are in or what their state is, (e.g&#x2e; irrespective of whether they are visible or not).</p>
 
380
<a name="//apple_ref/cpp/instm/Q3MainWindow/event" />
 
381
<h3 class="fn"><a name="event"></a>bool Q3MainWindow::event ( <a href="qevent.html">QEvent</a> * <i>e</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
382
<p>Reimplemented from <a href="qobject.html#event">QObject::event</a>().</p>
 
383
<a name="//apple_ref/cpp/instm/Q3MainWindow/eventFilter" />
 
384
<h3 class="fn"><a name="eventFilter"></a>bool Q3MainWindow::eventFilter ( <a href="qobject.html">QObject</a> * <i>o</i>, <a href="qevent.html">QEvent</a> * <i>e</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
385
<p>Reimplemented from <a href="qobject.html#eventFilter">QObject::eventFilter</a>().</p>
 
386
<a name="//apple_ref/cpp/instm/Q3MainWindow/getLocation" />
331
387
<h3 class="fn"><a name="getLocation"></a>bool Q3MainWindow::getLocation ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dw</i>, <a href="qt-qt3.html#Dock-enum">Qt::Dock</a> &amp; <i>dock</i>, int &amp; <i>index</i>, bool &amp; <i>nl</i>, int &amp; <i>extraOffset</i> ) const</h3>
332
388
<p>Finds the location of the dock window <i>dw</i>.</p>
333
389
<p>If the <i>dw</i> dock window is found in the main window the function returns true and populates the <i>dock</i> variable with the dw's dock area and the <i>index</i> with the dw's position within the dock area. It also sets <i>nl</i> to true if the <i>dw</i> begins a new line (otherwise false), and <i>extraOffset</i> with the dock window's offset.</p>
334
390
<p>If the <i>dw</i> dock window is not found then the function returns false and the state of <i>dock</i>, <i>index</i>, <i>nl</i> and <i>extraOffset</i> is undefined.</p>
335
391
<p>If you want to save and restore dock window positions then use operator&gt;&gt;() and operator&lt;&lt;().</p>
 
392
<a name="//apple_ref/cpp/instm/Q3MainWindow/hasDockWindow" />
336
393
<h3 class="fn"><a name="hasDockWindow"></a>bool Q3MainWindow::hasDockWindow ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dw</i> )</h3>
337
394
<p>Returns true if <i>dw</i> is a dock window known to the main window; otherwise returns false.</p>
 
395
<a name="//apple_ref/cpp/instm/Q3MainWindow/isCustomizable" />
338
396
<h3 class="fn"><a name="isCustomizable"></a>bool Q3MainWindow::isCustomizable () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
339
397
<p>Returns true if the dock area dock window menu includes the Customize menu item (which calls <a href="q3mainwindow.html#customize">customize</a>() when clicked). Returns false by default, i.e&#x2e; the popup menu will not contain a Customize menu item. You will need to reimplement this function and set it to return true if you wish the user to be able to see the dock window menu.</p>
340
398
<p>See also <a href="q3mainwindow.html#customize">customize</a>().</p>
 
399
<a name="//apple_ref/cpp/instm/Q3MainWindow/isDockEnabled" />
341
400
<h3 class="fn"><a name="isDockEnabled"></a>bool Q3MainWindow::isDockEnabled ( <a href="qt-qt3.html#Dock-enum">Qt::Dock</a> <i>dock</i> ) const</h3>
342
401
<p>Returns true if the <i>dock</i> dock area is enabled, i.e&#x2e; it can accept user dragged dock windows; otherwise returns false.</p>
343
402
<p>See also <a href="q3mainwindow.html#setDockEnabled">setDockEnabled</a>().</p>
353
412
<p>This is an overloaded function.</p>
354
413
<p>Returns true if dock area <i>dock</i> is enabled for the dock window <i>tb</i>; otherwise returns false.</p>
355
414
<p>See also <a href="q3mainwindow.html#setDockEnabled">setDockEnabled</a>().</p>
 
415
<a name="//apple_ref/cpp/instm/Q3MainWindow/isDockMenuEnabled" />
356
416
<h3 class="fn"><a name="isDockMenuEnabled"></a>bool Q3MainWindow::isDockMenuEnabled () const</h3>
357
417
<p>Returns true, if the dock window menu is enabled; otherwise returns false.</p>
358
418
<p>The menu lists the (<a href="q3mainwindow.html#appropriate">appropriate</a>()) dock windows (which may be shown or hidden), and has a &quot;Line Up Dock Windows&quot; menu item. It will also have a &quot;Customize&quot; menu item if <a href="q3mainwindow.html#isCustomizable">isCustomizable</a>() returns true.</p>
359
419
<p><a href="q3mainwindow.html#setAppropriate">setAppropriate</a>()</p>
360
420
<p>See also <a href="q3mainwindow.html#setDockEnabled">setDockEnabled</a>(), <a href="q3mainwindow.html#lineUpDockWindows">lineUpDockWindows</a>(), and <a href="q3mainwindow.html#appropriate">appropriate</a>().</p>
 
421
<a name="//apple_ref/cpp/instm/Q3MainWindow/leftDock" />
361
422
<h3 class="fn"><a name="leftDock"></a><a href="q3dockarea.html">Q3DockArea</a> * Q3MainWindow::leftDock () const</h3>
362
423
<p>Returns the <tt>Left</tt> dock area</p>
363
424
<p>See also <a href="q3mainwindow.html#rightDock">rightDock</a>(), <a href="q3mainwindow.html#topDock">topDock</a>(), and <a href="q3mainwindow.html#bottomDock">bottomDock</a>().</p>
 
425
<a name="//apple_ref/cpp/instm/Q3MainWindow/lineUpDockWindows" />
364
426
<h3 class="fn"><a name="lineUpDockWindows"></a>void Q3MainWindow::lineUpDockWindows ( bool <i>keepNewLines</i> = false )</h3>
365
427
<p>This function will line up dock windows within the visible dock areas (<tt>Top</tt>, <tt>Left</tt>, <tt>Right</tt> and <tt>Bottom</tt>) as compactly as possible.</p>
366
428
<p>If <i>keepNewLines</i> is true, all dock windows stay on their original lines. If <i>keepNewLines</i> is false then newlines may be removed to achieve the most compact layout possible.</p>
367
429
<p>The method only works if <a href="q3mainwindow.html#dockWindowsMovable-prop">dockWindowsMovable</a>() returns true.</p>
 
430
<a name="//apple_ref/cpp/instm/Q3MainWindow/lineUpToolBars" />
368
431
<h3 class="fn"><a name="lineUpToolBars"></a>void Q3MainWindow::lineUpToolBars ( bool <i>keepNewLines</i> = false )</h3>
369
432
<p>Lines up the toolbars. Line breaks are preserved if <i>keepNewLines</i> is true.</p>
 
433
<a name="//apple_ref/cpp/instm/Q3MainWindow/menuAboutToShow" />
370
434
<h3 class="fn"><a name="menuAboutToShow"></a>void Q3MainWindow::menuAboutToShow ()&nbsp;&nbsp;<tt> [protected slot]</tt></h3>
371
435
<p>This slot is called from the aboutToShow() signal of the default dock menu of the mainwindow. The default implementation initializes the menu with all dock windows and toolbars in this slot.</p>
 
436
<a name="//apple_ref/cpp/instm/Q3MainWindow/menuBar" />
372
437
<h3 class="fn"><a name="menuBar"></a><a href="qmenubar.html">QMenuBar</a> * Q3MainWindow::menuBar () const</h3>
373
438
<p>Returns the menu bar for this window.</p>
374
439
<p>If there isn't one, then menuBar() creates an empty menu bar.</p>
375
440
<p>See also <a href="q3mainwindow.html#statusBar">statusBar</a>().</p>
 
441
<a name="//apple_ref/cpp/instm/Q3MainWindow/minimumSizeHint" />
 
442
<h3 class="fn"><a name="minimumSizeHint"></a><a href="qsize.html">QSize</a> Q3MainWindow::minimumSizeHint () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
443
<p>Reimplemented from <a href="qwidget.html#minimumSizeHint-prop">QWidget::minimumSizeHint</a>().</p>
 
444
<a name="//apple_ref/cpp/instm/Q3MainWindow/moveDockWindow" />
376
445
<h3 class="fn"><a name="moveDockWindow"></a>void Q3MainWindow::moveDockWindow ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dockWindow</i>, <a href="qt-qt3.html#Dock-enum">Qt::Dock</a> <i>edge</i> = Qt::DockTop )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
377
446
<p>Moves <i>dockWindow</i> to the end of the <i>edge</i>.</p>
378
447
<p>For vertical edges the end is at the bottom, for horizontal edges (including <tt>Minimized</tt>) the end is at the right.</p>
384
453
<p>If <i>nl</i> is true, a new dock window line is created below the line in which the moved dock window appears and the moved dock window, with any others with higher positions on the same line, is moved to this new line.</p>
385
454
<p>The <i>extraOffset</i> is the space to put between the left side of the dock area (top side for vertical dock areas) and the dock window. (This is mostly used for restoring dock windows to the positions the user has dragged them to.)</p>
386
455
<p>If <i>dockWindow</i> is managed by another main window, it is first removed from that window.</p>
 
456
<a name="//apple_ref/cpp/instm/Q3MainWindow/moveToolBar" />
387
457
<h3 class="fn"><a name="moveToolBar"></a>void Q3MainWindow::moveToolBar ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dockWindow</i>, <a href="qt-qt3.html#Dock-enum">Qt::Dock</a> <i>position</i> = Qt::DockTop )</h3>
388
458
<p>Moves the given <i>dockWindow</i> into the given <i>position</i>.</p>
389
459
<h3 class="fn"><a name="moveToolBar-2"></a>void Q3MainWindow::moveToolBar ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dockWindow</i>, <a href="qt-qt3.html#Dock-enum">Qt::Dock</a> <i>position</i>, bool <i>nl</i>, int <i>index</i>, int <i>extraOffset</i> = -1 )</h3>
390
460
<p>This is an overloaded function.</p>
391
461
<p>The <i>dockWindow</i> is made the <i>index</i>-th item in the toolbar, moved over by <i>extraOffset</i>. If <i>nl</i> is true, the dock window is put on a new line.</p>
 
462
<a name="//apple_ref/cpp/instm/Q3MainWindow/paintEvent" />
 
463
<h3 class="fn"><a name="paintEvent"></a>void Q3MainWindow::paintEvent ( <a href="qpaintevent.html">QPaintEvent</a> * )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
464
<p>Reimplemented from <a href="qwidget.html#paintEvent">QWidget::paintEvent</a>().</p>
 
465
<a name="//apple_ref/cpp/instm/Q3MainWindow/pixmapSizeChanged" />
392
466
<h3 class="fn"><a name="pixmapSizeChanged"></a>void Q3MainWindow::pixmapSizeChanged ( bool <i>b</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
393
467
<p>This signal is emitted whenever the <a href="q3mainwindow.html#usesBigPixmaps-prop">setUsesBigPixmaps</a>() is called with a value different to the current setting. The new value is passed in <i>b</i>. All widgets that should respond to such changes, e.g&#x2e; toolbar buttons, must connect to this signal.</p>
 
468
<a name="//apple_ref/cpp/instm/Q3MainWindow/removeDockWindow" />
394
469
<h3 class="fn"><a name="removeDockWindow"></a>void Q3MainWindow::removeDockWindow ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dockWindow</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
395
470
<p>Removes <i>dockWindow</i> from the main window's docking area, provided <i>dockWindow</i> is non-null and managed by this main window.</p>
 
471
<a name="//apple_ref/cpp/instm/Q3MainWindow/removeToolBar" />
396
472
<h3 class="fn"><a name="removeToolBar"></a>void Q3MainWindow::removeToolBar ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dockWindow</i> )</h3>
397
473
<p>Removes the toolbar from the given <i>dockWindow</i>.</p>
 
474
<a name="//apple_ref/cpp/instm/Q3MainWindow/rightDock" />
398
475
<h3 class="fn"><a name="rightDock"></a><a href="q3dockarea.html">Q3DockArea</a> * Q3MainWindow::rightDock () const</h3>
399
476
<p>Returns the <tt>Right</tt> dock area</p>
400
477
<p>See also <a href="q3mainwindow.html#leftDock">leftDock</a>(), <a href="q3mainwindow.html#topDock">topDock</a>(), and <a href="q3mainwindow.html#bottomDock">bottomDock</a>().</p>
 
478
<a name="//apple_ref/cpp/instm/Q3MainWindow/setAppropriate" />
401
479
<h3 class="fn"><a name="setAppropriate"></a>void Q3MainWindow::setAppropriate ( <a href="q3dockwindow.html">Q3DockWindow</a> * <i>dw</i>, bool <i>a</i> )&nbsp;&nbsp;<tt> [virtual slot]</tt></h3>
402
480
<p>Use this function to control whether or not the <i>dw</i> dock window's caption should appear as a menu item on the dock window menu that lists the dock windows.</p>
403
481
<p>If <i>a</i> is true then the <i>dw</i> will appear as a menu item on the dock window menu. The user is able to change the state (show or hide) a dock window that has a menu item by clicking the item; depending on the state of your application, this may or may not be appropriate. If <i>a</i> is false the <i>dw</i> will not appear on the popup menu.</p>
404
482
<p>See also <a href="q3mainwindow.html#appropriate">appropriate</a>(), <a href="q3mainwindow.html#showDockMenu">showDockMenu</a>(), <a href="q3mainwindow.html#isCustomizable">isCustomizable</a>(), and <a href="q3mainwindow.html#customize">customize</a>().</p>
 
483
<a name="//apple_ref/cpp/instm/Q3MainWindow/setCentralWidget" />
405
484
<h3 class="fn"><a name="setCentralWidget"></a>void Q3MainWindow::setCentralWidget ( <a href="qwidget.html">QWidget</a> * <i>w</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
406
485
<p>Sets the central widget for this main window to <i>w</i>.</p>
407
486
<p>The central widget is surrounded by the left, top, right and bottom dock areas. The menu bar is above the top dock area.</p>
408
487
<p>See also <a href="q3mainwindow.html#centralWidget">centralWidget</a>().</p>
 
488
<a name="//apple_ref/cpp/instm/Q3MainWindow/setDockEnabled" />
409
489
<h3 class="fn"><a name="setDockEnabled"></a>void Q3MainWindow::setDockEnabled ( <a href="qt-qt3.html#Dock-enum">Qt::Dock</a> <i>dock</i>, bool <i>enable</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
410
490
<p>If <i>enable</i> is true then users can dock windows in the <i>dock</i> area. If <i>enable</i> is false users cannot dock windows in the <i>dock</i> dock area.</p>
411
491
<p>Users can dock (drag) dock windows into any enabled dock area.</p>
414
494
<p>This is an overloaded function.</p>
415
495
<p>If <i>enable</i> is true then users can dock the <i>dw</i> dock window in the <i>dock</i> area. If <i>enable</i> is false users cannot dock the <i>dw</i> dock window in the <i>dock</i> area.</p>
416
496
<p>In general users can dock (drag) dock windows into any enabled dock area. Using this function particular dock areas can be enabled (or disabled) as docking points for particular dock windows.</p>
 
497
<a name="//apple_ref/cpp/instm/Q3MainWindow/setDockMenuEnabled" />
417
498
<h3 class="fn"><a name="setDockMenuEnabled"></a>void Q3MainWindow::setDockMenuEnabled ( bool <i>b</i> )&nbsp;&nbsp;<tt> [virtual slot]</tt></h3>
418
499
<p>If <i>b</i> is true, then right clicking on a dock window or dock area will pop up the dock window menu. If <i>b</i> is false, right clicking a dock window or dock area will not pop up the menu.</p>
419
500
<p>The menu lists the (<a href="q3mainwindow.html#appropriate">appropriate</a>()) dock windows (which may be shown or hidden), and has a &quot;Line Up Dock Windows&quot; item. It will also have a &quot;Customize&quot; menu item if <a href="q3mainwindow.html#isCustomizable">isCustomizable</a>() returns true.</p>
420
501
<p>See also <a href="q3mainwindow.html#lineUpDockWindows">lineUpDockWindows</a>() and <a href="q3mainwindow.html#isDockMenuEnabled">isDockMenuEnabled</a>().</p>
 
502
<a name="//apple_ref/cpp/instm/Q3MainWindow/setToolBarsMovable" />
421
503
<h3 class="fn"><a name="setToolBarsMovable"></a>void Q3MainWindow::setToolBarsMovable ( bool <i>b</i> )&nbsp;&nbsp;<tt> [slot]</tt></h3>
422
504
<p>If <i>b</i> is true the tool bars can be moved.</p>
423
505
<p>See also <a href="q3mainwindow.html#toolBarsMovable">toolBarsMovable</a>().</p>
 
506
<a name="//apple_ref/cpp/instm/Q3MainWindow/setUpLayout" />
424
507
<h3 class="fn"><a name="setUpLayout"></a>void Q3MainWindow::setUpLayout ()&nbsp;&nbsp;<tt> [virtual protected slot]</tt></h3>
425
508
<p>Sets up the geometry management of the window. It is called automatically when needed, so you shouldn't need to call it.</p>
 
509
<a name="//apple_ref/cpp/instm/Q3MainWindow/setVisible" />
 
510
<h3 class="fn"><a name="setVisible"></a>void Q3MainWindow::setVisible ( bool <i>visible</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
511
<p>Reimplemented from <a href="qwidget.html#visible-prop">QWidget::setVisible</a>().</p>
 
512
<a name="//apple_ref/cpp/instm/Q3MainWindow/showDockMenu" />
426
513
<h3 class="fn"><a name="showDockMenu"></a>bool Q3MainWindow::showDockMenu ( const <a href="qpoint.html">QPoint</a> &amp; <i>globalPos</i> )&nbsp;&nbsp;<tt> [virtual protected slot]</tt></h3>
427
514
<p>Shows the dock menu at the position <i>globalPos</i>. The menu lists the dock windows so that they can be shown (or hidden), lined up, and possibly customized. Returns true if the menu is shown; otherwise returns false.</p>
428
515
<p>If you want a custom menu, reimplement this function. You can create the menu from scratch or call <a href="q3mainwindow.html#createDockWindowMenu">createDockWindowMenu</a>() and modify the result.</p>
429
516
<p>The default implementation uses the dock window menu which gets created by <a href="q3mainwindow.html#createDockWindowMenu">createDockWindowMenu</a>(). You can reimplement <a href="q3mainwindow.html#createDockWindowMenu">createDockWindowMenu</a>() if you want to use your own specialized popup menu.</p>
 
517
<a name="//apple_ref/cpp/instm/Q3MainWindow/sizeHint" />
 
518
<h3 class="fn"><a name="sizeHint"></a><a href="qsize.html">QSize</a> Q3MainWindow::sizeHint () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
519
<p>Reimplemented from <a href="qwidget.html#sizeHint-prop">QWidget::sizeHint</a>().</p>
 
520
<a name="//apple_ref/cpp/instm/Q3MainWindow/statusBar" />
430
521
<h3 class="fn"><a name="statusBar"></a><a href="qstatusbar.html">QStatusBar</a> * Q3MainWindow::statusBar () const</h3>
431
522
<p>Returns this main window's status bar. If there isn't one, statusBar() creates an empty status bar, and if necessary a tool tip group too.</p>
432
523
<p>See also <a href="q3mainwindow.html#menuBar">menuBar</a>().</p>
 
524
<a name="//apple_ref/cpp/instm/Q3MainWindow/toolBarPositionChanged" />
433
525
<h3 class="fn"><a name="toolBarPositionChanged"></a>void Q3MainWindow::toolBarPositionChanged ( <a href="q3toolbar.html">Q3ToolBar</a> * <i>toolbar</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
434
526
<p>This signal is emitted when a <i>toolbar</i> is moved.</p>
 
527
<a name="//apple_ref/cpp/instm/Q3MainWindow/toolBars" />
435
528
<h3 class="fn"><a name="toolBars"></a><a href="qlist.html">QList</a>&lt;<a href="q3toolbar.html">Q3ToolBar</a> *&gt; Q3MainWindow::toolBars ( <a href="qt-qt3.html#Dock-enum">Qt::Dock</a> <i>dock</i> ) const</h3>
436
529
<p>Returns a list of all the toolbars which are in the <i>dock</i> dock area, regardless of their state.</p>
437
530
<p>For example, the <tt>TornOff</tt> dock area may contain closed toolbars but these are returned along with the visible toolbars.</p>
438
531
<p>See also <a href="q3mainwindow.html#dockWindows">dockWindows</a>().</p>
 
532
<a name="//apple_ref/cpp/instm/Q3MainWindow/toolBarsMovable" />
439
533
<h3 class="fn"><a name="toolBarsMovable"></a>bool Q3MainWindow::toolBarsMovable () const</h3>
440
534
<p>Returns true if the window allows its toolbars to be moved; otherwise returns false.</p>
441
535
<p>See also <a href="q3mainwindow.html#setToolBarsMovable">setToolBarsMovable</a>().</p>
 
536
<a name="//apple_ref/cpp/instm/Q3MainWindow/topDock" />
442
537
<h3 class="fn"><a name="topDock"></a><a href="q3dockarea.html">Q3DockArea</a> * Q3MainWindow::topDock () const</h3>
443
538
<p>Returns the <tt>Top</tt> dock area</p>
444
539
<p>See also <a href="q3mainwindow.html#bottomDock">bottomDock</a>(), <a href="q3mainwindow.html#leftDock">leftDock</a>(), and <a href="q3mainwindow.html#rightDock">rightDock</a>().</p>
 
540
<a name="//apple_ref/cpp/instm/Q3MainWindow/usesTextLabelChanged" />
445
541
<h3 class="fn"><a name="usesTextLabelChanged"></a>void Q3MainWindow::usesTextLabelChanged ( bool <i>b</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
446
542
<p>This signal is emitted whenever the <a href="q3mainwindow.html#usesTextLabel-prop">setUsesTextLabel</a>() is called with a value different to the current setting. The new value is passed in <i>b</i>. All widgets that should respond to such changes, e.g&#x2e; toolbar buttons, must connect to this signal.</p>
 
543
<a name="//apple_ref/cpp/instm/Q3MainWindow/whatsThis" />
447
544
<h3 class="fn"><a name="whatsThis"></a>void Q3MainWindow::whatsThis ()&nbsp;&nbsp;<tt> [virtual slot]</tt></h3>
448
545
<p>Enters 'What's This?' mode and returns immediately.</p>
449
546
<p>This is the same as <a href="qwhatsthis.html#enterWhatsThisMode">QWhatsThis::enterWhatsThisMode</a>(), but implemented as a main window object's slot. This way it can easily be used for popup menus, for example:</p>
452
549
<p>See also <a href="q3whatsthis.html#enterWhatsThisMode">Q3WhatsThis::enterWhatsThisMode</a>().</p>
453
550
<hr />
454
551
<h2>Related Non-Members</h2>
455
 
<h3 class="fn"><a name="operator-lt-lt-15"></a><a href="qtextstream.html">QTextStream</a> &amp; operator&lt;&lt; ( <a href="qtextstream.html">QTextStream</a> &amp; <i>ts</i>, const Q3MainWindow &amp; <i>mainWindow</i> )</h3>
456
 
<p>Writes the layout (sizes and positions) of the dock windows in the dock areas of the <a href="q3mainwindow.html">Q3MainWindow</a> <i>mainWindow</i>, including <tt>Minimized</tt> and <tt>TornOff</tt> dock windows, to the text stream <i>ts</i>.</p>
 
552
<h3 class="fn"><a name="operator-lt-lt-77"></a><a href="qtextstream.html">QTextStream</a> &amp; operator&lt;&lt; ( <a href="qtextstream.html">QTextStream</a> &amp; <i>ts</i>, const Q3MainWindow &amp; <i>mainWindow</i> )</h3>
 
553
<p>Writes the layout (sizes and positions) of the dock windows in the dock areas of the <a href="q3mainwindow.html" class="compat">Q3MainWindow</a> <i>mainWindow</i>, including <tt>Minimized</tt> and <tt>TornOff</tt> dock windows, to the text stream <i>ts</i>.</p>
457
554
<p>This can be used, for example, in conjunction with <a href="qsettings.html">QSettings</a> to save the user's layout when the <i>mainWindow</i> receives a close event.</p>
458
555
<p>See also <a href="qwidget.html#closeEvent">QWidget::closeEvent</a>().</p>
459
 
<h3 class="fn"><a name="operator-gt-gt-8"></a><a href="qtextstream.html">QTextStream</a> &amp; operator&gt;&gt; ( <a href="qtextstream.html">QTextStream</a> &amp; <i>ts</i>, Q3MainWindow &amp; <i>mainWindow</i> )</h3>
460
 
<p>Reads the layout (sizes and positions) of the dock windows in the dock areas of the <a href="q3mainwindow.html">Q3MainWindow</a> <i>mainWindow</i> from the text stream, <i>ts</i>, including <tt>Minimized</tt> and <tt>TornOff</tt> dock windows. Restores the dock windows and dock areas to these sizes and positions. The layout information must be in the format produced by operator&lt;&lt;().</p>
 
556
<h3 class="fn"><a name="operator-gt-gt-42"></a><a href="qtextstream.html">QTextStream</a> &amp; operator&gt;&gt; ( <a href="qtextstream.html">QTextStream</a> &amp; <i>ts</i>, Q3MainWindow &amp; <i>mainWindow</i> )</h3>
 
557
<p>Reads the layout (sizes and positions) of the dock windows in the dock areas of the <a href="q3mainwindow.html" class="compat">Q3MainWindow</a> <i>mainWindow</i> from the text stream, <i>ts</i>, including <tt>Minimized</tt> and <tt>TornOff</tt> dock windows. Restores the dock windows and dock areas to these sizes and positions. The layout information must be in the format produced by operator&lt;&lt;().</p>
461
558
<p>This can be used, for example, in conjunction with <a href="qsettings.html">QSettings</a> to restore the user's layout.</p>
462
559
<p /><address><hr /><div align="center">
463
560
<table width="100%" cellspacing="0" border="0"><tr class="address">
464
 
<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
465
 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
466
 
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
467
 
</tr></table></div></address></body>
 
561
<td width="40%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
 
562
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
563
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
 
564
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>
468
565
</html>