<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><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><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="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_28fb57ed95c79fe5ed14c4f71fb4c2a2.html">qt</a> </div> </div> <div class="contents"> <h1>FigureEditor.cxx File Reference</h1> <p><a class="el" href="classhippodraw_1_1FigureEditor.html" title="This class implements additional QCanvasView functionality.">hippodraw::FigureEditor</a> class implementation <a href="#_details">More...</a></p> <code>#include "<a class="el" href="FigureEditor_8h_source.html">FigureEditor.h</a>"</code><br/> <code>#include "<a class="el" href="QtGroupView_8h_source.html">QtGroupView.h</a>"</code><br/> <code>#include "<a class="el" href="CanvasWindow_8h_source.html">CanvasWindow.h</a>"</code><br/> <code>#include "<a class="el" href="PickTable_8h_source.html">PickTable.h</a>"</code><br/> <code>#include "<a class="el" href="PlotterBase_8h_source.html">plotters/PlotterBase.h</a>"</code><br/> <code>#include <qapplication.h></code><br/> <code>#include <qclipboard.h></code><br/> <code>#include <qcursor.h></code><br/> <code>#include <qimage.h></code><br/> <code>#include <qdragobject.h></code><br/> <code>#include <qwmatrix.h></code><br/> <code>#include <qpaintdevicemetrics.h></code><br/> <code>#include <qpainter.h></code><br/> <code>#include <qprinter.h></code><br/> <code>#include <qsettings.h></code><br/> <code>#include <qstatusbar.h></code><br/> <code>#include <algorithm></code><br/> <code>#include <functional></code><br/> <code>#include <cmath></code><br/> <code>#include <cctype></code><br/> <code>#include <cassert></code><br/> <div class="dynheader"> Include dependency graph for FigureEditor.cxx:</div> <div class="dynsection"> <div class="center"><img src="FigureEditor_8cxx__incl.gif" border="0" usemap="#FigureEditor_8cxx_map" alt=""/></div> <map name="FigureEditor_8cxx_map" id="FigureEditor_8cxx"> <area shape="rect" id="node3" href="FigureEditor_8h.html" title="hippodraw::FigureEditor class interface and nested class implementation" alt="" coords="519,160,620,189"/><area shape="rect" id="node15" href="QtGroupView_8h.html" title="hippodraw::QtGroupView class interface" alt="" coords="1020,83,1129,112"/><area shape="rect" id="node57" href="CanvasWindow_8h.html" title="hippodraw::CanvasWindow class interface." alt="" coords="711,160,836,189"/><area shape="rect" id="node73" href="PickTable_8h.html" title="hippodraw::PickTable class interface" alt="" coords="244,160,335,189"/><area shape="rect" id="node84" href="PlotterBase_8h.html" title="hippodraw::PlotterBase class interface." alt="" coords="1091,392,1237,421"/><area shape="rect" id="node5" href="libqthippo_8h.html" title="libqthippo.h" alt="" coords="587,315,675,344"/><area shape="rect" id="node17" href="GroupViewBase_8h.html" title="hippodraw::GroupViewBase class interface" alt="" coords="1112,160,1291,189"/><area shape="rect" id="node38" href="QtView_8h.html" title="hippodraw::QtView class interface" alt="" coords="959,160,1033,189"/><area shape="rect" id="node40" href="QtViewImp_8h.html" title="hippodraw::QtViewImp class interface" alt="" coords="1032,237,1131,267"/><area shape="rect" id="node19" href="ViewBase_8h.html" title="hippodraw::ViewBase class interface" alt="" coords="976,392,1067,421"/><area shape="rect" id="node21" href="Rectangle_8h.html" title="hippodrw::Rect class interface" alt="" coords="1115,469,1205,499"/><area shape="rect" id="node31" href="AxesType_8h.html" title="The namespace for axes." alt="" coords="813,469,936,499"/><area shape="rect" id="node35" href="Observer_8h.html" title="Observer class interface." alt="" coords="960,469,1091,499"/><area shape="rect" id="node23" href="Point_8h.html" title="Point class interface." alt="" coords="1063,547,1124,576"/><area shape="rect" id="node27" href="Size_8h.html" title="Size.h" alt="" coords="1148,547,1207,576"/><area shape="rect" id="node25" href="libhippo_8h.html" title="pattern/libhippo.h" alt="" coords="1033,624,1153,653"/><area shape="rect" id="node43" href="DataView_8h.html" title="hippodraw::DataView class interface" alt="" coords="813,315,955,344"/><area shape="rect" id="node59" href="CanvasWindowBase_8h.html" title="The file created from CanvasWindowBase.ui with the Qt uic tool." alt="" coords="443,237,621,267"/><area shape="rect" id="node76" href="PickTableBase_8h.html" title="The file created from PickTableBase.ui with the Qt uic tool." alt="" coords="123,237,269,267"/><area shape="rect" id="node88" href="Observable_8h.html" title="Observable class interface." alt="" coords="1229,469,1371,499"/></map> </div> <p><a href="FigureEditor_8cxx_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static QPrinter::ColorMode </td><td class="memItemRight" valign="bottom"><a class="el" href="FigureEditor_8cxx.html#a7d48d5f953df00af32ab2a4d59ef8e57">indexToColorMode</a> []</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">An array to allow conversion of integer to enumeration. <a href="#a7d48d5f953df00af32ab2a4d59ef8e57"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static QPrinter::Orientation </td><td class="memItemRight" valign="bottom"><a class="el" href="FigureEditor_8cxx.html#a41d96c1f536a99767d23afce847ee35b">indexToOrientation</a> []</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">An array to allow conversion of integer to enumeration. <a href="#a41d96c1f536a99767d23afce847ee35b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static QPrinter::PageSize </td><td class="memItemRight" valign="bottom"><a class="el" href="FigureEditor_8cxx.html#a2a95d1714cef3286b99d85bfbd791256">indexToPageSize</a> []</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">An array to allow conversion of integer to enumeration. <a href="#a2a95d1714cef3286b99d85bfbd791256"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="classhippodraw_1_1FigureEditor.html" title="This class implements additional QCanvasView functionality.">hippodraw::FigureEditor</a> class implementation </p> <p>Original taken from $QTDIR/examples/canvas/canvas.cpp version 3.0</p> <p>Copyright (C) 2001-2006 The Board of Trustees of The Leland Stanford Junior University. All Rights Reserved.</p> <dl class="rcs"><dt><b>Id</b></dt><dd><a class="el" href="FigureEditor_8cxx.html" title="hippodraw::FigureEditor class implementation">FigureEditor.cxx</a>,v 1.251 2007/07/02 18:17:16 pfkeb Exp </dd></dl> <p>Definition in file <a class="el" href="FigureEditor_8cxx_source.html">FigureEditor.cxx</a>.</p> <hr/><h2>Variable Documentation</h2> <a class="anchor" id="a7d48d5f953df00af32ab2a4d59ef8e57"></a><!-- doxytag: member="FigureEditor.cxx::indexToColorMode" ref="a7d48d5f953df00af32ab2a4d59ef8e57" args="[]" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QPrinter::ColorMode <a class="el" href="FigureEditor_8cxx.html#a7d48d5f953df00af32ab2a4d59ef8e57">indexToColorMode</a>[]<code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <b>Initial value:</b><div class="fragment"><pre class="fragment"> { QPrinter::GrayScale, QPrinter::Color } </pre></div> <p>An array to allow conversion of integer to enumeration. </p> <dl class="note"><dt><b>Note:</b></dt><dd>Use static as recommended by KDE developers because no long symbol will be exported. </dd></dl> <p>Definition at line <a class="el" href="FigureEditor_8cxx_source.html#l00103">103</a> of file <a class="el" href="FigureEditor_8cxx_source.html">FigureEditor.cxx</a>.</p> <p>Referenced by <a class="el" href="FigureEditor_8cxx_source.html#l00152">FigureEditor::initPrinter()</a>.</p> </div> </div> <a class="anchor" id="a41d96c1f536a99767d23afce847ee35b"></a><!-- doxytag: member="FigureEditor.cxx::indexToOrientation" ref="a41d96c1f536a99767d23afce847ee35b" args="[]" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QPrinter::Orientation <a class="el" href="FigureEditor_8cxx.html#a41d96c1f536a99767d23afce847ee35b">indexToOrientation</a>[]<code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <b>Initial value:</b><div class="fragment"><pre class="fragment"> { QPrinter::Portrait, QPrinter::Landscape } </pre></div> <p>An array to allow conversion of integer to enumeration. </p> <dl class="note"><dt><b>Note:</b></dt><dd>Use static as recommended by KDE developers because no long symbol will be exported. </dd></dl> <p>Definition at line <a class="el" href="FigureEditor_8cxx_source.html#l00095">95</a> of file <a class="el" href="FigureEditor_8cxx_source.html">FigureEditor.cxx</a>.</p> <p>Referenced by <a class="el" href="FigureEditor_8cxx_source.html#l00152">FigureEditor::initPrinter()</a>.</p> </div> </div> <a class="anchor" id="a2a95d1714cef3286b99d85bfbd791256"></a><!-- doxytag: member="FigureEditor.cxx::indexToPageSize" ref="a2a95d1714cef3286b99d85bfbd791256" args="[]" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QPrinter::PageSize <a class="el" href="FigureEditor_8cxx.html#a2a95d1714cef3286b99d85bfbd791256">indexToPageSize</a>[]<code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <b>Initial value:</b><div class="fragment"><pre class="fragment"> { QPrinter::A4, QPrinter::B5, QPrinter::Letter, QPrinter::Legal, QPrinter::Executive, QPrinter::A0, QPrinter::A1, QPrinter::A2, QPrinter::A3, QPrinter::A5, QPrinter::A6, QPrinter::A7, QPrinter::A8, QPrinter::A9, QPrinter::B0, QPrinter::B1, QPrinter::B10, QPrinter::B2, QPrinter::B3, QPrinter::B4, QPrinter::B6, QPrinter::B7, QPrinter::B8, QPrinter::B9, QPrinter::C5E, QPrinter::Comm10E, QPrinter::DLE, QPrinter::Folio, QPrinter::Ledger, QPrinter::Tabloid, QPrinter::Custom, QPrinter::NPageSize } </pre></div> <p>An array to allow conversion of integer to enumeration. </p> <dl class="note"><dt><b>Note:</b></dt><dd>Use static as recommended by KDE developers because no long symbol will be exported. </dd></dl> <p>Definition at line <a class="el" href="FigureEditor_8cxx_source.html#l00078">78</a> of file <a class="el" href="FigureEditor_8cxx_source.html">FigureEditor.cxx</a>.</p> <p>Referenced by <a class="el" href="FigureEditor_8cxx_source.html#l00152">FigureEditor::initPrinter()</a>.</p> </div> </div> </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>