eric7/Documentation/Source/eric7.EricXML.ShortcutsReader.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.EricXML.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>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.EricXML.ShortcutsReader</h1>
24
25 <p>
26 Module implementing a class for reading an XML shortcuts file.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#ShortcutsReader">ShortcutsReader</a></td>
39 <td>Class for reading an XML shortcuts file.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="ShortcutsReader" ID="ShortcutsReader"></a>
50 <h2>ShortcutsReader</h2>
51
52 <p>
53 Class for reading an XML shortcuts file.
54 </p>
55 <h3>Derived from</h3>
56 XMLStreamReaderBase
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>supportedVersions</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#ShortcutsReader.__init__">ShortcutsReader</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#ShortcutsReader.__readShortCut">__readShortCut</a></td>
77 <td>Private method to read the shortcut data.</td>
78 </tr>
79 <tr>
80 <td><a href="#ShortcutsReader.getShortcuts">getShortcuts</a></td>
81 <td>Public method to retrieve the shortcuts.</td>
82 </tr>
83 <tr>
84 <td><a href="#ShortcutsReader.readXML">readXML</a></td>
85 <td>Public method to read and parse the XML document.</td>
86 </tr>
87 </table>
88 <h3>Static Methods</h3>
89
90 <table>
91 <tr><td>None</td></tr>
92 </table>
93
94 <a NAME="ShortcutsReader.__init__" ID="ShortcutsReader.__init__"></a>
95 <h4>ShortcutsReader (Constructor)</h4>
96 <b>ShortcutsReader</b>(<i>device</i>)
97
98 <p>
99 Constructor
100 </p>
101 <dl>
102
103 <dt><i>device</i></dt>
104 <dd>
105 reference to the I/O device to read from (QIODevice)
106 </dd>
107 </dl>
108 <a NAME="ShortcutsReader.__readShortCut" ID="ShortcutsReader.__readShortCut"></a>
109 <h4>ShortcutsReader.__readShortCut</h4>
110 <b>__readShortCut</b>(<i></i>)
111
112 <p>
113 Private method to read the shortcut data.
114 </p>
115 <a NAME="ShortcutsReader.getShortcuts" ID="ShortcutsReader.getShortcuts"></a>
116 <h4>ShortcutsReader.getShortcuts</h4>
117 <b>getShortcuts</b>(<i></i>)
118
119 <p>
120 Public method to retrieve the shortcuts.
121 </p>
122 <dl>
123 <dt>Return:</dt>
124 <dd>
125 Dictionary of dictionaries of shortcuts. The keys of the
126 dictionary are the categories, the values are dictionaries.
127 These dictionaries have the shortcut name as their key and
128 a tuple of accelerators as their value.
129 </dd>
130 </dl>
131 <a NAME="ShortcutsReader.readXML" ID="ShortcutsReader.readXML"></a>
132 <h4>ShortcutsReader.readXML</h4>
133 <b>readXML</b>(<i></i>)
134
135 <p>
136 Public method to read and parse the XML document.
137 </p>
138 <div align="right"><a href="#top">Up</a></div>
139 <hr />
140 </body></html>

eric ide

mercurial