Documentation/Source/eric5.Tools.TRSingleApplication.html

Mon, 26 Jul 2010 19:59:27 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 26 Jul 2010 19:59:27 +0200
changeset 409
0ea528e80202
parent 58
37f0444c3479
child 440
69ace3e2dcf6
permissions
-rw-r--r--

Added another style for the source docu.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric5.Tools.TRSingleApplication</title>
<style>
body {
    background: white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: black; background: #C1BBA4; }
h4 { color: black; background: #C1BBA4; }
    
a { color: #C07037; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.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>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>
<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><h4>Signals</h4>
<dl>
<dt>loadForm(fname)</dt>
<dd>
emitted to load a form file
</dd><dt>loadTranslation(fname, first)</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>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>
<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>

eric ide

mercurial