Documentation/Source/eric6.E5XML.ShortcutsReader.html

changeset 3673
e26d7d0c1088
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.E5XML.ShortcutsReader</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.E5XML.ShortcutsReader</h1>
23 <p>
24 Module implementing a class for reading an XML shortcuts file.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#ShortcutsReader">ShortcutsReader</a></td>
34 <td>Class for reading an XML shortcuts file.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="ShortcutsReader" ID="ShortcutsReader"></a>
43 <h2>ShortcutsReader</h2>
44 <p>
45 Class for reading an XML shortcuts file.
46 </p>
47 <h3>Derived from</h3>
48 XMLStreamReaderBase
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>supportedVersions</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#ShortcutsReader.__init__">ShortcutsReader</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#ShortcutsReader.__readShortCut">__readShortCut</a></td>
64 <td>Private method to read the shortcut data.</td>
65 </tr><tr>
66 <td><a href="#ShortcutsReader.getShortcuts">getShortcuts</a></td>
67 <td>Public method to retrieve the shortcuts.</td>
68 </tr><tr>
69 <td><a href="#ShortcutsReader.readXML">readXML</a></td>
70 <td>Public method to read and parse the XML document.</td>
71 </tr>
72 </table>
73 <h3>Static Methods</h3>
74 <table>
75 <tr><td>None</td></tr>
76 </table>
77 <a NAME="ShortcutsReader.__init__" ID="ShortcutsReader.__init__"></a>
78 <h4>ShortcutsReader (Constructor)</h4>
79 <b>ShortcutsReader</b>(<i>device</i>)
80 <p>
81 Constructor
82 </p><dl>
83 <dt><i>device</i></dt>
84 <dd>
85 reference to the I/O device to read from (QIODevice)
86 </dd>
87 </dl><a NAME="ShortcutsReader.__readShortCut" ID="ShortcutsReader.__readShortCut"></a>
88 <h4>ShortcutsReader.__readShortCut</h4>
89 <b>__readShortCut</b>(<i></i>)
90 <p>
91 Private method to read the shortcut data.
92 </p><a NAME="ShortcutsReader.getShortcuts" ID="ShortcutsReader.getShortcuts"></a>
93 <h4>ShortcutsReader.getShortcuts</h4>
94 <b>getShortcuts</b>(<i></i>)
95 <p>
96 Public method to retrieve the shortcuts.
97 </p><dl>
98 <dt>Returns:</dt>
99 <dd>
100 Dictionary of dictionaries of shortcuts. The keys of the
101 dictionary are the categories, the values are dictionaries.
102 These dictionaries have the shortcut name as their key and
103 a tuple of accelerators as their value.
104 </dd>
105 </dl><a NAME="ShortcutsReader.readXML" ID="ShortcutsReader.readXML"></a>
106 <h4>ShortcutsReader.readXML</h4>
107 <b>readXML</b>(<i></i>)
108 <p>
109 Public method to read and parse the XML document.
110 </p>
111 <div align="right"><a href="#top">Up</a></div>
112 <hr />
113 </body></html>

eric ide

mercurial