eric7.Tools.TRSingleApplication
Module implementing the single application server and client.
Global Attributes
SAFile |
SALoadForm |
SALoadTranslation |
Classes
Functions
TRSingleApplicationClient
Class implementing the single application client of the Translations
Previewer.
Derived from
SingleApplicationClient
Class Attributes
Class Methods
Methods
Static Methods
TRSingleApplicationClient (Constructor)
TRSingleApplicationClient()
Constructor
TRSingleApplicationClient.processArgs
processArgs(args)
Public method to process the command line args passed to the UI.
- args (argparse.Namespace)
-
namespace object containing the parsed command line parameters
TRSingleApplicationServer
Class implementing the single application server embedded within the
Translations Previewer.
Signals
- loadForm(str)
-
emitted to load a form file
- loadTranslation(str, bool)
-
emitted to load a translation file
Derived from
SingleApplicationServer
Class Attributes
Class Methods
Methods
Static Methods
TRSingleApplicationServer (Constructor)
TRSingleApplicationServer(parent)
Constructor
- parent (QWidget)
-
parent widget
TRSingleApplicationServer.__saLoadForm
__saLoadForm(fnames)
Private method used to handle the "Load Form" command.
- fnames (list of str)
-
filenames of the forms to be loaded
TRSingleApplicationServer.__saLoadTranslation
__saLoadTranslation(fnames)
Private method used to handle the "Load Translation" command.
- fnames (list of str)
-
filenames of the translations to be loaded
TRSingleApplicationServer.handleCommand
handleCommand(command, arguments)
Public slot to handle the command sent by the client.
- command (str)
-
command sent by the client
- arguments (list of str)
-
list of command arguments