Eric3 Helpviewer
This is the main Python script that performs the neccessary initialization
of the helpviewer and starts the Qt event loop. This is a standalone version
of the integrated helpviewer.
Imported modules
|
|
import Preferences
import Utilities
import os
from qt import QApplication, QTranslator, QTextCodec, SIGNAL, SLOT
import sys
|
Functions
|
|
loadTranslator
|
|
loadTranslator
|
loadTranslator ( dirs, tn )
Global function to find and load a specific translation.
Arguments
- dirs
- searchpath for the translations (list of strings)
- tn
- the translation to be loaded (string)
Returns
tuple of a status flag and the loaded translator (int, QTranslator)
|
|