53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#SyntaxCheckerPlugin.__init__">SyntaxCheckerPlugin</a></td> |
57 <td><a href="#SyntaxCheckerPlugin.__init__">SyntaxCheckerPlugin</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#SyntaxCheckerPlugin.__editorClosed">__editorClosed</a></td> |
60 <td><a href="#SyntaxCheckerPlugin.__editorClosed">__editorClosed</a></td> |
61 <td>Private slot called, when an editor was closed.</td> |
61 <td>Private slot called, when an editor was closed.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#SyntaxCheckerPlugin.__editorOpened">__editorOpened</a></td> |
63 <td><a href="#SyntaxCheckerPlugin.__editorOpened">__editorOpened</a></td> |
64 <td>Private slot called, when a new editor was opened.</td> |
64 <td>Private slot called, when a new editor was opened.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#SyntaxCheckerPlugin.__editorShowMenu">__editorShowMenu</a></td> |
66 <td><a href="#SyntaxCheckerPlugin.__editorShowMenu">__editorShowMenu</a></td> |
67 <td>Private slot called, when the the editor context menu or a submenu is about to be shown.</td> |
67 <td>Private slot called, when the the editor context menu or a submenu is about to be shown.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#SyntaxCheckerPlugin.__editorSyntaxCheck">__editorSyntaxCheck</a></td> |
69 <td><a href="#SyntaxCheckerPlugin.__editorSyntaxCheck">__editorSyntaxCheck</a></td> |
70 <td>Private slot to handle the syntax check context menu action of the editors.</td> |
70 <td>Private slot to handle the syntax check context menu action of the editors.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#SyntaxCheckerPlugin.__initialize">__initialize</a></td> |
72 <td><a href="#SyntaxCheckerPlugin.__initialize">__initialize</a></td> |
73 <td>Private slot to (re)initialize the plugin.</td> |
73 <td>Private slot to (re)initialize the plugin.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#SyntaxCheckerPlugin.__projectBrowserShowMenu">__projectBrowserShowMenu</a></td> |
75 <td><a href="#SyntaxCheckerPlugin.__projectBrowserShowMenu">__projectBrowserShowMenu</a></td> |
76 <td>Private slot called, when the the project browser menu or a submenu is about to be shown.</td> |
76 <td>Private slot called, when the the project browser menu or a submenu is about to be shown.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#SyntaxCheckerPlugin.__projectBrowserSyntaxCheck">__projectBrowserSyntaxCheck</a></td> |
78 <td><a href="#SyntaxCheckerPlugin.__projectBrowserSyntaxCheck">__projectBrowserSyntaxCheck</a></td> |
79 <td>Private method to handle the syntax check context menu action of the project sources browser.</td> |
79 <td>Private method to handle the syntax check context menu action of the project sources browser.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#SyntaxCheckerPlugin.__projectShowMenu">__projectShowMenu</a></td> |
81 <td><a href="#SyntaxCheckerPlugin.__projectShowMenu">__projectShowMenu</a></td> |
82 <td>Private slot called, when the the project menu or a submenu is about to be shown.</td> |
82 <td>Private slot called, when the the project menu or a submenu is about to be shown.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#SyntaxCheckerPlugin.__projectSyntaxCheck">__projectSyntaxCheck</a></td> |
84 <td><a href="#SyntaxCheckerPlugin.__projectSyntaxCheck">__projectSyntaxCheck</a></td> |
85 <td>Public slot used to check the project files for bad indentations.</td> |
85 <td>Public slot used to check the project files for bad indentations.</td> |
86 </tr><tr> |
86 </tr><tr> |
87 <td><a href="#SyntaxCheckerPlugin.activate">activate</a></td> |
87 <td><a href="#SyntaxCheckerPlugin.activate">activate</a></td> |
88 <td>Public method to activate this plugin.</td> |
88 <td>Public method to activate this plugin.</td> |
89 </tr><tr> |
89 </tr><tr> |
90 <td><a href="#SyntaxCheckerPlugin.deactivate">deactivate</a></td> |
90 <td><a href="#SyntaxCheckerPlugin.deactivate">deactivate</a></td> |
91 <td>Public method to deactivate this plugin.</td> |
91 <td>Public method to deactivate this plugin.</td> |
92 </tr> |
92 </tr> |
93 </table> |
93 </table> |
94 <a NAME="SyntaxCheckerPlugin.__init__" ID="SyntaxCheckerPlugin.__init__"></a> |
94 <a NAME="SyntaxCheckerPlugin.__init__" ID="SyntaxCheckerPlugin.__init__"></a> |
95 <h4>SyntaxCheckerPlugin (Constructor)</h4> |
95 <h4>SyntaxCheckerPlugin (Constructor)</h4> |
96 <b>SyntaxCheckerPlugin</b>(<i>ui</i>) |
96 <b>SyntaxCheckerPlugin</b>(<i>ui</i>) |
97 <p> |
97 <p> |
98 Constructor |
98 Constructor |
99 </p><dl> |
99 </p><dl> |
100 <dt><i>ui</i></dt> |
100 <dt><i>ui</i></dt> |
101 <dd> |
101 <dd> |
102 reference to the user interface object (UI.UserInterface) |
102 reference to the user interface object (UI.UserInterface) |
103 </dd> |
103 </dd> |
104 </dl><a NAME="SyntaxCheckerPlugin.__editorClosed" ID="SyntaxCheckerPlugin.__editorClosed"></a> |
104 </dl><a NAME="SyntaxCheckerPlugin.__editorClosed" ID="SyntaxCheckerPlugin.__editorClosed"></a> |
105 <h4>SyntaxCheckerPlugin.__editorClosed</h4> |
105 <h4>SyntaxCheckerPlugin.__editorClosed</h4> |
106 <b>__editorClosed</b>(<i>editor</i>) |
106 <b>__editorClosed</b>(<i>editor</i>) |
107 <p> |
107 <p> |
108 Private slot called, when an editor was closed. |
108 Private slot called, when an editor was closed. |
109 </p><dl> |
109 </p><dl> |
110 <dt><i>editor</i></dt> |
110 <dt><i>editor</i></dt> |
111 <dd> |
111 <dd> |
112 reference to the editor (QScintilla.Editor) |
112 reference to the editor (QScintilla.Editor) |
113 </dd> |
113 </dd> |
114 </dl><a NAME="SyntaxCheckerPlugin.__editorOpened" ID="SyntaxCheckerPlugin.__editorOpened"></a> |
114 </dl><a NAME="SyntaxCheckerPlugin.__editorOpened" ID="SyntaxCheckerPlugin.__editorOpened"></a> |
115 <h4>SyntaxCheckerPlugin.__editorOpened</h4> |
115 <h4>SyntaxCheckerPlugin.__editorOpened</h4> |
116 <b>__editorOpened</b>(<i>editor</i>) |
116 <b>__editorOpened</b>(<i>editor</i>) |
117 <p> |
117 <p> |
118 Private slot called, when a new editor was opened. |
118 Private slot called, when a new editor was opened. |
119 </p><dl> |
119 </p><dl> |
120 <dt><i>editor</i></dt> |
120 <dt><i>editor</i></dt> |
121 <dd> |
121 <dd> |
122 reference to the new editor (QScintilla.Editor) |
122 reference to the new editor (QScintilla.Editor) |
123 </dd> |
123 </dd> |
124 </dl><a NAME="SyntaxCheckerPlugin.__editorShowMenu" ID="SyntaxCheckerPlugin.__editorShowMenu"></a> |
124 </dl><a NAME="SyntaxCheckerPlugin.__editorShowMenu" ID="SyntaxCheckerPlugin.__editorShowMenu"></a> |
125 <h4>SyntaxCheckerPlugin.__editorShowMenu</h4> |
125 <h4>SyntaxCheckerPlugin.__editorShowMenu</h4> |
126 <b>__editorShowMenu</b>(<i>menuName, menu, editor</i>) |
126 <b>__editorShowMenu</b>(<i>menuName, menu, editor</i>) |
127 <p> |
127 <p> |
128 Private slot called, when the the editor context menu or a submenu is |
128 Private slot called, when the the editor context menu or a submenu is |
129 about to be shown. |
129 about to be shown. |
130 </p><dl> |
130 </p><dl> |
131 <dt><i>menuName</i></dt> |
131 <dt><i>menuName</i></dt> |
132 <dd> |
132 <dd> |
133 name of the menu to be shown (string) |
133 name of the menu to be shown (string) |
134 </dd><dt><i>menu</i></dt> |
134 </dd><dt><i>menu</i></dt> |
135 <dd> |
135 <dd> |
136 reference to the menu (QMenu) |
136 reference to the menu (QMenu) |
137 </dd><dt><i>editor</i></dt> |
137 </dd><dt><i>editor</i></dt> |
138 <dd> |
138 <dd> |
139 reference to the editor |
139 reference to the editor |
140 </dd> |
140 </dd> |
141 </dl><a NAME="SyntaxCheckerPlugin.__editorSyntaxCheck" ID="SyntaxCheckerPlugin.__editorSyntaxCheck"></a> |
141 </dl><a NAME="SyntaxCheckerPlugin.__editorSyntaxCheck" ID="SyntaxCheckerPlugin.__editorSyntaxCheck"></a> |
142 <h4>SyntaxCheckerPlugin.__editorSyntaxCheck</h4> |
142 <h4>SyntaxCheckerPlugin.__editorSyntaxCheck</h4> |
143 <b>__editorSyntaxCheck</b>(<i></i>) |
143 <b>__editorSyntaxCheck</b>(<i></i>) |
144 <p> |
144 <p> |
145 Private slot to handle the syntax check context menu action of the editors. |
145 Private slot to handle the syntax check context menu action of the editors. |
146 </p><a NAME="SyntaxCheckerPlugin.__initialize" ID="SyntaxCheckerPlugin.__initialize"></a> |
146 </p><a NAME="SyntaxCheckerPlugin.__initialize" ID="SyntaxCheckerPlugin.__initialize"></a> |
147 <h4>SyntaxCheckerPlugin.__initialize</h4> |
147 <h4>SyntaxCheckerPlugin.__initialize</h4> |
148 <b>__initialize</b>(<i></i>) |
148 <b>__initialize</b>(<i></i>) |
149 <p> |
149 <p> |
150 Private slot to (re)initialize the plugin. |
150 Private slot to (re)initialize the plugin. |
151 </p><a NAME="SyntaxCheckerPlugin.__projectBrowserShowMenu" ID="SyntaxCheckerPlugin.__projectBrowserShowMenu"></a> |
151 </p><a NAME="SyntaxCheckerPlugin.__projectBrowserShowMenu" ID="SyntaxCheckerPlugin.__projectBrowserShowMenu"></a> |
152 <h4>SyntaxCheckerPlugin.__projectBrowserShowMenu</h4> |
152 <h4>SyntaxCheckerPlugin.__projectBrowserShowMenu</h4> |
153 <b>__projectBrowserShowMenu</b>(<i>menuName, menu</i>) |
153 <b>__projectBrowserShowMenu</b>(<i>menuName, menu</i>) |
154 <p> |
154 <p> |
155 Private slot called, when the the project browser menu or a submenu is |
155 Private slot called, when the the project browser menu or a submenu is |
156 about to be shown. |
156 about to be shown. |
157 </p><dl> |
157 </p><dl> |
158 <dt><i>menuName</i></dt> |
158 <dt><i>menuName</i></dt> |
159 <dd> |
159 <dd> |
160 name of the menu to be shown (string) |
160 name of the menu to be shown (string) |
161 </dd><dt><i>menu</i></dt> |
161 </dd><dt><i>menu</i></dt> |
162 <dd> |
162 <dd> |
163 reference to the menu (QMenu) |
163 reference to the menu (QMenu) |
164 </dd> |
164 </dd> |
165 </dl><a NAME="SyntaxCheckerPlugin.__projectBrowserSyntaxCheck" ID="SyntaxCheckerPlugin.__projectBrowserSyntaxCheck"></a> |
165 </dl><a NAME="SyntaxCheckerPlugin.__projectBrowserSyntaxCheck" ID="SyntaxCheckerPlugin.__projectBrowserSyntaxCheck"></a> |
166 <h4>SyntaxCheckerPlugin.__projectBrowserSyntaxCheck</h4> |
166 <h4>SyntaxCheckerPlugin.__projectBrowserSyntaxCheck</h4> |
167 <b>__projectBrowserSyntaxCheck</b>(<i></i>) |
167 <b>__projectBrowserSyntaxCheck</b>(<i></i>) |
168 <p> |
168 <p> |
169 Private method to handle the syntax check context menu action of the project |
169 Private method to handle the syntax check context menu action of the project |
170 sources browser. |
170 sources browser. |
171 </p><a NAME="SyntaxCheckerPlugin.__projectShowMenu" ID="SyntaxCheckerPlugin.__projectShowMenu"></a> |
171 </p><a NAME="SyntaxCheckerPlugin.__projectShowMenu" ID="SyntaxCheckerPlugin.__projectShowMenu"></a> |
172 <h4>SyntaxCheckerPlugin.__projectShowMenu</h4> |
172 <h4>SyntaxCheckerPlugin.__projectShowMenu</h4> |
173 <b>__projectShowMenu</b>(<i>menuName, menu</i>) |
173 <b>__projectShowMenu</b>(<i>menuName, menu</i>) |
174 <p> |
174 <p> |
175 Private slot called, when the the project menu or a submenu is |
175 Private slot called, when the the project menu or a submenu is |
176 about to be shown. |
176 about to be shown. |
177 </p><dl> |
177 </p><dl> |
178 <dt><i>menuName</i></dt> |
178 <dt><i>menuName</i></dt> |
179 <dd> |
179 <dd> |
180 name of the menu to be shown (string) |
180 name of the menu to be shown (string) |
181 </dd><dt><i>menu</i></dt> |
181 </dd><dt><i>menu</i></dt> |
182 <dd> |
182 <dd> |
183 reference to the menu (QMenu) |
183 reference to the menu (QMenu) |
184 </dd> |
184 </dd> |
185 </dl><a NAME="SyntaxCheckerPlugin.__projectSyntaxCheck" ID="SyntaxCheckerPlugin.__projectSyntaxCheck"></a> |
185 </dl><a NAME="SyntaxCheckerPlugin.__projectSyntaxCheck" ID="SyntaxCheckerPlugin.__projectSyntaxCheck"></a> |
186 <h4>SyntaxCheckerPlugin.__projectSyntaxCheck</h4> |
186 <h4>SyntaxCheckerPlugin.__projectSyntaxCheck</h4> |
187 <b>__projectSyntaxCheck</b>(<i></i>) |
187 <b>__projectSyntaxCheck</b>(<i></i>) |
188 <p> |
188 <p> |
189 Public slot used to check the project files for bad indentations. |
189 Public slot used to check the project files for bad indentations. |
190 </p><a NAME="SyntaxCheckerPlugin.activate" ID="SyntaxCheckerPlugin.activate"></a> |
190 </p><a NAME="SyntaxCheckerPlugin.activate" ID="SyntaxCheckerPlugin.activate"></a> |
191 <h4>SyntaxCheckerPlugin.activate</h4> |
191 <h4>SyntaxCheckerPlugin.activate</h4> |
192 <b>activate</b>(<i></i>) |
192 <b>activate</b>(<i></i>) |
193 <p> |
193 <p> |
194 Public method to activate this plugin. |
194 Public method to activate this plugin. |
195 </p><dl> |
195 </p><dl> |
196 <dt>Returns:</dt> |
196 <dt>Returns:</dt> |
197 <dd> |
197 <dd> |
198 tuple of None and activation status (boolean) |
198 tuple of None and activation status (boolean) |
199 </dd> |
199 </dd> |
200 </dl><a NAME="SyntaxCheckerPlugin.deactivate" ID="SyntaxCheckerPlugin.deactivate"></a> |
200 </dl><a NAME="SyntaxCheckerPlugin.deactivate" ID="SyntaxCheckerPlugin.deactivate"></a> |
201 <h4>SyntaxCheckerPlugin.deactivate</h4> |
201 <h4>SyntaxCheckerPlugin.deactivate</h4> |
202 <b>deactivate</b>(<i></i>) |
202 <b>deactivate</b>(<i></i>) |
203 <p> |
203 <p> |
204 Public method to deactivate this plugin. |
204 Public method to deactivate this plugin. |
205 </p> |
205 </p> |
206 <div align="right"><a href="#top">Up</a></div> |
206 <div align="right"><a href="#top">Up</a></div> |
207 <hr /> |
207 <hr /> |
208 </body></html> |
208 </body></html> |