goldendict-ng/src/sources.ui

537 lines
16 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Sources</class>
<widget class="QWidget" name="Sources">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>578</width>
<height>336</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true">Sources</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<property name="iconSize">
<size>
<width>15</width>
<height>15</height>
</size>
</property>
<widget class="QWidget" name="filesTab">
<attribute name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/filesave.png</normaloff>:/icons/filesave.png</iconset>
</attribute>
<attribute name="title">
<string>Files</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Paths to search for the dictionary files:</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QTreeView" name="paths"/>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPushButton" name="addPath">
<property name="text">
<string>&amp;Add...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="removePath">
<property name="text">
<string>&amp;Remove</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>17</width>
<height>68</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="rescan">
<property name="text">
<string>Re&amp;scan now</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab">
<attribute name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/fileopen.png</normaloff>:/icons/fileopen.png</iconset>
</attribute>
<attribute name="title">
<string>Sound Dirs</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Make dictionaries from bunches of audiofiles by adding paths here:</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QTreeView" name="soundDirs"/>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QPushButton" name="addSoundDir">
<property name="text">
<string>&amp;Add...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="removeSoundDir">
<property name="text">
<string>&amp;Remove</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icon32_hunspell.png</normaloff>:/icons/icon32_hunspell.png</iconset>
</attribute>
<attribute name="title">
<string>Morphology</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>Path to a directory with Hunspell/Myspell dictionaries:</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLineEdit" name="hunspellPath">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="changeHunspellPath">
<property name="text">
<string>&amp;Change...</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Available morphology dictionaries:</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QTreeView" name="hunspellDictionaries"/>
</item>
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>Each morphology dictionary appears as a
separate auxiliary dictionary which
provides stem words for searches and
spelling suggestions for mistyped words.
Add appropriate dictionaries to the bottoms
of the appropriate groups to use them.</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="mediaWikisTab">
<attribute name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icon32_wiki.png</normaloff>:/icons/icon32_wiki.png</iconset>
</attribute>
<attribute name="title">
<string>Wikipedia</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Wikipedia (MediaWiki) sites:</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QTreeView" name="mediaWikis"/>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QPushButton" name="addMediaWiki">
<property name="text">
<string>&amp;Add...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="removeMediaWiki">
<property name="text">
<string>&amp;Remove</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_4">
<attribute name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/internet.png</normaloff>:/icons/internet.png</iconset>
</attribute>
<attribute name="title">
<string>Websites</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_11">
<item>
<widget class="QLabel" name="label_9">
<property name="text">
<string>Any websites. A string %GDWORD% will be replaced with the query word:</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QTreeView" name="webSites"/>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_10">
<item>
<widget class="QPushButton" name="addWebSite">
<property name="text">
<string>&amp;Add...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="removeWebSite">
<property name="text">
<string>&amp;Remove</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_8">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_10">
<property name="text">
<string>Alternatively, use %GD1251% for CP1251, %GDISO1% for ISO 8859-1.</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>Transliteration</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="enableRussianTransliteration">
<property name="text">
<string>Russian transliteration</string>
</property>
2009-05-18 10:36:12 +00:00
<property name="icon">
<iconset resource="flags.qrc">
<normaloff>:/flags/ru.png</normaloff>:/flags/ru.png</iconset>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="enableGermanTransliteration">
<property name="text">
<string>German transliteration</string>
</property>
2009-05-18 10:36:12 +00:00
<property name="icon">
<iconset resource="flags.qrc">
<normaloff>:/flags/de.png</normaloff>:/flags/de.png</iconset>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_7">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QGroupBox" name="enableRomaji">
<property name="toolTip">
<string>Enables to use the Latin alphabet to write the Japanese language</string>
</property>
<property name="title">
<string>Japanese Romaji</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Systems:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="enableHepburn">
<property name="toolTip">
<string>The most widely used method of transcription of Japanese,
based on English phonology</string>
</property>
<property name="text">
<string>Hepburn</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QCheckBox" name="enableNihonShiki">
<property name="toolTip">
<string>The most regular system, having a one-to-one relation to the
kana writing systems. Standardized as ISO 3602</string>
</property>
<property name="text">
<string>Nihon-shiki</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QCheckBox" name="enableKunreiShiki">
<property name="toolTip">
<string>Based on Nihon-shiki system, but modified for modern standard Japanese.
Standardized as ISO 3602</string>
</property>
<property name="text">
<string>Kunrei-shiki</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Syllabaries:</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="enableHiragana">
<property name="toolTip">
<string>Hiragana Japanese syllabary</string>
</property>
<property name="text">
<string>Hiragana</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QCheckBox" name="enableKatakana">
<property name="toolTip">
<string>Hiragana Japanese syllabary</string>
</property>
<property name="text">
<string>Katakana</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>80</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>enableRussianTransliteration</tabstop>
<tabstop>enableGermanTransliteration</tabstop>
<tabstop>enableRomaji</tabstop>
<tabstop>enableHepburn</tabstop>
<tabstop>enableNihonShiki</tabstop>
<tabstop>enableKunreiShiki</tabstop>
<tabstop>enableHiragana</tabstop>
<tabstop>enableKatakana</tabstop>
<tabstop>hunspellPath</tabstop>
<tabstop>changeHunspellPath</tabstop>
<tabstop>hunspellDictionaries</tabstop>
<tabstop>mediaWikis</tabstop>
<tabstop>addMediaWiki</tabstop>
<tabstop>removeMediaWiki</tabstop>
<tabstop>tabWidget</tabstop>
<tabstop>addPath</tabstop>
<tabstop>removePath</tabstop>
<tabstop>rescan</tabstop>
<tabstop>soundDirs</tabstop>
<tabstop>addSoundDir</tabstop>
<tabstop>removeSoundDir</tabstop>
<tabstop>paths</tabstop>
</tabstops>
<resources>
2009-05-18 10:36:12 +00:00
<include location="flags.qrc"/>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>