Documentation/Source/eric5.E5XML.ShortcutsWriter.html

Sat, 26 Jan 2013 12:44:46 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Jan 2013 12:44:46 +0100
branch
5_3_x
changeset 2374
f78ee0e8f96c
parent 1229
a8207dc73672
child 2386
bf6f0ded6071
permissions
-rw-r--r--

Regenerated the source docu with the HTML5 generator.

<!DOCTYPE html>
<html><head>
<title>eric5.E5XML.ShortcutsWriter</title>
<meta charset="UTF-8">
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.E5XML.ShortcutsWriter</h1>
<p>
Module implementing the writer class for writing an XML shortcuts file.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#ShortcutsWriter">ShortcutsWriter</a></td>
<td>Class implementing the writer class for writing an XML shortcuts file.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="ShortcutsWriter" ID="ShortcutsWriter"></a>
<h2>ShortcutsWriter</h2>
<p>
    Class implementing the writer class for writing an XML shortcuts file.
</p>
<h3>Derived from</h3>
XMLStreamWriterBase
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#ShortcutsWriter.__init__">ShortcutsWriter</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#ShortcutsWriter.__writeActions">__writeActions</a></td>
<td>Private method to write the shortcuts for the given actions.</td>
</tr><tr>
<td><a href="#ShortcutsWriter.writeXML">writeXML</a></td>
<td>Public method to write the XML to the file.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="ShortcutsWriter.__init__" ID="ShortcutsWriter.__init__"></a>
<h4>ShortcutsWriter (Constructor)</h4>
<b>ShortcutsWriter</b>(<i>device</i>)
<p>
        Constructor
</p><dl>
<dt><i>device</i></dt>
<dd>
reference to the I/O device to write to (QIODevice)
</dd>
</dl><a NAME="ShortcutsWriter.__writeActions" ID="ShortcutsWriter.__writeActions"></a>
<h4>ShortcutsWriter.__writeActions</h4>
<b>__writeActions</b>(<i>category, actions</i>)
<p>
        Private method to write the shortcuts for the given actions.
</p><dl>
<dt><i>category</i></dt>
<dd>
category the actions belong to (string)
</dd><dt><i>actions</i></dt>
<dd>
list of actions to write (E5Action)
</dd>
</dl><a NAME="ShortcutsWriter.writeXML" ID="ShortcutsWriter.writeXML"></a>
<h4>ShortcutsWriter.writeXML</h4>
<b>writeXML</b>(<i></i>)
<p>
        Public method to write the XML to the file.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial