src/eric7/Documentation/Source/eric7.Tools.TRSingleApplication.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10303
ee1aadab1215
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Tools.TRSingleApplication</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Tools.TRSingleApplication</h1>
10
11 <p>
12 Module implementing the single application server and client.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>SAFile</td></tr><tr><td>SALoadForm</td></tr><tr><td>SALoadTranslation</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#TRSingleApplicationClient">TRSingleApplicationClient</a></td>
25 <td>Class implementing the single application client of the Translations Previewer.</td>
26 </tr>
27 <tr>
28 <td><a href="#TRSingleApplicationServer">TRSingleApplicationServer</a></td>
29 <td>Class implementing the single application server embedded within the Translations Previewer.</td>
30 </tr>
31 </table>
32 <h3>Functions</h3>
33
34 <table>
35 <tr><td>None</td></tr>
36 </table>
37 <hr />
38 <hr />
39 <a NAME="TRSingleApplicationClient" ID="TRSingleApplicationClient"></a>
40 <h2>TRSingleApplicationClient</h2>
41
42 <p>
43 Class implementing the single application client of the Translations
44 Previewer.
45 </p>
46 <h3>Derived from</h3>
47 SingleApplicationClient
48 <h3>Class Attributes</h3>
49
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54
55 <table>
56 <tr><td>None</td></tr>
57 </table>
58 <h3>Methods</h3>
59
60 <table>
61
62 <tr>
63 <td><a href="#TRSingleApplicationClient.__init__">TRSingleApplicationClient</a></td>
64 <td>Constructor</td>
65 </tr>
66 <tr>
67 <td><a href="#TRSingleApplicationClient.processArgs">processArgs</a></td>
68 <td>Public method to process the command line args passed to the UI.</td>
69 </tr>
70 </table>
71 <h3>Static Methods</h3>
72
73 <table>
74 <tr><td>None</td></tr>
75 </table>
76
77 <a NAME="TRSingleApplicationClient.__init__" ID="TRSingleApplicationClient.__init__"></a>
78 <h4>TRSingleApplicationClient (Constructor)</h4>
79 <b>TRSingleApplicationClient</b>(<i></i>)
80
81 <p>
82 Constructor
83 </p>
84 <a NAME="TRSingleApplicationClient.processArgs" ID="TRSingleApplicationClient.processArgs"></a>
85 <h4>TRSingleApplicationClient.processArgs</h4>
86 <b>processArgs</b>(<i>args</i>)
87
88 <p>
89 Public method to process the command line args passed to the UI.
90 </p>
91 <dl>
92
93 <dt><i>args</i></dt>
94 <dd>
95 list of files to open
96 </dd>
97 </dl>
98 <div align="right"><a href="#top">Up</a></div>
99 <hr />
100 <hr />
101 <a NAME="TRSingleApplicationServer" ID="TRSingleApplicationServer"></a>
102 <h2>TRSingleApplicationServer</h2>
103
104 <p>
105 Class implementing the single application server embedded within the
106 Translations Previewer.
107 </p>
108 <h3>Signals</h3>
109 <dl>
110
111 <dt>loadForm(str)</dt>
112 <dd>
113 emitted to load a form file
114 </dd>
115 <dt>loadTranslation(str, bool)</dt>
116 <dd>
117 emitted to load a translation file
118 </dd>
119 </dl>
120 <h3>Derived from</h3>
121 SingleApplicationServer
122 <h3>Class Attributes</h3>
123
124 <table>
125 <tr><td>None</td></tr>
126 </table>
127 <h3>Class Methods</h3>
128
129 <table>
130 <tr><td>None</td></tr>
131 </table>
132 <h3>Methods</h3>
133
134 <table>
135
136 <tr>
137 <td><a href="#TRSingleApplicationServer.__init__">TRSingleApplicationServer</a></td>
138 <td>Constructor</td>
139 </tr>
140 <tr>
141 <td><a href="#TRSingleApplicationServer.__saLoadForm">__saLoadForm</a></td>
142 <td>Private method used to handle the "Load Form" command.</td>
143 </tr>
144 <tr>
145 <td><a href="#TRSingleApplicationServer.__saLoadTranslation">__saLoadTranslation</a></td>
146 <td>Private method used to handle the "Load Translation" command.</td>
147 </tr>
148 <tr>
149 <td><a href="#TRSingleApplicationServer.handleCommand">handleCommand</a></td>
150 <td>Public slot to handle the command sent by the client.</td>
151 </tr>
152 </table>
153 <h3>Static Methods</h3>
154
155 <table>
156 <tr><td>None</td></tr>
157 </table>
158
159 <a NAME="TRSingleApplicationServer.__init__" ID="TRSingleApplicationServer.__init__"></a>
160 <h4>TRSingleApplicationServer (Constructor)</h4>
161 <b>TRSingleApplicationServer</b>(<i>parent</i>)
162
163 <p>
164 Constructor
165 </p>
166 <dl>
167
168 <dt><i>parent</i></dt>
169 <dd>
170 parent widget (QWidget)
171 </dd>
172 </dl>
173 <a NAME="TRSingleApplicationServer.__saLoadForm" ID="TRSingleApplicationServer.__saLoadForm"></a>
174 <h4>TRSingleApplicationServer.__saLoadForm</h4>
175 <b>__saLoadForm</b>(<i>fnames</i>)
176
177 <p>
178 Private method used to handle the "Load Form" command.
179 </p>
180 <dl>
181
182 <dt><i>fnames</i></dt>
183 <dd>
184 filenames of the forms to be loaded (list of strings)
185 </dd>
186 </dl>
187 <a NAME="TRSingleApplicationServer.__saLoadTranslation" ID="TRSingleApplicationServer.__saLoadTranslation"></a>
188 <h4>TRSingleApplicationServer.__saLoadTranslation</h4>
189 <b>__saLoadTranslation</b>(<i>fnames</i>)
190
191 <p>
192 Private method used to handle the "Load Translation" command.
193 </p>
194 <dl>
195
196 <dt><i>fnames</i></dt>
197 <dd>
198 filenames of the translations to be loaded
199 (list of strings)
200 </dd>
201 </dl>
202 <a NAME="TRSingleApplicationServer.handleCommand" ID="TRSingleApplicationServer.handleCommand"></a>
203 <h4>TRSingleApplicationServer.handleCommand</h4>
204 <b>handleCommand</b>(<i>command, arguments</i>)
205
206 <p>
207 Public slot to handle the command sent by the client.
208 </p>
209 <dl>
210
211 <dt><i>command</i> (str)</dt>
212 <dd>
213 command sent by the client
214 </dd>
215 <dt><i>arguments</i> (list of str)</dt>
216 <dd>
217 list of command arguments
218 </dd>
219 </dl>
220 <div align="right"><a href="#top">Up</a></div>
221 <hr />
222 </body></html>

eric ide

mercurial