1
yomichan-anki/ui/reader.ui

525 lines
15 KiB
Plaintext
Raw Normal View History

2011-08-28 18:01:32 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindowReader</class>
<widget class="QMainWindow" name="MainWindowReader">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>900</width>
<height>650</height>
</rect>
</property>
<property name="acceptDrops">
<bool>true</bool>
</property>
<property name="windowTitle">
<string>Yomichan</string>
</property>
<property name="windowIcon">
<iconset resource="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc">
<normaloff>:/img/img/icon_logo_32.png</normaloff>:/img/img/icon_logo_32.png</iconset>
2011-08-28 18:01:32 +00:00
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout_4">
2011-08-28 18:01:32 +00:00
<item>
<widget class="QPlainTextEdit" name="textContent">
<property name="mouseTracking">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>900</width>
2012-12-25 16:57:53 +00:00
<height>25</height>
2011-08-28 18:01:32 +00:00
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>&amp;File</string>
</property>
2011-11-14 19:06:45 +00:00
<widget class="QMenu" name="menuOpenArchive">
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>Open from &amp;archive</string>
</property>
</widget>
2011-08-28 18:01:32 +00:00
<widget class="QMenu" name="menuOpenRecent">
<property name="title">
<string>Open &amp;recent</string>
</property>
</widget>
<addaction name="actionOpen"/>
2011-11-19 16:50:47 +00:00
<addaction name="menuOpenArchive"/>
2011-08-28 18:01:32 +00:00
<addaction name="menuOpenRecent"/>
<addaction name="separator"/>
<addaction name="actionQuit"/>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>&amp;Edit</string>
</property>
<addaction name="separator"/>
<addaction name="actionFind"/>
<addaction name="actionFindNext"/>
<addaction name="separator"/>
<addaction name="actionPreferences"/>
</widget>
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>&amp;Help</string>
</property>
<addaction name="actionHomepage"/>
<addaction name="actionFeedback"/>
<addaction name="separator"/>
<addaction name="actionAbout"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>&amp;View</string>
</property>
<widget class="QMenu" name="menuTextSize">
<property name="title">
<string>&amp;Zoom</string>
</property>
<addaction name="actionZoomIn"/>
<addaction name="actionZoomOut"/>
<addaction name="separator"/>
<addaction name="actionZoomReset"/>
</widget>
<addaction name="menuTextSize"/>
<addaction name="separator"/>
<addaction name="actionToggleAnki"/>
<addaction name="actionToggleVocab"/>
<addaction name="actionToggleKanji"/>
2011-08-28 18:01:32 +00:00
<addaction name="separator"/>
<addaction name="actionToggleWrap"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
<addaction name="menuView"/>
<addaction name="menuHelp"/>
</widget>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionOpen"/>
<addaction name="separator"/>
<addaction name="actionZoomIn"/>
<addaction name="actionZoomOut"/>
<addaction name="actionZoomReset"/>
<addaction name="separator"/>
<addaction name="actionFind"/>
</widget>
<widget class="QDockWidget" name="dockVocab">
2011-08-28 18:01:32 +00:00
<property name="windowTitle">
<string>Vocabulary</string>
2011-08-28 18:01:32 +00:00
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTextBrowser" name="textVocabDefs">
2011-08-28 18:01:32 +00:00
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="openLinks">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Search</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="textVocabSearch"/>
2011-08-28 18:01:32 +00:00
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<widget class="QDockWidget" name="dockAnki">
<property name="windowTitle">
<string>Anki</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_2">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QListWidget" name="listDefinitions"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Active tag(s)</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboTags">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="dockKanji">
<property name="windowTitle">
<string>Kanji</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_3">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QTextBrowser" name="textKanjiDefs"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Search</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="textKanjiSearch"/>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
2011-08-28 18:01:32 +00:00
<action name="actionOpen">
<property name="icon">
<iconset resource="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc">
<normaloff>:/img/img/icon_action_open.png</normaloff>:/img/img/icon_action_open.png</iconset>
2011-08-28 18:01:32 +00:00
</property>
<property name="text">
<string>&amp;Open...</string>
</property>
<property name="toolTip">
<string>Open file</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
<property name="iconVisibleInMenu">
<bool>true</bool>
</property>
</action>
<action name="actionQuit">
<property name="icon">
<iconset resource="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc">
<normaloff>:/img/img/icon_action_quit.png</normaloff>:/img/img/icon_action_quit.png</iconset>
2011-08-28 18:01:32 +00:00
</property>
<property name="text">
<string>&amp;Quit</string>
</property>
<property name="toolTip">
<string>Quit Yomichan</string>
</property>
<property name="shortcut">
2013-02-05 03:15:10 +00:00
<string>Esc</string>
2011-08-28 18:01:32 +00:00
</property>
<property name="iconVisibleInMenu">
<bool>true</bool>
</property>
</action>
<action name="actionPreferences">
<property name="icon">
<iconset resource="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc">
<normaloff>:/img/img/icon_action_preferences.png</normaloff>:/img/img/icon_action_preferences.png</iconset>
2011-08-28 18:01:32 +00:00
</property>
<property name="text">
<string>&amp;Preferences...</string>
</property>
<property name="toolTip">
<string>Edit preferences</string>
</property>
<property name="iconVisibleInMenu">
<bool>true</bool>
</property>
</action>
<action name="actionAbout">
<property name="icon">
<iconset resource="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc">
<normaloff>:/img/img/icon_action_about.png</normaloff>:/img/img/icon_action_about.png</iconset>
2011-08-28 18:01:32 +00:00
</property>
<property name="text">
<string>&amp;About...</string>
</property>
<property name="toolTip">
<string>About Yomichan</string>
</property>
<property name="shortcut">
<string>F1</string>
</property>
<property name="iconVisibleInMenu">
<bool>true</bool>
</property>
</action>
<action name="actionZoomIn">
<property name="icon">
<iconset resource="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc">
<normaloff>:/img/img/icon_action_zoom_in.png</normaloff>:/img/img/icon_action_zoom_in.png</iconset>
2011-08-28 18:01:32 +00:00
</property>
<property name="text">
<string>Zoom &amp;in</string>
</property>
<property name="shortcut">
<string>Ctrl++</string>
</property>
<property name="iconVisibleInMenu">
<bool>true</bool>
</property>
</action>
<action name="actionZoomOut">
<property name="icon">
<iconset resource="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc">
<normaloff>:/img/img/icon_action_zoom_out.png</normaloff>:/img/img/icon_action_zoom_out.png</iconset>
2011-08-28 18:01:32 +00:00
</property>
<property name="text">
<string>Zoom &amp;out</string>
</property>
<property name="shortcut">
<string>Ctrl+-</string>
</property>
<property name="iconVisibleInMenu">
<bool>true</bool>
</property>
</action>
<action name="actionZoomReset">
<property name="icon">
<iconset resource="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc">
<normaloff>:/img/img/icon_action_zoom_reset.png</normaloff>:/img/img/icon_action_zoom_reset.png</iconset>
2011-08-28 18:01:32 +00:00
</property>
<property name="text">
<string>&amp;Reset</string>
</property>
<property name="toolTip">
<string>Reset zoom</string>
</property>
<property name="shortcut">
<string>Ctrl+0</string>
</property>
<property name="iconVisibleInMenu">
<bool>true</bool>
</property>
</action>
<action name="actionFind">
<property name="icon">
<iconset resource="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc">
<normaloff>:/img/img/icon_action_find.png</normaloff>:/img/img/icon_action_find.png</iconset>
2011-08-28 18:01:32 +00:00
</property>
<property name="text">
<string>&amp;Find...</string>
</property>
<property name="toolTip">
<string>Find text</string>
</property>
<property name="shortcut">
<string>Ctrl+F</string>
</property>
<property name="iconVisibleInMenu">
<bool>true</bool>
</property>
</action>
<action name="actionFindNext">
<property name="text">
<string>Find &amp;next</string>
</property>
<property name="toolTip">
<string>Find text again</string>
</property>
<property name="shortcut">
<string>F3</string>
</property>
</action>
<action name="actionToggleWrap">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Word wrap</string>
</property>
<property name="toolTip">
<string>Toggle word wrap</string>
</property>
</action>
<action name="actionToggleVocab">
2011-08-28 18:01:32 +00:00
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Vocabulary</string>
2011-08-28 18:01:32 +00:00
</property>
<property name="toolTip">
<string>Toggle definitions</string>
</property>
</action>
<action name="actionHomepage">
<property name="icon">
<iconset resource="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc">
<normaloff>:/img/img/icon_action_homepage.png</normaloff>:/img/img/icon_action_homepage.png</iconset>
2011-08-28 18:01:32 +00:00
</property>
<property name="text">
<string>&amp;Homepage...</string>
</property>
<property name="toolTip">
<string>Yomichan homepage</string>
</property>
<property name="iconVisibleInMenu">
<bool>true</bool>
</property>
</action>
<action name="actionToggleAnki">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Anki</string>
</property>
</action>
<action name="actionFeedback">
<property name="icon">
<iconset resource="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc">
<normaloff>:/img/img/icon_action_feedback.png</normaloff>:/img/img/icon_action_feedback.png</iconset>
2011-08-28 18:01:32 +00:00
</property>
<property name="text">
<string>&amp;Feedback...</string>
</property>
</action>
<action name="actionToggleKanji">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Kanji</string>
</property>
</action>
2011-08-28 18:01:32 +00:00
</widget>
<resources>
<include location="../../../../../mnt/izumi/projects/yomichan/ui/resources.qrc"/>
</resources>
2011-08-28 18:01:32 +00:00
<connections>
<connection>
<sender>actionToggleVocab</sender>
2011-08-28 18:01:32 +00:00
<signal>toggled(bool)</signal>
<receiver>dockVocab</receiver>
2011-08-28 18:01:32 +00:00
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>634</x>
<y>313</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionQuit</sender>
<signal>triggered()</signal>
<receiver>MainWindowReader</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>449</x>
<y>324</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionToggleAnki</sender>
<signal>toggled(bool)</signal>
<receiver>dockAnki</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>136</x>
<y>342</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionToggleKanji</sender>
<signal>toggled(bool)</signal>
<receiver>dockKanji</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>762</x>
<y>479</y>
</hint>
</hints>
</connection>
2011-08-28 18:01:32 +00:00
</connections>
</ui>