qstardict (1) - Linux Manuals
qstardict: a Qt4 dictionary
NAME
qstardict - a Qt4 dictionaryDESCRIPTION
QStarDict is a StarDict clone written with Qt4. The user interface is similar to StarDict. You can start QStarDict from the menu or by running the qstardict command.TRANSLATION REFORMATTING AND ABBREVIATION EXPANSION
QStarDict can reformat translations and expand dictionary abbreviations. For example this translation:
1> First _val. of _w. 2> Second _val. of _w. ... can be shown as 1. Fist value of word 2. Second value of word 3. ... But reformatting and expanding takes additional CPU time. If the translation reformatting and instant search are both turned on this can decrease QStarDict performance.
DICTIONARIES
Dictionaries for StarDict plugin are in StarDict format and by default must be placed into /usr/share/stardict/dic or ~/.stardict/dic directories. A dictionary must consist of three files:
These files must be placed together in one directory.
void org.qstardict.dbus.showPopup(QString text)
List of available properties:
readwrite int org.qstardict.dbus.mainWindowVisible
You can call these methods from your applications or by using the qdbus program.
This command
This manual page was written by Alexander Rodin <rodin.alexander [at] gmail.com>,
for the Debian project (but may be used by others).
PRONOUNCING PROGRAMS
QStarDict can pronounce words using external program when popup window is shown. You must set a voice program to pronounce text from stdin. By default this is festival with --tts option.
D-BUS
QStarDict supports D-Bus message bus. List of available methods:
void org.qstardict.dbus.showTranslation(QString text)
QString org.qstardict.dbus.translate(QString text)
QString org.qstardict.dbus.translateHtml(QString text)
QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
QString org.freedesktop.DBus.Introspectable.Introspect()
qdbus org.qstardict.dbus
org.qstardict.dbus mainWindowVisible
$(( ! $(qdbus org.qstardict.dbus
org.freedesktop.DBus.Properties.Get org.qstardict.dbus mainWindowVisible)))
HOMEPAGE
http://qstardict.ylsoftware.com laURL: L raQStarDict website
AUTHOR
QStarDict was written by Alexander Rodin <rodin.alexander [at] gmail.com>.