23 <p> |
23 <p> |
24 Module implementing the Print Remover plug-in. |
24 Module implementing the Print Remover plug-in. |
25 </p> |
25 </p> |
26 <h3>Global Attributes</h3> |
26 <h3>Global Attributes</h3> |
27 <table> |
27 <table> |
28 <tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>printRemoverPluginObject</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> |
28 <tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>printRemoverPluginObject</td></tr><tr><td>pyqtApi</td></tr><tr><td>python2Compatible</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> |
29 </table> |
29 </table> |
30 <h3>Classes</h3> |
30 <h3>Classes</h3> |
31 <table> |
31 <table> |
32 <tr> |
32 <tr> |
33 <td><a href="#PrintRemoverPlugin">PrintRemoverPlugin</a></td> |
33 <td><a href="#PrintRemoverPlugin">PrintRemoverPlugin</a></td> |
73 <td>Private slot called, when an editor was closed.</td> |
73 <td>Private slot called, when an editor was closed.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#PrintRemoverPlugin.__editorOpened">__editorOpened</a></td> |
75 <td><a href="#PrintRemoverPlugin.__editorOpened">__editorOpened</a></td> |
76 <td>Private slot called, when a new editor was opened.</td> |
76 <td>Private slot called, when a new editor was opened.</td> |
77 </tr><tr> |
77 </tr><tr> |
|
78 <td><a href="#PrintRemoverPlugin.__initMenu">__initMenu</a></td> |
|
79 <td>Private method to initialize the menu.</td> |
|
80 </tr><tr> |
78 <td><a href="#PrintRemoverPlugin.__loadTranslator">__loadTranslator</a></td> |
81 <td><a href="#PrintRemoverPlugin.__loadTranslator">__loadTranslator</a></td> |
79 <td>Private method to load the translation file.</td> |
82 <td>Private method to load the translation file.</td> |
80 </tr><tr> |
83 </tr><tr> |
81 <td><a href="#PrintRemoverPlugin.__populateMenu">__populateMenu</a></td> |
84 <td><a href="#PrintRemoverPlugin.__populateMenu">__populateMenu</a></td> |
82 <td>Private slot to populate the tools menu with our entries.</td> |
85 <td>Private slot to populate the tools menu with our entries.</td> |
83 </tr><tr> |
86 </tr><tr> |
84 <td><a href="#PrintRemoverPlugin.__removeLine">__removeLine</a></td> |
87 <td><a href="#PrintRemoverPlugin.__removeLine">__removeLine</a></td> |
85 <td>Private slot to remove lines starting with the selected pattern.</td> |
88 <td>Private slot to remove lines starting with the selected pattern.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#PrintRemoverPlugin.__showMenu">__showMenu</a></td> |
|
91 <td>Private slot to build the menu hierarchy.</td> |
86 </tr><tr> |
92 </tr><tr> |
87 <td><a href="#PrintRemoverPlugin.activate">activate</a></td> |
93 <td><a href="#PrintRemoverPlugin.activate">activate</a></td> |
88 <td>Public method to activate this plugin.</td> |
94 <td>Public method to activate this plugin.</td> |
89 </tr><tr> |
95 </tr><tr> |
90 <td><a href="#PrintRemoverPlugin.deactivate">deactivate</a></td> |
96 <td><a href="#PrintRemoverPlugin.deactivate">deactivate</a></td> |
129 </p><dl> |
135 </p><dl> |
130 <dt><i>editor</i></dt> |
136 <dt><i>editor</i></dt> |
131 <dd> |
137 <dd> |
132 reference to the new editor (QScintilla.Editor) |
138 reference to the new editor (QScintilla.Editor) |
133 </dd> |
139 </dd> |
134 </dl><a NAME="PrintRemoverPlugin.__loadTranslator" ID="PrintRemoverPlugin.__loadTranslator"></a> |
140 </dl><a NAME="PrintRemoverPlugin.__initMenu" ID="PrintRemoverPlugin.__initMenu"></a> |
|
141 <h4>PrintRemoverPlugin.__initMenu</h4> |
|
142 <b>__initMenu</b>(<i></i>) |
|
143 <p> |
|
144 Private method to initialize the menu. |
|
145 </p><a NAME="PrintRemoverPlugin.__loadTranslator" ID="PrintRemoverPlugin.__loadTranslator"></a> |
135 <h4>PrintRemoverPlugin.__loadTranslator</h4> |
146 <h4>PrintRemoverPlugin.__loadTranslator</h4> |
136 <b>__loadTranslator</b>(<i></i>) |
147 <b>__loadTranslator</b>(<i></i>) |
137 <p> |
148 <p> |
138 Private method to load the translation file. |
149 Private method to load the translation file. |
139 </p><a NAME="PrintRemoverPlugin.__populateMenu" ID="PrintRemoverPlugin.__populateMenu"></a> |
150 </p><a NAME="PrintRemoverPlugin.__populateMenu" ID="PrintRemoverPlugin.__populateMenu"></a> |
152 </dl><a NAME="PrintRemoverPlugin.__removeLine" ID="PrintRemoverPlugin.__removeLine"></a> |
163 </dl><a NAME="PrintRemoverPlugin.__removeLine" ID="PrintRemoverPlugin.__removeLine"></a> |
153 <h4>PrintRemoverPlugin.__removeLine</h4> |
164 <h4>PrintRemoverPlugin.__removeLine</h4> |
154 <b>__removeLine</b>(<i></i>) |
165 <b>__removeLine</b>(<i></i>) |
155 <p> |
166 <p> |
156 Private slot to remove lines starting with the selected pattern. |
167 Private slot to remove lines starting with the selected pattern. |
|
168 </p><a NAME="PrintRemoverPlugin.__showMenu" ID="PrintRemoverPlugin.__showMenu"></a> |
|
169 <h4>PrintRemoverPlugin.__showMenu</h4> |
|
170 <b>__showMenu</b>(<i></i>) |
|
171 <p> |
|
172 Private slot to build the menu hierarchy. |
157 </p><a NAME="PrintRemoverPlugin.activate" ID="PrintRemoverPlugin.activate"></a> |
173 </p><a NAME="PrintRemoverPlugin.activate" ID="PrintRemoverPlugin.activate"></a> |
158 <h4>PrintRemoverPlugin.activate</h4> |
174 <h4>PrintRemoverPlugin.activate</h4> |
159 <b>activate</b>(<i></i>) |
175 <b>activate</b>(<i></i>) |
160 <p> |
176 <p> |
161 Public method to activate this plugin. |
177 Public method to activate this plugin. |