goldendict-ng/mainwindow.ui
2012-02-17 16:01:52 +04:00

457 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>653</width>
<height>538</height>
</rect>
</property>
<property name="windowTitle">
<string>GoldenDict</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="MainTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="elideMode">
<enum>Qt::ElideRight</enum>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Welcome!</string>
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="margin">
<number>0</number>
</property>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>653</width>
<height>18</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>&amp;File</string>
</property>
<addaction name="newTab"/>
<addaction name="separator"/>
<addaction name="pageSetup"/>
<addaction name="printPreview"/>
<addaction name="print"/>
<addaction name="separator"/>
<addaction name="saveArticle"/>
<addaction name="separator"/>
<addaction name="rescanFiles"/>
<addaction name="separator"/>
<addaction name="actionCloseToTray"/>
<addaction name="quit"/>
</widget>
<widget class="QMenu" name="menu_Edit">
<property name="title">
<string>&amp;Edit</string>
</property>
<addaction name="dictionaries"/>
<addaction name="preferences"/>
</widget>
<widget class="QMenu" name="menu_Help">
<property name="title">
<string>&amp;Help</string>
</property>
<addaction name="visitHomepage"/>
<addaction name="visitForum"/>
<addaction name="separator"/>
<addaction name="openConfigFolder"/>
<addaction name="separator"/>
<addaction name="about"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>&amp;View</string>
</property>
<widget class="QMenu" name="menuZoom">
<property name="title">
<string>&amp;Zoom</string>
</property>
</widget>
<addaction name="menuZoom"/>
</widget>
<widget class="QMenu" name="menuHistory">
<property name="title">
<string>H&amp;istory</string>
</property>
<addaction name="showHideHistory"/>
<addaction name="exportHistory"/>
<addaction name="separator"/>
<addaction name="clearHistory"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuView"/>
<addaction name="menu_Edit"/>
<addaction name="menuHistory"/>
<addaction name="menu_Help"/>
</widget>
<widget class="QDockWidget" name="searchPane">
<property name="windowTitle">
<string>Search Pane</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="SearchPaneWidget" name="searchPaneWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>1</number>
</property>
<item>
<widget class="QLineEdit" name="translateLine">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>254</red>
<green>253</green>
<blue>235</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>254</red>
<green>253</green>
<blue>235</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="frame">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="wordList">
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>254</red>
<green>253</green>
<blue>235</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>254</red>
<green>253</green>
<blue>235</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="dictsPane">
<property name="windowTitle">
<string>Results Navigation Pane</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="DictsPaneWidget" name="dictsPaneWidget">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>1</number>
</property>
<item>
<widget class="QListWidget" name="dictsList"/>
</item>
</layout>
</widget>
</widget>
<action name="dictionaries">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/book.png</normaloff>:/icons/book.png</iconset>
</property>
<property name="text">
<string>&amp;Dictionaries... F3</string>
</property>
</action>
<action name="preferences">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/configure.png</normaloff>:/icons/configure.png</iconset>
</property>
<property name="text">
<string>&amp;Preferences...</string>
</property>
<property name="shortcut">
<string>F4</string>
</property>
</action>
<action name="visitHomepage">
<property name="text">
<string>&amp;Homepage</string>
</property>
</action>
<action name="about">
<property name="text">
<string>&amp;About</string>
</property>
<property name="toolTip">
<string>About GoldenDict</string>
</property>
<property name="shortcut">
<string>F1</string>
</property>
</action>
<action name="quit">
<property name="text">
<string>&amp;Quit</string>
</property>
<property name="toolTip">
<string>Quit from application</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="visitForum">
<property name="text">
<string>&amp;Forum</string>
</property>
</action>
<action name="actionCloseToTray">
<property name="text">
<string>&amp;Close To Tray</string>
</property>
<property name="toolTip">
<string>Minimizes the window to tray</string>
</property>
<property name="shortcut">
<string>Ctrl+F4</string>
</property>
</action>
<action name="saveArticle">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/filesave.png</normaloff>:/icons/filesave.png</iconset>
</property>
<property name="text">
<string>&amp;Save Article</string>
</property>
<property name="toolTip">
<string>Save Article</string>
</property>
<property name="shortcut">
<string>F2</string>
</property>
</action>
<action name="print">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/print.png</normaloff>:/icons/print.png</iconset>
</property>
<property name="text">
<string>&amp;Print</string>
</property>
<property name="shortcut">
<string>Ctrl+P</string>
</property>
</action>
<action name="pageSetup">
<property name="text">
<string>Page Set&amp;up</string>
</property>
</action>
<action name="printPreview">
<property name="text">
<string>Print Preview</string>
</property>
</action>
<action name="rescanFiles">
<property name="text">
<string>Rescan Files</string>
</property>
<property name="shortcut">
<string>Ctrl+F5</string>
</property>
</action>
<action name="clearHistory">
<property name="text">
<string>&amp;Clear</string>
</property>
</action>
<action name="newTab">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/addtab.png</normaloff>:/icons/addtab.png</iconset>
</property>
<property name="text">
<string>New Tab</string>
</property>
<property name="shortcut">
<string>Ctrl+T</string>
</property>
<property name="shortcutContext">
<enum>Qt::WidgetShortcut</enum>
</property>
</action>
<action name="openConfigFolder">
<property name="text">
<string>&amp;Configuration Folder</string>
</property>
</action>
<action name="showHideHistory">
<property name="text">
<string>&amp;Show</string>
</property>
</action>
<action name="exportHistory">
<property name="text">
<string>&amp;Export</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
<class>SearchPaneWidget</class>
<extends>QWidget</extends>
<header>searchpanewidget.hh</header>
<container>1</container>
</customwidget>
<customwidget>
<class>DictsPaneWidget</class>
<extends>QWidget</extends>
<header>dictspanewidget.hh</header>
<container>1</container>
</customwidget>
<customwidget>
<class>MainTabWidget</class>
<extends>QTabWidget</extends>
<header>maintabwidget.hh</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>translateLine</tabstop>
<tabstop>tabWidget</tabstop>
<tabstop>dictsList</tabstop>
</tabstops>
<resources>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>