<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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespacehippodraw.html">hippodraw</a>::<a class="el" href="classhippodraw_1_1QtViewFactory.html">QtViewFactory</a> </div> </div> <div class="contents"> <h1>QtViewFactory Class Reference</h1><!-- doxytag: class="hippodraw::QtViewFactory" --><!-- doxytag: inherits="hippodraw::ViewFactory" --> <p>A <code><a class="el" href="classhippodraw_1_1ViewFactory.html" title="The abstract base class for a factory that creates objects closely related to the...">ViewFactory</a></code> which creates a view that uses <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qt.html">Qt</a> Drawing. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="QtViewFactory_8h_source.html">QtViewFactory.h</a>></code></p> <div class="dynheader"> Inheritance diagram for QtViewFactory:</div> <div class="dynsection"> <div class="center"><img src="classhippodraw_1_1QtViewFactory__inherit__graph.gif" border="0" usemap="#QtViewFactory_inherit__map" alt="Inheritance graph"/></div> <map name="QtViewFactory_inherit__map" id="QtViewFactory_inherit__map"> <area shape="rect" id="node2" href="classhippodraw_1_1ViewFactory.html" title="The abstract base class for a factory that creates objects closely related to the..." alt="" coords="13,5,107,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for QtViewFactory:</div> <div class="dynsection"> <div class="center"><img src="classhippodraw_1_1QtViewFactory__coll__graph.gif" border="0" usemap="#QtViewFactory_coll__map" alt="Collaboration graph"/></div> <map name="QtViewFactory_coll__map" id="QtViewFactory_coll__map"> <area shape="rect" id="node2" href="classhippodraw_1_1ViewFactory.html" title="The abstract base class for a factory that creates objects closely related to the..." alt="" coords="13,5,107,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classhippodraw_1_1QtViewFactory-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">virtual <a class="el" href="classhippodraw_1_1FontBase.html">FontBase</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1QtViewFactory.html#a9bb77cb2762438c24c221e2f36350691">createFont</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a default <a class="el" href="classhippodraw_1_1FontBase.html" title="A abstract base class for font handling.">FontBase</a> object. <a href="#a9bb77cb2762438c24c221e2f36350691"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classhippodraw_1_1ViewBase.html">ViewBase</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1QtViewFactory.html#a414d7a4a8284dff9db73bc7ed6be8b3c">createView</a> (<a class="el" href="classhippodraw_1_1PlotterBase.html">PlotterBase</a> *plotter) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a view for the <em>plotter</em>. <a href="#a414d7a4a8284dff9db73bc7ed6be8b3c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1QtViewFactory.html#a073f12cf81d236c3f6ee499b080ccfb0">QtViewFactory</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The default constructor. <a href="#a073f12cf81d236c3f6ee499b080ccfb0"></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_1ViewFactory.html">ViewFactory</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1QtViewFactory.html#a58ae11230ee002d2a4f5f47c9576cad7">instance</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The public interface for getting to the concrete default view factory. <a href="#a58ae11230ee002d2a4f5f47c9576cad7"></a><br/></td></tr> <tr><td colspan="2"><h2>Static Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1ViewFactory.html#afa30175f3a71b4bb48ae93b70a2387a5">m_instance</a> = 0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">An instance of the default view factory. <a href="#afa30175f3a71b4bb48ae93b70a2387a5"></a><br/></td></tr> <tr><td colspan="2"><h2>Private Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhippodraw_1_1QtViewFactory.html">QtViewFactory</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1QtViewFactory.html#a5075d8b992b6557438649915203ffa32">operator=</a> (const <a class="el" href="classhippodraw_1_1QtViewFactory.html">QtViewFactory</a> &)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The disallowed assignment operator. <a href="#a5075d8b992b6557438649915203ffa32"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1QtViewFactory.html#ae395936ea791853f508ab1b2ddc91c9d">QtViewFactory</a> (const <a class="el" href="classhippodraw_1_1QtViewFactory.html">QtViewFactory</a> &)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The disallowed copy constructor. <a href="#ae395936ea791853f508ab1b2ddc91c9d"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A <code><a class="el" href="classhippodraw_1_1ViewFactory.html" title="The abstract base class for a factory that creates objects closely related to the...">ViewFactory</a></code> which creates a view that uses <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qt.html">Qt</a> Drawing. </p> <p>Definition at line <a class="el" href="QtViewFactory_8h_source.html#l00028">28</a> of file <a class="el" href="QtViewFactory_8h_source.html">QtViewFactory.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a073f12cf81d236c3f6ee499b080ccfb0"></a><!-- doxytag: member="hippodraw::QtViewFactory::QtViewFactory" ref="a073f12cf81d236c3f6ee499b080ccfb0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classhippodraw_1_1QtViewFactory.html">QtViewFactory</a> </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The default constructor. </p> <p>Definition at line <a class="el" href="QtViewFactory_8cxx_source.html#l00025">25</a> of file <a class="el" href="QtViewFactory_8cxx_source.html">QtViewFactory.cxx</a>.</p> <p>Referenced by <a class="el" href="QtViewFactory_8cxx_source.html#l00030">QtViewFactory::instance()</a>.</p> </div> </div> <a class="anchor" id="ae395936ea791853f508ab1b2ddc91c9d"></a><!-- doxytag: member="hippodraw::QtViewFactory::QtViewFactory" ref="ae395936ea791853f508ab1b2ddc91c9d" args="(const QtViewFactory &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classhippodraw_1_1QtViewFactory.html">QtViewFactory</a> </td> <td>(</td> <td class="paramtype">const <a class="el" href="classhippodraw_1_1QtViewFactory.html">QtViewFactory</a> & </td> <td class="paramname"></td> <td> ) </td> <td><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The disallowed copy constructor. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a9bb77cb2762438c24c221e2f36350691"></a><!-- doxytag: member="hippodraw::QtViewFactory::createFont" ref="a9bb77cb2762438c24c221e2f36350691" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classhippodraw_1_1FontBase.html">FontBase</a> * createFont </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a default <a class="el" href="classhippodraw_1_1FontBase.html" title="A abstract base class for font handling.">FontBase</a> object. </p> <p>Implements <a class="el" href="classhippodraw_1_1ViewFactory.html#a899d0c1db601348e775d815d17de5afc">ViewFactory</a>.</p> <p>Definition at line <a class="el" href="QtViewFactory_8cxx_source.html#l00050">50</a> of file <a class="el" href="QtViewFactory_8cxx_source.html">QtViewFactory.cxx</a>.</p> </div> </div> <a class="anchor" id="a414d7a4a8284dff9db73bc7ed6be8b3c"></a><!-- doxytag: member="hippodraw::QtViewFactory::createView" ref="a414d7a4a8284dff9db73bc7ed6be8b3c" args="(PlotterBase *plotter) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classhippodraw_1_1ViewBase.html">ViewBase</a> * createView </td> <td>(</td> <td class="paramtype"><a class="el" href="classhippodraw_1_1PlotterBase.html">PlotterBase</a> * </td> <td class="paramname"> <em>plotter</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a view for the <em>plotter</em>. </p> <p>Implements <a class="el" href="classhippodraw_1_1ViewFactory.html#aaa895487d5ae0f454e95502c04301d37">ViewFactory</a>.</p> <p>Definition at line <a class="el" href="QtViewFactory_8cxx_source.html#l00041">41</a> of file <a class="el" href="QtViewFactory_8cxx_source.html">QtViewFactory.cxx</a>.</p> </div> </div> <a class="anchor" id="a58ae11230ee002d2a4f5f47c9576cad7"></a><!-- doxytag: member="hippodraw::QtViewFactory::instance" ref="a58ae11230ee002d2a4f5f47c9576cad7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a> * instance </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The public interface for getting to the concrete default view factory. </p> <p>Reimplemented from <a class="el" href="classhippodraw_1_1ViewFactory.html#a58ae11230ee002d2a4f5f47c9576cad7">ViewFactory</a>.</p> <p>Definition at line <a class="el" href="QtViewFactory_8cxx_source.html#l00030">30</a> of file <a class="el" href="QtViewFactory_8cxx_source.html">QtViewFactory.cxx</a>.</p> <p>References <a class="el" href="ViewFactory_8h_source.html#l00042">ViewFactory::m_instance</a>, and <a class="el" href="QtViewFactory_8cxx_source.html#l00025">QtViewFactory::QtViewFactory()</a>.</p> <p>Referenced by <a class="el" href="CanvasView_8cxx_source.html#l00526">CanvasView::addFromPasteboard()</a>, <a class="el" href="CanvasView_8cxx_source.html#l01107">CanvasView::addFuncDisplay()</a>, <a class="el" href="CanvasView_8cxx_source.html#l01057">CanvasView::addTextDisplay()</a>, <a class="el" href="CanvasView_8cxx_source.html#l01084">CanvasView::addTextDisplayAt()</a>, <a class="el" href="CanvasView_8cxx_source.html#l00514">CanvasView::copyFromPasteboard()</a>, <a class="el" href="CanvasView_8cxx_source.html#l00359">CanvasView::initFromFile()</a>, <a class="el" href="CanvasView_8cxx_source.html#l01477">CanvasView::restoreFromSelectCopy()</a>, and <a class="el" href="CanvasView_8cxx_source.html#l00841">CanvasView::wrapPlotter()</a>.</p> </div> </div> <a class="anchor" id="a5075d8b992b6557438649915203ffa32"></a><!-- doxytag: member="hippodraw::QtViewFactory::operator=" ref="a5075d8b992b6557438649915203ffa32" args="(const QtViewFactory &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classhippodraw_1_1QtViewFactory.html">QtViewFactory</a>& operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classhippodraw_1_1QtViewFactory.html">QtViewFactory</a> & </td> <td class="paramname"></td> <td> ) </td> <td><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The disallowed assignment operator. </p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="afa30175f3a71b4bb48ae93b70a2387a5"></a><!-- doxytag: member="hippodraw::QtViewFactory::m_instance" ref="afa30175f3a71b4bb48ae93b70a2387a5" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a> * <a class="el" href="classhippodraw_1_1ViewFactory.html#afa30175f3a71b4bb48ae93b70a2387a5">m_instance</a> = 0<code> [static, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>An instance of the default view factory. </p> <p>It should be created at the application initialization time for the default concrete view factory. </p> <p>Definition at line <a class="el" href="ViewFactory_8h_source.html#l00042">42</a> of file <a class="el" href="ViewFactory_8h_source.html">ViewFactory.h</a>.</p> <p>Referenced by <a class="el" href="ViewFactory_8cxx_source.html#l00022">ViewFactory::instance()</a>, <a class="el" href="QtViewFactory_8cxx_source.html#l00030">QtViewFactory::instance()</a>, and <a class="el" href="ViewFactory_8cxx_source.html#l00017">ViewFactory::ViewFactory()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="QtViewFactory_8h_source.html">QtViewFactory.h</a></li> <li><a class="el" href="QtViewFactory_8cxx_source.html">QtViewFactory.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>