Documentation/Source/eric6.Tools.TRSingleApplication.html

changeset 3673
e26d7d0c1088
child 6632
084880ed940c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric6.Tools.TRSingleApplication.html	Sat Jul 05 12:29:15 2014 +0200
@@ -0,0 +1,185 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric6.Tools.TRSingleApplication</title>
+<meta charset="UTF-8">
+<style>
+body {
+    background: #EDECE6;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #85774A; }
+h2 { color: white; background: #85774A; }
+h3 { color: white; background: #9D936E; }
+h4 { color: white; background: #9D936E; }
+    
+a { color: #BA6D36; }
+
+</style>
+</head>
+<body><a NAME="top" ID="top"></a>
+<h1>eric6.Tools.TRSingleApplication</h1>
+<p>
+Module implementing the single application server and client.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>SAFile</td></tr><tr><td>SALoadForm</td></tr><tr><td>SALoadTranslation</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#TRSingleApplicationClient">TRSingleApplicationClient</a></td>
+<td>Class implementing the single application client of the Translations Previewer.</td>
+</tr><tr>
+<td><a href="#TRSingleApplicationServer">TRSingleApplicationServer</a></td>
+<td>Class implementing the single application server embedded within the Translations Previewer.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="TRSingleApplicationClient" ID="TRSingleApplicationClient"></a>
+<h2>TRSingleApplicationClient</h2>
+<p>
+    Class implementing the single application client of the Translations
+    Previewer.
+</p>
+<h3>Derived from</h3>
+SingleApplicationClient
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Class Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#TRSingleApplicationClient.__init__">TRSingleApplicationClient</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#TRSingleApplicationClient.processArgs">processArgs</a></td>
+<td>Public method to process the command line args passed to the UI.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="TRSingleApplicationClient.__init__" ID="TRSingleApplicationClient.__init__"></a>
+<h4>TRSingleApplicationClient (Constructor)</h4>
+<b>TRSingleApplicationClient</b>(<i></i>)
+<p>
+        Constructor
+</p><a NAME="TRSingleApplicationClient.processArgs" ID="TRSingleApplicationClient.processArgs"></a>
+<h4>TRSingleApplicationClient.processArgs</h4>
+<b>processArgs</b>(<i>args</i>)
+<p>
+        Public method to process the command line args passed to the UI.
+</p><dl>
+<dt><i>args</i></dt>
+<dd>
+list of files to open
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
+<a NAME="TRSingleApplicationServer" ID="TRSingleApplicationServer"></a>
+<h2>TRSingleApplicationServer</h2>
+<p>
+    Class implementing the single application server embedded within the
+    Translations Previewer.
+</p><h3>Signals</h3>
+<dl>
+<dt>loadForm(str)</dt>
+<dd>
+emitted to load a form file
+</dd><dt>loadTranslation(str, bool)</dt>
+<dd>
+emitted to load a translation file
+</dd>
+</dl>
+<h3>Derived from</h3>
+SingleApplicationServer
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Class Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#TRSingleApplicationServer.__init__">TRSingleApplicationServer</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#TRSingleApplicationServer.__saLoadForm">__saLoadForm</a></td>
+<td>Private method used to handle the "Load Form" command.</td>
+</tr><tr>
+<td><a href="#TRSingleApplicationServer.__saLoadTranslation">__saLoadTranslation</a></td>
+<td>Private method used to handle the "Load Translation" command.</td>
+</tr><tr>
+<td><a href="#TRSingleApplicationServer.handleCommand">handleCommand</a></td>
+<td>Public slot to handle the command sent by the client.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="TRSingleApplicationServer.__init__" ID="TRSingleApplicationServer.__init__"></a>
+<h4>TRSingleApplicationServer (Constructor)</h4>
+<b>TRSingleApplicationServer</b>(<i>parent</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>parent</i></dt>
+<dd>
+parent widget (QWidget)
+</dd>
+</dl><a NAME="TRSingleApplicationServer.__saLoadForm" ID="TRSingleApplicationServer.__saLoadForm"></a>
+<h4>TRSingleApplicationServer.__saLoadForm</h4>
+<b>__saLoadForm</b>(<i>fnames</i>)
+<p>
+        Private method used to handle the "Load Form" command.
+</p><dl>
+<dt><i>fnames</i></dt>
+<dd>
+filenames of the forms to be loaded (list of strings)
+</dd>
+</dl><a NAME="TRSingleApplicationServer.__saLoadTranslation" ID="TRSingleApplicationServer.__saLoadTranslation"></a>
+<h4>TRSingleApplicationServer.__saLoadTranslation</h4>
+<b>__saLoadTranslation</b>(<i>fnames</i>)
+<p>
+        Private method used to handle the "Load Translation" command.
+</p><dl>
+<dt><i>fnames</i></dt>
+<dd>
+filenames of the translations to be loaded
+            (list of strings)
+</dd>
+</dl><a NAME="TRSingleApplicationServer.handleCommand" ID="TRSingleApplicationServer.handleCommand"></a>
+<h4>TRSingleApplicationServer.handleCommand</h4>
+<b>handleCommand</b>(<i>cmd, params</i>)
+<p>
+        Public slot to handle the command sent by the client.
+</p><dl>
+<dt><i>cmd</i></dt>
+<dd>
+commandstring (string)
+</dd><dt><i>params</i></dt>
+<dd>
+parameterstring (string)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial