diff -r eb218f60e411 -r 362689624e2d ExtensionProtobuf/Documentation/source/Plugin_Extension_Protobuf.PluginExtensionProtobuf.html --- a/ExtensionProtobuf/Documentation/source/Plugin_Extension_Protobuf.PluginExtensionProtobuf.html Sun Dec 11 11:52:17 2022 +0100 +++ b/ExtensionProtobuf/Documentation/source/Plugin_Extension_Protobuf.PluginExtensionProtobuf.html Mon Dec 12 16:55:43 2022 +0100 @@ -95,6 +95,14 @@ <td>Public method to deactivate this plug-in.</td> </tr> <tr> +<td><a href="#ProtobufExtensionPlugin.getFileIcon">getFileIcon</a></td> +<td>Public method to get the name of a file icon.</td> +</tr> +<tr> +<td><a href="#ProtobufExtensionPlugin.getLexer">getLexer</a></td> +<td>Public method to instantiate a Pygments Protocol Buffer lexer object.</td> +</tr> +<tr> <td><a href="#ProtobufExtensionPlugin.getPreferences">getPreferences</a></td> <td>Public method to retrieve the various settings values.</td> </tr> @@ -163,6 +171,58 @@ <p> Public method to deactivate this plug-in. </p> +<a NAME="ProtobufExtensionPlugin.getFileIcon" ID="ProtobufExtensionPlugin.getFileIcon"></a> +<h4>ProtobufExtensionPlugin.getFileIcon</h4> +<b>getFileIcon</b>(<i>filename=""</i>) + +<p> + Public method to get the name of a file icon. +</p> +<dl> + +<dt><i>filename</i> (str (optional))</dt> +<dd> +file name (defaults to "") +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +name of a file icon +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<a NAME="ProtobufExtensionPlugin.getLexer" ID="ProtobufExtensionPlugin.getLexer"></a> +<h4>ProtobufExtensionPlugin.getLexer</h4> +<b>getLexer</b>(<i>parent=None</i>) + +<p> + Public method to instantiate a Pygments Protocol Buffer lexer object. +</p> +<dl> + +<dt><i>parent</i> (QObject)</dt> +<dd> +reference to the parent object +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +reference to the instanciated lexer object +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +QsciLexer +</dd> +</dl> <a NAME="ProtobufExtensionPlugin.getPreferences" ID="ProtobufExtensionPlugin.getPreferences"></a> <h4>ProtobufExtensionPlugin.getPreferences</h4> <b>getPreferences</b>(<i>key</i>)