Sophie

Sophie

distrib > Mageia > 6 > x86_64 > by-pkgid > cf48da7d1b8e1f83fb29b038ef4f8fc6 > files > 745

engauge-digitizer-doc-9.8-1.mga6.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Engauge Digitizer: CmdAbstract Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Engauge Digitizer
   &#160;<span id="projectnumber">2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classCmdAbstract-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">CmdAbstract Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Wrapper around QUndoCommand. This simplifies the more complicated feature set of QUndoCommand.  
 <a href="classCmdAbstract.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="CmdAbstract_8h_source.html">CmdAbstract.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CmdAbstract:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classCmdAbstract.png" usemap="#CmdAbstract_map" alt=""/>
  <map id="CmdAbstract_map" name="CmdAbstract_map">
<area href="classCmdCopy.html" title="Command for moving all selected Points by a specified translation. " alt="CmdCopy" shape="rect" coords="194,112,378,136"/>
<area href="classCmdPointChangeBase.html" title="Base class for CmdBase leaf subclasses that involve point additions, deletions and/or modifications..." alt="CmdPointChangeBase" shape="rect" coords="194,168,378,192"/>
<area href="classCmdRedoForTest.html" title="Command for performing Redo during testing. " alt="CmdRedoForTest" shape="rect" coords="194,224,378,248"/>
<area href="classCmdSelectCoordSystem.html" title="Command for changing the currently selected CoordSystem. " alt="CmdSelectCoordSystem" shape="rect" coords="194,280,378,304"/>
<area href="classCmdSettingsAxesChecker.html" title="Command for DlgSettingsAxesChecker. " alt="CmdSettingsAxesChecker" shape="rect" coords="194,336,378,360"/>
<area href="classCmdSettingsColorFilter.html" title="Command for DlgSettingsColorFilter. " alt="CmdSettingsColorFilter" shape="rect" coords="194,392,378,416"/>
<area href="classCmdSettingsCoords.html" title="Command for DlgSettingsCoords. " alt="CmdSettingsCoords" shape="rect" coords="194,448,378,472"/>
<area href="classCmdSettingsCurveAddRemove.html" title="Command for DlgSettingsCurveAddRemove. " alt="CmdSettingsCurveAddRemove" shape="rect" coords="194,504,378,528"/>
<area href="classCmdSettingsCurveProperties.html" title="Command for DlgSettingsCurveProperties. " alt="CmdSettingsCurveProperties" shape="rect" coords="194,560,378,584"/>
<area href="classCmdSettingsDigitizeCurve.html" title="Command for DlgSettingsDigitizeCurve. " alt="CmdSettingsDigitizeCurve" shape="rect" coords="194,616,378,640"/>
<area href="classCmdSettingsExportFormat.html" title="Command for DlgSettingsExportFormat. " alt="CmdSettingsExportFormat" shape="rect" coords="194,672,378,696"/>
<area href="classCmdSettingsGeneral.html" title="Command for DlgSettingsGeneral. " alt="CmdSettingsGeneral" shape="rect" coords="194,728,378,752"/>
<area href="classCmdSettingsGridDisplay.html" title="Command for DlgSettingsGridDisplay. " alt="CmdSettingsGridDisplay" shape="rect" coords="194,784,378,808"/>
<area href="classCmdSettingsGridRemoval.html" title="Command for DlgSettingsGridRemoval. " alt="CmdSettingsGridRemoval" shape="rect" coords="194,840,378,864"/>
<area href="classCmdSettingsPointMatch.html" title="Command for DlgSettingsPointMatch. " alt="CmdSettingsPointMatch" shape="rect" coords="194,896,378,920"/>
<area href="classCmdSettingsSegments.html" title="Command for DlgSettingsSegments. " alt="CmdSettingsSegments" shape="rect" coords="194,952,378,976"/>
<area href="classCmdUndoForTest.html" title="Command for performing Undo during testing. " alt="CmdUndoForTest" shape="rect" coords="194,1008,378,1032"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac72811efd47fdd6c6df8b13e42166d36"><td class="memItemLeft" align="right" valign="top"><a id="ac72811efd47fdd6c6df8b13e42166d36"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCmdAbstract.html#ac72811efd47fdd6c6df8b13e42166d36">CmdAbstract</a> (<a class="el" href="classMainWindow.html">MainWindow</a> &amp;<a class="el" href="classCmdAbstract.html#a3ea2ab7af0ae3adcc52353b515fef6da">mainWindow</a>, <a class="el" href="classDocument.html">Document</a> &amp;<a class="el" href="classCmdAbstract.html#a0ca4bcc93bc50bb28a0fc3c8613149d9">document</a>, const QString &amp;cmdDescription)</td></tr>
<tr class="memdesc:ac72811efd47fdd6c6df8b13e42166d36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Single constructor. <br /></td></tr>
<tr class="separator:ac72811efd47fdd6c6df8b13e42166d36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcb58a24900292c6706a7ed0461850c6"><td class="memItemLeft" align="right" valign="top"><a id="afcb58a24900292c6706a7ed0461850c6"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCmdAbstract.html#afcb58a24900292c6706a7ed0461850c6">cmdRedo</a> ()=0</td></tr>
<tr class="memdesc:afcb58a24900292c6706a7ed0461850c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redo method that is called when QUndoStack is moved one command forward. <br /></td></tr>
<tr class="separator:afcb58a24900292c6706a7ed0461850c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4273aa6a574b5c1bb81faedeb68d9cf2"><td class="memItemLeft" align="right" valign="top"><a id="a4273aa6a574b5c1bb81faedeb68d9cf2"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCmdAbstract.html#a4273aa6a574b5c1bb81faedeb68d9cf2">cmdUndo</a> ()=0</td></tr>
<tr class="memdesc:a4273aa6a574b5c1bb81faedeb68d9cf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Undo method that is called when QUndoStack is moved one command backward. <br /></td></tr>
<tr class="separator:a4273aa6a574b5c1bb81faedeb68d9cf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94687ca218091f28a64e4a29c11aff7d"><td class="memItemLeft" align="right" valign="top"><a id="a94687ca218091f28a64e4a29c11aff7d"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCmdAbstract.html#a94687ca218091f28a64e4a29c11aff7d">saveXml</a> (QXmlStreamWriter &amp;writer) const =0</td></tr>
<tr class="memdesc:a94687ca218091f28a64e4a29c11aff7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save commands as xml for later uploading. <br /></td></tr>
<tr class="separator:a94687ca218091f28a64e4a29c11aff7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a0ca4bcc93bc50bb28a0fc3c8613149d9"><td class="memItemLeft" align="right" valign="top"><a id="a0ca4bcc93bc50bb28a0fc3c8613149d9"></a>
<a class="el" href="classDocument.html">Document</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCmdAbstract.html#a0ca4bcc93bc50bb28a0fc3c8613149d9">document</a> ()</td></tr>
<tr class="memdesc:a0ca4bcc93bc50bb28a0fc3c8613149d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the <a class="el" href="classDocument.html" title="Storage of one imported image and the data attached to that image. ">Document</a> that this command will modify during redo and undo. <br /></td></tr>
<tr class="separator:a0ca4bcc93bc50bb28a0fc3c8613149d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc64cafbfd8c29cf064c0e294ed57499"><td class="memItemLeft" align="right" valign="top"><a id="acc64cafbfd8c29cf064c0e294ed57499"></a>
const <a class="el" href="classDocument.html">Document</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCmdAbstract.html#acc64cafbfd8c29cf064c0e294ed57499">document</a> () const</td></tr>
<tr class="memdesc:acc64cafbfd8c29cf064c0e294ed57499"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a const copy of the <a class="el" href="classDocument.html" title="Storage of one imported image and the data attached to that image. ">Document</a> for non redo/undo interaction. <br /></td></tr>
<tr class="separator:acc64cafbfd8c29cf064c0e294ed57499"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ea2ab7af0ae3adcc52353b515fef6da"><td class="memItemLeft" align="right" valign="top"><a id="a3ea2ab7af0ae3adcc52353b515fef6da"></a>
<a class="el" href="classMainWindow.html">MainWindow</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCmdAbstract.html#a3ea2ab7af0ae3adcc52353b515fef6da">mainWindow</a> ()</td></tr>
<tr class="memdesc:a3ea2ab7af0ae3adcc52353b515fef6da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the <a class="el" href="classMainWindow.html" title="Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...">MainWindow</a> so it can be updated by this command as a last step. <br /></td></tr>
<tr class="separator:a3ea2ab7af0ae3adcc52353b515fef6da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f1889b10cd11cc389ece119b51cd7ca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCmdAbstract.html#a8f1889b10cd11cc389ece119b51cd7ca">resetSelection</a> (const <a class="el" href="classPointIdentifiers.html">PointIdentifiers</a> &amp;pointIdentifiersToSelect)</td></tr>
<tr class="memdesc:a8f1889b10cd11cc389ece119b51cd7ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Since the set of selected points has probably changed, changed that set back to the specified set.  <a href="#a8f1889b10cd11cc389ece119b51cd7ca">More...</a><br /></td></tr>
<tr class="separator:a8f1889b10cd11cc389ece119b51cd7ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fd6644a1c6b3b5ec83f93d45151fe9b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCmdAbstract.html#a5fd6644a1c6b3b5ec83f93d45151fe9b">saveOrCheckPostCommandDocumentStateHash</a> (const <a class="el" href="classDocument.html">Document</a> &amp;<a class="el" href="classCmdAbstract.html#a0ca4bcc93bc50bb28a0fc3c8613149d9">document</a>)</td></tr>
<tr class="memdesc:a5fd6644a1c6b3b5ec83f93d45151fe9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save, when called the first time, a hash value representing the state of the <a class="el" href="classDocument.html" title="Storage of one imported image and the data attached to that image. ">Document</a>.  <a href="#a5fd6644a1c6b3b5ec83f93d45151fe9b">More...</a><br /></td></tr>
<tr class="separator:a5fd6644a1c6b3b5ec83f93d45151fe9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dbb3735ca6106cdbbd781941810747a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCmdAbstract.html#a8dbb3735ca6106cdbbd781941810747a">saveOrCheckPreCommandDocumentStateHash</a> (const <a class="el" href="classDocument.html">Document</a> &amp;<a class="el" href="classCmdAbstract.html#a0ca4bcc93bc50bb28a0fc3c8613149d9">document</a>)</td></tr>
<tr class="memdesc:a8dbb3735ca6106cdbbd781941810747a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save, when called the first time, a hash value representing the state of the <a class="el" href="classDocument.html" title="Storage of one imported image and the data attached to that image. ">Document</a>.  <a href="#a8dbb3735ca6106cdbbd781941810747a">More...</a><br /></td></tr>
<tr class="separator:a8dbb3735ca6106cdbbd781941810747a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Wrapper around QUndoCommand. This simplifies the more complicated feature set of QUndoCommand. </p>

<p>Definition at line <a class="el" href="CmdAbstract_8h_source.html#l00019">19</a> of file <a class="el" href="CmdAbstract_8h_source.html">CmdAbstract.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a8f1889b10cd11cc389ece119b51cd7ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f1889b10cd11cc389ece119b51cd7ca">&sect;&nbsp;</a></span>resetSelection()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CmdAbstract::resetSelection </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPointIdentifiers.html">PointIdentifiers</a> &amp;&#160;</td>
          <td class="paramname"><em>pointIdentifiersToSelect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Since the set of selected points has probably changed, changed that set back to the specified set. </p>
<p>This lets the user move selected point(s) repeatedly using arrow keys. Also provides expected behavior when pasting </p>

<p>Definition at line <a class="el" href="CmdAbstract_8cpp_source.html#l00081">81</a> of file <a class="el" href="CmdAbstract_8cpp_source.html">CmdAbstract.cpp</a>.</p>

</div>
</div>
<a id="a5fd6644a1c6b3b5ec83f93d45151fe9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fd6644a1c6b3b5ec83f93d45151fe9b">&sect;&nbsp;</a></span>saveOrCheckPostCommandDocumentStateHash()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CmdAbstract::saveOrCheckPostCommandDocumentStateHash </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDocument.html">Document</a> &amp;&#160;</td>
          <td class="paramname"><em>document</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Save, when called the first time, a hash value representing the state of the <a class="el" href="classDocument.html" title="Storage of one imported image and the data attached to that image. ">Document</a>. </p>
<p>Then on succeeding calls the hash is recomputed and compared to the original value to check for consistency. This "post" method is called immediately after the redo method of the subclass has done its processing. See also saveOrCheckPreCommandDocumentState </p>

<p>Definition at line <a class="el" href="CmdAbstract_8cpp_source.html#l00102">102</a> of file <a class="el" href="CmdAbstract_8cpp_source.html">CmdAbstract.cpp</a>.</p>

</div>
</div>
<a id="a8dbb3735ca6106cdbbd781941810747a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dbb3735ca6106cdbbd781941810747a">&sect;&nbsp;</a></span>saveOrCheckPreCommandDocumentStateHash()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CmdAbstract::saveOrCheckPreCommandDocumentStateHash </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDocument.html">Document</a> &amp;&#160;</td>
          <td class="paramname"><em>document</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Save, when called the first time, a hash value representing the state of the <a class="el" href="classDocument.html" title="Storage of one imported image and the data attached to that image. ">Document</a>. </p>
<p>Then on succeeding calls the hash is recomputed and compared to the original value to check for consistency. This "pre" method is called immediately after the redo method of the subclass has done its processing. See also saveOrCheckPostCommandDocumentState </p>

<p>Definition at line <a class="el" href="CmdAbstract_8cpp_source.html#l00125">125</a> of file <a class="el" href="CmdAbstract_8cpp_source.html">CmdAbstract.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Cmd/<a class="el" href="CmdAbstract_8h_source.html">CmdAbstract.h</a></li>
<li>Cmd/<a class="el" href="CmdAbstract_8cpp_source.html">CmdAbstract.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Dec 25 2016 20:54:12 for Engauge Digitizer by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>