Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 3523

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>HippoDraw Class Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="hippoApp.ico">
</head><body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacehippodraw.html">hippodraw</a>::<a class="el" href="classhippodraw_1_1WindowController.html">WindowController</a>
  </div>
</div>
<div class="contents">
<h1>WindowController Class Reference</h1><!-- doxytag: class="hippodraw::WindowController" -->
<p>A singleton class for keeping track the window components of HippoDraw.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="WindowController_8h_source.html">WindowController.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for WindowController:</div>
<div class="dynsection">
<div class="center"><img src="classhippodraw_1_1WindowController__coll__graph.gif" border="0" usemap="#WindowController_coll__map" alt="Collaboration graph"/></div>
<map name="WindowController_coll__map" id="WindowController_coll__map">
<area shape="rect" id="node2" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qassistantclient.html" title="QAssistantClient" alt="" coords="1748,1076,1868,1105"/><area shape="rect" id="node7" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool..." alt="" coords="1355,1193,1469,1223"/><area shape="rect" id="node75" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer." alt="" coords="1771,2097,1845,2127"/><area shape="rect" id="node9" href="classCanvasWindowBase.html" title="The base class for the CanvasWindow class." alt="" coords="952,547,1096,576"/><area shape="rect" id="node11" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qmainwindow.html" title="QMainWindow" alt="" coords="567,360,673,389"/><area shape="rect" id="node13" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qactiongroup.html" title="QActionGroup" alt="" coords="568,488,672,517"/><area shape="rect" id="node15" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qmenubar.html" title="QMenuBar" alt="" coords="579,413,661,443"/><area shape="rect" id="node17" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpopupmenu.html" title="QPopupMenu" alt="" coords="569,605,671,635"/><area shape="rect" id="node19" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpixmap.html" title="QPixmap" alt="" coords="583,113,657,143"/><area shape="rect" id="node27" href="classPlotTableBase.html" title="The base class for the PlotTable class." alt="" coords="1136,64,1243,93"/><area shape="rect" id="node77" href="classInspectorBase.html" title="The base class for the Inspector class." alt="" coords="1359,1988,1465,2017"/><area shape="rect" id="node21" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qaction.html" title="QAction" alt="" coords="585,827,655,856"/><area shape="rect" id="node23" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qtoolbar.html" title="QToolBar" alt="" coords="581,919,659,948"/><area shape="rect" id="node25" href="classhippodraw_1_1PlotTable.html" title="A derived class of PlotTableBase class which is generated by the Qt designer." alt="" coords="2485,1417,2563,1447"/><area shape="rect" id="node30" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qwidget.html" title="QWidget" alt="" coords="988,1756,1060,1785"/><area shape="rect" id="node36" href="classhippodraw_1_1CanvasView.html" title="This class implements additional FigureEditor functionality particular to QtView..." alt="" coords="2136,1587,2232,1616"/><area shape="rect" id="node87" href="classhippodraw_1_1PlotterBase.html" title="The base class for the PlotterBase hierarchy." alt="" coords="979,2385,1069,2415"/><area shape="rect" id="node95" href="classhippodraw_1_1Range.html" title="Expresses a range of values." alt="" coords="1160,2199,1219,2228"/><area shape="rect" id="node45" href="classhippodraw_1_1XmlController.html" title="A base class that is the interface between GUI and the XML serialization and deserialization..." alt="" coords="973,1269,1075,1299"/><area shape="rect" id="node41" title="STL class." alt="" coords="268,1328,321,1357"/><area shape="rect" id="node58" href="classhippodraw_1_1ViewBaseXML.html" title="A class XML creation and parsing of XmlElement for ViewBase class." alt="" coords="567,1296,673,1325"/><area shape="rect" id="node63" href="classhippodraw_1_1HiNTupleXML.html" title="A singleton class that is does XML serialization and deserialization of derived classes..." alt="" coords="568,1349,672,1379"/><area shape="rect" id="node130" href="classhippodraw_1_1QtFileDialog.html" title="A class to handle various file types." alt="" coords="808,1005,901,1035"/><area shape="rect" id="node43" title="STL class." alt="" coords="5,1328,147,1357"/><area shape="rect" id="node47" href="classhippodraw_1_1XmlElement.html" title="A pure virtual base class of XML element wrapper." alt="" coords="248,1132,341,1161"/><area shape="rect" id="node54" title="STL class." alt="" coords="260,264,329,293"/><area shape="rect" id="node61" href="classhippodraw_1_1XmlDocument.html" title="An abstract base class of XML document element wrapper." alt="" coords="568,1403,672,1432"/><area shape="rect" id="node79" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qvboxlayout.html" title="QVBoxLayout" alt="" coords="973,2151,1075,2180"/><area shape="rect" id="node100" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qstring.html" title="QString" alt="" coords="991,1556,1057,1585"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classhippodraw_1_1WindowController-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a78f17a8a1379a9eaf3904b1d7af78a9a">aboutToClose</a> (<a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *window)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes the <em>window</em> from the window list.  <a href="#a78f17a8a1379a9eaf3904b1d7af78a9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a3326d07fdde5a9efdfbafb9adb625a51">closeAllWindows</a> (bool alsoDelete)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Closes all Windows.  <a href="#a3326d07fdde5a9efdfbafb9adb625a51"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a4245b54076200ff4045a5e846b063e00">createInspector</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a> object and positions it on the desktop.  <a href="#a4245b54076200ff4045a5e846b063e00"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a91e284b4bfadae60b179c530bbc48553">currentCanvas</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to the current <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a>.  <a href="#a91e284b4bfadae60b179c530bbc48553"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhippodraw_1_1Inspector.html">Inspector</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a2e66f427a2e5cb2145e2724eafc0ba9e">getInspector</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a>.  <a href="#a2e66f427a2e5cb2145e2724eafc0ba9e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a4a950ec1c96310155284e28acd343a87">hasBeenHidden</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Responds to hide event from a document window.  <a href="#a4a950ec1c96310155284e28acd343a87"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#ac3b10550aadda3b0bbe746fb593c68cf">newWindow</a> (<a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Registers the new <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> and finishes its initialization.  <a href="#ac3b10550aadda3b0bbe746fb593c68cf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#aaae8b3d346cf13a072ebac7ca71a31fb">okToQuit</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queries application if it is OK to quit.  <a href="#aaae8b3d346cf13a072ebac7ca71a31fb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#ac8808158e7b9de84fdd73333b1212eeb">openAssistant</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Opens the QAssistant object.  <a href="#ac8808158e7b9de84fdd73333b1212eeb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a6f57d72ac094f396b3a63ec174e31451">quitOnLastWindowClose</a> (bool yes=true)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the flag that determines if the application will be terminated when the last window is closed.  <a href="#a6f57d72ac094f396b3a63ec174e31451"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#ad411266e661c1bd0030273f78c39b726">setCurrentCanvas</a> (<a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *canvas)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the current canvas.  <a href="#ad411266e661c1bd0030273f78c39b726"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a509d79a419569049ae234b1f98aa595c">setFirstWindow</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets up the first <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> object.  <a href="#a509d79a419569049ae234b1f98aa595c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a51e344a53e0b9a1a7b1c20b9b2f0868e">unHide</a> (<a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *window)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Responds to document window being shown.  <a href="#a51e344a53e0b9a1a7b1c20b9b2f0868e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a1aeea95493e6f5d814b9ae40575fac52">updateActions</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Update the actions in all <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> objects.  <a href="#a1aeea95493e6f5d814b9ae40575fac52"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a03646aacb0a0c37cba14fb93b1c416da">WindowController</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Private Constructor.  <a href="#a03646aacb0a0c37cba14fb93b1c416da"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a08d11df45d3e030f3a08af987bdecb1b">~WindowController</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The destructor.  <a href="#a08d11df45d3e030f3a08af987bdecb1b"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classhippodraw_1_1WindowController.html">WindowController</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a1d915480a9fc96b6ea18836b113f16ef">instance</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the application instance.  <a href="#a1d915480a9fc96b6ea18836b113f16ef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const std::string &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a055f88cdee9d1819882e4decda21ad17">version</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the version number of HippoDraw.  <a href="#a055f88cdee9d1819882e4decda21ad17"></a><br/></td></tr>
<tr><td colspan="2"><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a98a6ed123dc8a028400fb0e2059f845d">getScreenRect</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a rectangle of the screen.  <a href="#a98a6ed123dc8a028400fb0e2059f845d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a1f3b7322a826064735784b595a9870d7">moveInspector</a> (<a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *window)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Move the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a> next to the edge of the Window.  <a href="#a1f3b7322a826064735784b595a9870d7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a14ad4225765cdf37513c7c55cb26b03d">positionCanvas</a> (<a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *window)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Positions and sets the size of the window taking into account the size of the screen.  <a href="#a14ad4225765cdf37513c7c55cb26b03d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a0f880aecfc60b18c9b2da52ab755ee9c">positionInspector</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Positions the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a> as far right as possible based on size of screen and width of <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a>.  <a href="#a0f880aecfc60b18c9b2da52ab755ee9c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a1db331b6240a99b81da289530db515cc">resizeCanvas</a> (<a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *window)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resizes the <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> so that it doesn't overlap with the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a> window.  <a href="#a1db331b6240a99b81da289530db515cc"></a><br/></td></tr>
<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#aea72b92caeb54acdd68981476cd7abb2">m_active_window</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> object.  <a href="#aea72b92caeb54acdd68981476cd7abb2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qassistantclient.html">QAssistantClient</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a5107958dd05375a8c547b15f4658cdf8">m_assistant</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The QtAssistant client.  <a href="#a5107958dd05375a8c547b15f4658cdf8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhippodraw_1_1Inspector.html">Inspector</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a75772569a9fdaefb52414ce847f72204">m_inspector</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a>.  <a href="#a75772569a9fdaefb52414ce847f72204"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a37b686f168c6fa15334cc023f37e5b83">m_quit</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A flag that when set <code>true</code> will terminate the application when the last canvas window closes.  <a href="#a37b686f168c6fa15334cc023f37e5b83"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::list&lt; <a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a2368d28ae38e1463e4ff60be9ce88504">m_window_list</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The list of <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> objects created by the application.  <a href="#a2368d28ae38e1463e4ff60be9ce88504"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classhippodraw_1_1WindowController.html">WindowController</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a5487844b53a9d239cacf01301ea46ea7">s_instance</a> = 0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The instance of the application.  <a href="#a5487844b53a9d239cacf01301ea46ea7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1WindowController.html#a58f86ca77af28a0f586ad9cd56d471ce">s_version</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The version number of HippoDraw.  <a href="#a58f86ca77af28a0f586ad9cd56d471ce"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A singleton class for keeping track the window components of HippoDraw. </p>
<p>It can be used as a helper function to an application.</p>
<dl class="requests"><dt><b><a class="el" href="requests.html#_requests000092">Requests:</a></b></dt><dd>@@@ Add a flag, set-able from <a class="el" href="namespacehippodraw_1_1Python.html" title="A namespace encapsulating functions to interface HippoDraw classes to Python using...">Python</a>, that would disallow the application to be exited via closing the last <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a>.</dd></dl>
<dl class="requests"><dt><b><a class="el" href="requests.html#_requests000093">Requests:</a></b></dt><dd>@@ no need to terminate the application on last window close on the mac OS.</dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000180">Todo:</a></b></dt><dd>There are circular references between <a class="el" href="classhippodraw_1_1WindowController.html" title="A singleton class for keeping track the window components of HippoDraw.">WindowController</a> and <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a>. Probably, <a class="el" href="classhippodraw_1_1WindowController.html" title="A singleton class for keeping track the window components of HippoDraw.">WindowController</a> should be an observer of <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> or the methods of the <a class="el" href="classhippodraw_1_1WindowController.html" title="A singleton class for keeping track the window components of HippoDraw.">WindowController</a> should be static methods of the <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a>.</dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Paul F. Kunz &lt;<a href="mailto:Paul_Kunz@slac.stanford.edu">Paul_Kunz@slac.stanford.edu</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="WindowController_8h_source.html#l00054">54</a> of file <a class="el" href="WindowController_8h_source.html">WindowController.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a03646aacb0a0c37cba14fb93b1c416da"></a><!-- doxytag: member="hippodraw::WindowController::WindowController" ref="a03646aacb0a0c37cba14fb93b1c416da" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1WindowController.html">WindowController</a> </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Private Constructor. </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000181">Todo:</a></b></dt><dd>Had to make this public for <a class="el" href="namespaceboost_1_1python.html" title="The namespace for the boost::python class library.">boost.python</a>. Maybe there is a better way. </dd></dl>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00060">60</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00060">WindowController::s_instance</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00074">WindowController::instance()</a>.</p>

</div>
</div>
<a class="anchor" id="a08d11df45d3e030f3a08af987bdecb1b"></a><!-- doxytag: member="hippodraw::WindowController::~WindowController" ref="a08d11df45d3e030f3a08af987bdecb1b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="classhippodraw_1_1WindowController.html">WindowController</a> </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The destructor. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00069">69</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00060">WindowController::s_instance</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a78f17a8a1379a9eaf3904b1d7af78a9a"></a><!-- doxytag: member="hippodraw::WindowController::aboutToClose" ref="a78f17a8a1379a9eaf3904b1d7af78a9a" args="(CanvasWindow *window)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aboutToClose </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *&nbsp;</td>
          <td class="paramname"> <em>window</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes the <em>window</em> from the window list. </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000182">Todo:</a></b></dt><dd>If only one window remains, informs that window to disable the close button. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000133">Bug:</a></b></dt><dd>Mac only. Should not quit application on last window close. That is not the Mac OS X standard. </dd></dl>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00141">141</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="CanvasWindow_8cxx_source.html#l01380">CanvasWindow::autosaveSettings()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00336">CanvasWindow::inhibitClose()</a>, <a class="el" href="WindowController_8h_source.html#l00069">WindowController::m_inspector</a>, <a class="el" href="WindowController_8h_source.html#l00085">WindowController::m_quit</a>, and <a class="el" href="WindowController_8h_source.html#l00063">WindowController::m_window_list</a>.</p>

</div>
</div>
<a class="anchor" id="a3326d07fdde5a9efdfbafb9adb625a51"></a><!-- doxytag: member="hippodraw::WindowController::closeAllWindows" ref="a3326d07fdde5a9efdfbafb9adb625a51" args="(bool alsoDelete)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void closeAllWindows </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>alsoDelete</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Closes all Windows. </p>
<p>Closes all Document windows as well as the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a> window. Effectively this will terminate the application. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00216">216</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00069">WindowController::m_inspector</a>, and <a class="el" href="WindowController_8h_source.html#l00063">WindowController::m_window_list</a>.</p>

</div>
</div>
<a class="anchor" id="a4245b54076200ff4045a5e846b063e00"></a><!-- doxytag: member="hippodraw::WindowController::createInspector" ref="a4245b54076200ff4045a5e846b063e00" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void createInspector </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a> object and positions it on the desktop. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00083">83</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00069">WindowController::m_inspector</a>, and <a class="el" href="WindowController_8cxx_source.html#l00290">WindowController::positionInspector()</a>.</p>

<p>Referenced by <a class="el" href="CanvasWindow_8cxx_source.html#l00506">CanvasWindow::fileNew()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00562">CanvasWindow::fileOpen()</a>, and <a class="el" href="WindowController_8cxx_source.html#l00323">WindowController::setFirstWindow()</a>.</p>

</div>
</div>
<a class="anchor" id="a91e284b4bfadae60b179c530bbc48553"></a><!-- doxytag: member="hippodraw::WindowController::currentCanvas" ref="a91e284b4bfadae60b179c530bbc48553" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> * currentCanvas </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to the current <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a>. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00311">311</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00066">WindowController::m_active_window</a>.</p>

<p>Referenced by <a class="el" href="Inspector_8cxx_source.html#l03099">Inspector::cutNew()</a>, <a class="el" href="Inspector_8cxx_source.html#l01515">Inspector::fillPlotterList()</a>, <a class="el" href="WindowController_8cxx_source.html#l00335">WindowController::openAssistant()</a>, <a class="el" href="Inspector_8cxx_source.html#l01820">Inspector::setAppKey()</a>, and <a class="el" href="Inspector_8cxx_source.html#l04007">Inspector::summaryNew()</a>.</p>

</div>
</div>
<a class="anchor" id="a2e66f427a2e5cb2145e2724eafc0ba9e"></a><!-- doxytag: member="hippodraw::WindowController::getInspector" ref="a2e66f427a2e5cb2145e2724eafc0ba9e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1Inspector.html">Inspector</a> * getInspector </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a>. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00316">316</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00069">WindowController::m_inspector</a>.</p>

</div>
</div>
<a class="anchor" id="a98a6ed123dc8a028400fb0e2059f845d"></a><!-- doxytag: member="hippodraw::WindowController::getScreenRect" ref="a98a6ed123dc8a028400fb0e2059f845d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a> &amp; getScreenRect </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a rectangle of the screen. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00232">232</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qapplication.html#desktop">QApplication::desktop()</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qdesktopwidget.html#primaryScreen">QDesktopWidget::primaryScreen()</a>, and <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qdesktopwidget.html#screenGeometry">QDesktopWidget::screenGeometry()</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00245">WindowController::positionCanvas()</a>, <a class="el" href="WindowController_8cxx_source.html#l00290">WindowController::positionInspector()</a>, and <a class="el" href="WindowController_8cxx_source.html#l00263">WindowController::resizeCanvas()</a>.</p>

</div>
</div>
<a class="anchor" id="a4a950ec1c96310155284e28acd343a87"></a><!-- doxytag: member="hippodraw::WindowController::hasBeenHidden" ref="a4a950ec1c96310155284e28acd343a87" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void hasBeenHidden </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Responds to hide event from a document window. </p>
<p>If all document windows are hidden, then hides the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a> window as well. Otherwise, does nothing. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00165">165</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00069">WindowController::m_inspector</a>, and <a class="el" href="WindowController_8h_source.html#l00063">WindowController::m_window_list</a>.</p>

</div>
</div>
<a class="anchor" id="a1d915480a9fc96b6ea18836b113f16ef"></a><!-- doxytag: member="hippodraw::WindowController::instance" ref="a1d915480a9fc96b6ea18836b113f16ef" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1WindowController.html">WindowController</a> * instance </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the application instance. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00074">74</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00060">WindowController::s_instance</a>, and <a class="el" href="WindowController_8cxx_source.html#l00060">WindowController::WindowController()</a>.</p>

<p>Referenced by <a class="el" href="CanvasWindow_8cxx_source.html#l00071">CanvasWindow::CanvasWindow()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00277">CanvasWindow::closeEvent()</a>, <a class="el" href="CreateNTuple_8cxx_source.html#l00223">CreateNTuple::createButtonClicked()</a>, <a class="el" href="Inspector_8cxx_source.html#l04092">Inspector::createResiduals()</a>, <a class="el" href="Inspector_8cxx_source.html#l03099">Inspector::cutNew()</a>, <a class="el" href="Inspector_8cxx_source.html#l05967">Inspector::diffDataRep()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00430">CanvasWindow::editClear()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00420">CanvasWindow::editCopy()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00448">CanvasWindow::editCut()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00456">CanvasWindow::editDelete()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00487">CanvasWindow::editPaste()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00496">CanvasWindow::editSelectAll()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00946">CanvasWindow::fileExit()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00506">CanvasWindow::fileNew()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00562">CanvasWindow::fileOpen()</a>, <a class="el" href="Inspector_8cxx_source.html#l01515">Inspector::fillPlotterList()</a>, <a class="el" href="CreateNTuple_8cxx_source.html#l00196">CreateNTuple::getPlotterList()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l01000">CanvasWindow::helpHelp()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00326">CanvasWindow::hideEvent()</a>, <a class="el" href="Inspector_8cxx_source.html#l01325">Inspector::newPlotButton_clicked()</a>, <a class="el" href="CanvasView_8cxx_source.html#l00645">CanvasView::notifyObservers()</a>, <a class="el" href="Inspector_8cxx_source.html#l04143">Inspector::pushButtonNewErrorPlotClicked()</a>, <a class="el" href="QtFileDialog_8cxx_source.html#l00457">QtFileDialog::saveFitsTuple()</a>, <a class="el" href="QtFileDialog_8cxx_source.html#l00483">QtFileDialog::saveTextTuple()</a>, <a class="el" href="Inspector_8cxx_source.html#l01820">Inspector::setAppKey()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00341">CanvasWindow::setChanged()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00331">CanvasWindow::showEvent()</a>, <a class="el" href="Inspector_8cxx_source.html#l04007">Inspector::summaryNew()</a>, and <a class="el" href="CanvasWindow_8cxx_source.html#l00203">CanvasWindow::windowActivationChange()</a>.</p>

</div>
</div>
<a class="anchor" id="a1f3b7322a826064735784b595a9870d7"></a><!-- doxytag: member="hippodraw::WindowController::moveInspector" ref="a1f3b7322a826064735784b595a9870d7" args="(CanvasWindow *window)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void moveInspector </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *&nbsp;</td>
          <td class="paramname"> <em>window</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Move the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a> next to the edge of the Window. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00118">118</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00069">WindowController::m_inspector</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpoint.html#setX">QPoint::setX()</a>, <a class="el" href="num__util_8cpp_source.html#l00296">num_util::size()</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qsize.html#width">QSize::width()</a>, and <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpoint.html#x">QPoint::x()</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00091">WindowController::newWindow()</a>.</p>

</div>
</div>
<a class="anchor" id="ac3b10550aadda3b0bbe746fb593c68cf"></a><!-- doxytag: member="hippodraw::WindowController::newWindow" ref="ac3b10550aadda3b0bbe746fb593c68cf" args="(CanvasWindow *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void newWindow </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *&nbsp;</td>
          <td class="paramname"> <em>window</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Registers the new <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> and finishes its initialization. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00091">91</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="CanvasWindow_8cxx_source.html#l00873">CanvasWindow::getCanvasView()</a>, <a class="el" href="CanvasWindow_8cxx_source.html#l00336">CanvasWindow::inhibitClose()</a>, <a class="el" href="WindowController_8h_source.html#l00069">WindowController::m_inspector</a>, <a class="el" href="WindowController_8h_source.html#l00085">WindowController::m_quit</a>, <a class="el" href="WindowController_8h_source.html#l00063">WindowController::m_window_list</a>, <a class="el" href="WindowController_8cxx_source.html#l00118">WindowController::moveInspector()</a>, <a class="el" href="WindowController_8cxx_source.html#l00245">WindowController::positionCanvas()</a>, <a class="el" href="WindowController_8cxx_source.html#l00263">WindowController::resizeCanvas()</a>, <a class="el" href="WindowController_8cxx_source.html#l00306">WindowController::setCurrentCanvas()</a>, <a class="el" href="CanvasView_8cxx_source.html#l00625">CanvasView::setInspector()</a>, and <a class="el" href="num__util_8cpp_source.html#l00296">num_util::size()</a>.</p>

<p>Referenced by <a class="el" href="CanvasWindow_8cxx_source.html#l00071">CanvasWindow::CanvasWindow()</a>.</p>

</div>
</div>
<a class="anchor" id="aaae8b3d346cf13a072ebac7ca71a31fb"></a><!-- doxytag: member="hippodraw::WindowController::okToQuit" ref="aaae8b3d346cf13a072ebac7ca71a31fb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool okToQuit </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Queries application if it is OK to quit. </p>
<p>The application queries each document window for unsaved changes. If any window refuses to close, the application returns <code>false</code> Otherwise, returns <code>true</code>. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classhippodraw_1_1CanvasWindow.html#a988ab27c7f44f16c32fee2e089725263" title="If document has changed and not saved, opens a dialog box for user to choose to save...">CanvasWindow::allowClose()</a>. </dd></dl>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00187">187</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="CanvasWindow_8cxx_source.html#l00227">CanvasWindow::allowClose()</a>, <a class="el" href="WindowController_8h_source.html#l00085">WindowController::m_quit</a>, and <a class="el" href="WindowController_8h_source.html#l00063">WindowController::m_window_list</a>.</p>

</div>
</div>
<a class="anchor" id="ac8808158e7b9de84fdd73333b1212eeb"></a><!-- doxytag: member="hippodraw::WindowController::openAssistant" ref="ac8808158e7b9de84fdd73333b1212eeb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void openAssistant </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Opens the QAssistant object. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00335">335</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qstring.html#arg">QString::arg()</a>, <a class="el" href="WindowController_8cxx_source.html#l00311">WindowController::currentCanvas()</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qstring.html#findRev">QString::findRev()</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qstring.html#length">QString::length()</a>, <a class="el" href="WindowController_8h_source.html#l00073">WindowController::m_assistant</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qstring.html#remove">QString::remove()</a>, <a class="el" href="num__util_8cpp_source.html#l00296">num_util::size()</a>, and <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qstring.html#truncate">QString::truncate()</a>.</p>

</div>
</div>
<a class="anchor" id="a14ad4225765cdf37513c7c55cb26b03d"></a><!-- doxytag: member="hippodraw::WindowController::positionCanvas" ref="a14ad4225765cdf37513c7c55cb26b03d" args="(CanvasWindow *window)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void positionCanvas </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *&nbsp;</td>
          <td class="paramname"> <em>window</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Positions and sets the size of the window taking into account the size of the screen. </p>
<dl class="requests"><dt><b><a class="el" href="requests.html#_requests000091">Requests:</a></b></dt><dd>@ Should use QDesktop to get usuable screen size on the Mac </dd></dl>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00245">245</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8cxx_source.html#l00232">WindowController::getScreenRect()</a>, <a class="el" href="WindowController_8h_source.html#l00066">WindowController::m_active_window</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpoint.html#setY">QPoint::setY()</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html#topLeft">QRect::topLeft()</a>, and <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpoint.html#y">QPoint::y()</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00091">WindowController::newWindow()</a>.</p>

</div>
</div>
<a class="anchor" id="a0f880aecfc60b18c9b2da52ab755ee9c"></a><!-- doxytag: member="hippodraw::WindowController::positionInspector" ref="a0f880aecfc60b18c9b2da52ab755ee9c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void positionInspector </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Positions the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a> as far right as possible based on size of screen and width of <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a>. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00290">290</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8cxx_source.html#l00232">WindowController::getScreenRect()</a>, <a class="el" href="WindowController_8h_source.html#l00069">WindowController::m_inspector</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpoint.html#setX">QPoint::setX()</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpoint.html#setY">QPoint::setY()</a>, <a class="el" href="num__util_8cpp_source.html#l00296">num_util::size()</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qsize.html#width">QSize::width()</a>, and <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html#width">QRect::width()</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00083">WindowController::createInspector()</a>.</p>

</div>
</div>
<a class="anchor" id="a6f57d72ac094f396b3a63ec174e31451"></a><!-- doxytag: member="hippodraw::WindowController::quitOnLastWindowClose" ref="a6f57d72ac094f396b3a63ec174e31451" args="(bool yes=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void quitOnLastWindowClose </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>yes</em> = <code>true</code></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the flag that determines if the application will be terminated when the last window is closed. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00131">131</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00085">WindowController::m_quit</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00323">WindowController::setFirstWindow()</a>.</p>

</div>
</div>
<a class="anchor" id="a1db331b6240a99b81da289530db515cc"></a><!-- doxytag: member="hippodraw::WindowController::resizeCanvas" ref="a1db331b6240a99b81da289530db515cc" args="(CanvasWindow *window)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void resizeCanvas </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *&nbsp;</td>
          <td class="paramname"> <em>window</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Resizes the <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> so that it doesn't overlap with the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a> window. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00263">263</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8cxx_source.html#l00232">WindowController::getScreenRect()</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qsize.html#height">QSize::height()</a>, <a class="el" href="WindowController_8h_source.html#l00069">WindowController::m_inspector</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qsize.html#setHeight">QSize::setHeight()</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qsize.html#setWidth">QSize::setWidth()</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html#size">QRect::size()</a>, <a class="el" href="num__util_8cpp_source.html#l00296">num_util::size()</a>, <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qsize.html#width">QSize::width()</a>, and <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpoint.html#x">QPoint::x()</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00091">WindowController::newWindow()</a>.</p>

</div>
</div>
<a class="anchor" id="ad411266e661c1bd0030273f78c39b726"></a><!-- doxytag: member="hippodraw::WindowController::setCurrentCanvas" ref="ad411266e661c1bd0030273f78c39b726" args="(CanvasWindow *canvas)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setCurrentCanvas </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *&nbsp;</td>
          <td class="paramname"> <em>canvas</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the current canvas. </p>
<p>This method does not change the canvas' window active state which is control by the windowing system. The intent of this method is to allow <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> object to inform the application that it has become active. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00306">306</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00066">WindowController::m_active_window</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00091">WindowController::newWindow()</a>.</p>

</div>
</div>
<a class="anchor" id="a509d79a419569049ae234b1f98aa595c"></a><!-- doxytag: member="hippodraw::WindowController::setFirstWindow" ref="a509d79a419569049ae234b1f98aa595c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setFirstWindow </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets up the first <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> object. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00323">323</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8cxx_source.html#l00083">WindowController::createInspector()</a>, <a class="el" href="WindowController_8cxx_source.html#l00131">WindowController::quitOnLastWindowClose()</a>, and <a class="el" href="CanvasWindow_8cxx_source.html#l01024">CanvasWindow::setCaption()</a>.</p>

<p>Referenced by <a class="el" href="QtApp_8cxx_source.html#l00169">QtApp::setFirstWindow()</a>.</p>

</div>
</div>
<a class="anchor" id="a51e344a53e0b9a1a7b1c20b9b2f0868e"></a><!-- doxytag: member="hippodraw::WindowController::unHide" ref="a51e344a53e0b9a1a7b1c20b9b2f0868e" args="(CanvasWindow *window)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void unHide </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> *&nbsp;</td>
          <td class="paramname"> <em>window</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Responds to document window being shown. </p>
<p>Shows the <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a> window if it had been hidden. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00182">182</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00069">WindowController::m_inspector</a>, and <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qdialog.html#show">QDialog::show()</a>.</p>

</div>
</div>
<a class="anchor" id="a1aeea95493e6f5d814b9ae40575fac52"></a><!-- doxytag: member="hippodraw::WindowController::updateActions" ref="a1aeea95493e6f5d814b9ae40575fac52" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void updateActions </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update the actions in all <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> objects. </p>
<p>Update the enabled status of all actions, such as menu items and tool bar icons, of all windows. Sends <a class="el" href="classhippodraw_1_1CanvasWindow.html#a1aeea95493e6f5d814b9ae40575fac52" title="Update Action objects.">CanvasWindow::updateActions</a> to all windows. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00208">208</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00063">WindowController::m_window_list</a>, and <a class="el" href="CanvasWindow_8cxx_source.html#l00357">CanvasWindow::updateActions()</a>.</p>

</div>
</div>
<a class="anchor" id="a055f88cdee9d1819882e4decda21ad17"></a><!-- doxytag: member="hippodraw::WindowController::version" ref="a055f88cdee9d1819882e4decda21ad17" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string &amp; version </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the version number of HippoDraw. </p>

<p>Definition at line <a class="el" href="WindowController_8cxx_source.html#l00055">55</a> of file <a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a>.</p>

<p>References <a class="el" href="WindowController_8h_source.html#l00080">WindowController::s_version</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aea72b92caeb54acdd68981476cd7abb2"></a><!-- doxytag: member="hippodraw::WindowController::m_active_window" ref="aea72b92caeb54acdd68981476cd7abb2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a>* <a class="el" href="classhippodraw_1_1WindowController.html#aea72b92caeb54acdd68981476cd7abb2">m_active_window</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> object. </p>

<p>Definition at line <a class="el" href="WindowController_8h_source.html#l00066">66</a> of file <a class="el" href="WindowController_8h_source.html">WindowController.h</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00311">WindowController::currentCanvas()</a>, <a class="el" href="WindowController_8cxx_source.html#l00245">WindowController::positionCanvas()</a>, and <a class="el" href="WindowController_8cxx_source.html#l00306">WindowController::setCurrentCanvas()</a>.</p>

</div>
</div>
<a class="anchor" id="a5107958dd05375a8c547b15f4658cdf8"></a><!-- doxytag: member="hippodraw::WindowController::m_assistant" ref="a5107958dd05375a8c547b15f4658cdf8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qassistantclient.html">QAssistantClient</a>* <a class="el" href="classhippodraw_1_1WindowController.html#a5107958dd05375a8c547b15f4658cdf8">m_assistant</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The QtAssistant client. </p>

<p>Definition at line <a class="el" href="WindowController_8h_source.html#l00073">73</a> of file <a class="el" href="WindowController_8h_source.html">WindowController.h</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00335">WindowController::openAssistant()</a>.</p>

</div>
</div>
<a class="anchor" id="a75772569a9fdaefb52414ce847f72204"></a><!-- doxytag: member="hippodraw::WindowController::m_inspector" ref="a75772569a9fdaefb52414ce847f72204" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1Inspector.html">Inspector</a>* <a class="el" href="classhippodraw_1_1WindowController.html#a75772569a9fdaefb52414ce847f72204">m_inspector</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <a class="el" href="classhippodraw_1_1Inspector.html" title="A derived class of InspectorBase class which is generated by the Qt designer.">Inspector</a>. </p>

<p>Definition at line <a class="el" href="WindowController_8h_source.html#l00069">69</a> of file <a class="el" href="WindowController_8h_source.html">WindowController.h</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00141">WindowController::aboutToClose()</a>, <a class="el" href="WindowController_8cxx_source.html#l00216">WindowController::closeAllWindows()</a>, <a class="el" href="WindowController_8cxx_source.html#l00083">WindowController::createInspector()</a>, <a class="el" href="WindowController_8cxx_source.html#l00316">WindowController::getInspector()</a>, <a class="el" href="WindowController_8cxx_source.html#l00165">WindowController::hasBeenHidden()</a>, <a class="el" href="WindowController_8cxx_source.html#l00118">WindowController::moveInspector()</a>, <a class="el" href="WindowController_8cxx_source.html#l00091">WindowController::newWindow()</a>, <a class="el" href="WindowController_8cxx_source.html#l00290">WindowController::positionInspector()</a>, <a class="el" href="WindowController_8cxx_source.html#l00263">WindowController::resizeCanvas()</a>, and <a class="el" href="WindowController_8cxx_source.html#l00182">WindowController::unHide()</a>.</p>

</div>
</div>
<a class="anchor" id="a37b686f168c6fa15334cc023f37e5b83"></a><!-- doxytag: member="hippodraw::WindowController::m_quit" ref="a37b686f168c6fa15334cc023f37e5b83" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classhippodraw_1_1WindowController.html#a37b686f168c6fa15334cc023f37e5b83">m_quit</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A flag that when set <code>true</code> will terminate the application when the last canvas window closes. </p>

<p>Definition at line <a class="el" href="WindowController_8h_source.html#l00085">85</a> of file <a class="el" href="WindowController_8h_source.html">WindowController.h</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00141">WindowController::aboutToClose()</a>, <a class="el" href="WindowController_8cxx_source.html#l00091">WindowController::newWindow()</a>, <a class="el" href="WindowController_8cxx_source.html#l00187">WindowController::okToQuit()</a>, and <a class="el" href="WindowController_8cxx_source.html#l00131">WindowController::quitOnLastWindowClose()</a>.</p>

</div>
</div>
<a class="anchor" id="a2368d28ae38e1463e4ff60be9ce88504"></a><!-- doxytag: member="hippodraw::WindowController::m_window_list" ref="a2368d28ae38e1463e4ff60be9ce88504" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::list&lt; <a class="el" href="classhippodraw_1_1CanvasWindow.html">CanvasWindow</a> * &gt; <a class="el" href="classhippodraw_1_1WindowController.html#a2368d28ae38e1463e4ff60be9ce88504">m_window_list</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The list of <a class="el" href="classhippodraw_1_1CanvasWindow.html" title="A concrete window class that contains the canvas and responds to menu item and tool...">CanvasWindow</a> objects created by the application. </p>

<p>Definition at line <a class="el" href="WindowController_8h_source.html#l00063">63</a> of file <a class="el" href="WindowController_8h_source.html">WindowController.h</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00141">WindowController::aboutToClose()</a>, <a class="el" href="WindowController_8cxx_source.html#l00216">WindowController::closeAllWindows()</a>, <a class="el" href="WindowController_8cxx_source.html#l00165">WindowController::hasBeenHidden()</a>, <a class="el" href="WindowController_8cxx_source.html#l00091">WindowController::newWindow()</a>, <a class="el" href="WindowController_8cxx_source.html#l00187">WindowController::okToQuit()</a>, and <a class="el" href="WindowController_8cxx_source.html#l00208">WindowController::updateActions()</a>.</p>

</div>
</div>
<a class="anchor" id="a5487844b53a9d239cacf01301ea46ea7"></a><!-- doxytag: member="hippodraw::WindowController::s_instance" ref="a5487844b53a9d239cacf01301ea46ea7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1WindowController.html">WindowController</a> * <a class="el" href="classhippodraw_1_1WindowController.html#a5487844b53a9d239cacf01301ea46ea7">s_instance</a> = 0<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The instance of the application. </p>

<p>Definition at line <a class="el" href="WindowController_8h_source.html#l00060">60</a> of file <a class="el" href="WindowController_8h_source.html">WindowController.h</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00074">WindowController::instance()</a>, <a class="el" href="WindowController_8cxx_source.html#l00060">WindowController::WindowController()</a>, and <a class="el" href="WindowController_8cxx_source.html#l00069">WindowController::~WindowController()</a>.</p>

</div>
</div>
<a class="anchor" id="a58f86ca77af28a0f586ad9cd56d471ce"></a><!-- doxytag: member="hippodraw::WindowController::s_version" ref="a58f86ca77af28a0f586ad9cd56d471ce" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classhippodraw_1_1WindowController.html#a58f86ca77af28a0f586ad9cd56d471ce">s_version</a><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The version number of HippoDraw. </p>
<dl class="requests"><dt><b><a class="el" href="requests.html#_requests000094">Requests:</a></b></dt><dd>@ Windows only, Need to get the version number into the Windows installer file. </dd></dl>

<p>Definition at line <a class="el" href="WindowController_8h_source.html#l00080">80</a> of file <a class="el" href="WindowController_8h_source.html">WindowController.h</a>.</p>

<p>Referenced by <a class="el" href="WindowController_8cxx_source.html#l00055">WindowController::version()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="WindowController_8h_source.html">WindowController.h</a></li>
<li><a class="el" href="WindowController_8cxx_source.html">WindowController.cxx</a></li>
</ul>
</div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>