123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>QStarDict::MainWindow</class>
- <widget class="QMainWindow" name="QStarDict::MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>742</width>
- <height>511</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>QStarDict</string>
- </property>
- <property name="windowIcon">
- <iconset>
- <normaloff>:pics/qstardict.png</normaloff>:pics/qstardict.png</iconset>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QGridLayout">
- <property name="leftMargin">
- <number>9</number>
- </property>
- <property name="topMargin">
- <number>9</number>
- </property>
- <property name="rightMargin">
- <number>9</number>
- </property>
- <property name="bottomMargin">
- <number>9</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <item row="0" column="0">
- <layout class="QHBoxLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QToolButton" name="searchClearButton">
- <property name="toolTip">
- <string>Clear the search box</string>
- </property>
- <property name="text">
- <string>Clear</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>:pics/clear-right.png</normaloff>:pics/clear-right.png</iconset>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonIconOnly</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="searchBox"/>
- </item>
- <item>
- <widget class="QToolButton" name="queryButton">
- <property name="toolTip">
- <string>Fuzzy query</string>
- </property>
- <property name="text">
- <string>Search</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>:pics/search-filter.png</normaloff>:pics/search-filter.png</iconset>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextBesideIcon</enum>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="1" column="0">
- <widget class="DictWidget" name="translationView" native="true"/>
- </item>
- </layout>
- </widget>
- <widget class="QDockWidget" name="wordsListDock">
- <property name="features">
- <set>QDockWidget::AllDockWidgetFeatures</set>
- </property>
- <property name="allowedAreas">
- <set>Qt::NoDockWidgetArea</set>
- </property>
- <property name="windowTitle">
- <string>Words list</string>
- </property>
- <attribute name="dockWidgetArea">
- <number>1</number>
- </attribute>
- <widget class="QWidget" name="dockWidgetContents">
- <layout class="QGridLayout">
- <property name="leftMargin">
- <number>9</number>
- </property>
- <property name="topMargin">
- <number>9</number>
- </property>
- <property name="rightMargin">
- <number>9</number>
- </property>
- <property name="bottomMargin">
- <number>9</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <item row="0" column="0">
- <widget class="QListWidget" name="wordsList"/>
- </item>
- </layout>
- </widget>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>742</width>
- <height>30</height>
- </rect>
- </property>
- <widget class="QMenu" name="menu_File">
- <property name="title">
- <string>&File</string>
- </property>
- <addaction name="actionQuit"/>
- </widget>
- <widget class="QMenu" name="menuHelp">
- <property name="title">
- <string>&Help</string>
- </property>
- <addaction name="actionHelp"/>
- <addaction name="actionAbout"/>
- <addaction name="actionAboutQt"/>
- </widget>
- <widget class="QMenu" name="menu_Options">
- <property name="title">
- <string>&Settings</string>
- </property>
- <addaction name="actionScan"/>
- <addaction name="actionSettings"/>
- </widget>
- <addaction name="menu_File"/>
- <addaction name="menu_Options"/>
- <addaction name="menuHelp"/>
- </widget>
- <action name="actionQuit">
- <property name="icon">
- <iconset>
- <normaloff>:pics/application-exit.png</normaloff>:pics/application-exit.png</iconset>
- </property>
- <property name="text">
- <string>&Quit</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Q</string>
- </property>
- </action>
- <action name="actionAbout">
- <property name="text">
- <string>&About</string>
- </property>
- </action>
- <action name="actionAboutQt">
- <property name="text">
- <string>About &Qt</string>
- </property>
- </action>
- <action name="actionSettings">
- <property name="icon">
- <iconset>
- <normaloff>:pics/configure.png</normaloff>:pics/configure.png</iconset>
- </property>
- <property name="text">
- <string>&Configure QStarDict</string>
- </property>
- </action>
- <action name="actionScan">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="icon">
- <iconset resource="pixmaps/pixmaps.qrc">
- <normaloff>:/pics/edit-select.png</normaloff>:/pics/edit-select.png</iconset>
- </property>
- <property name="text">
- <string>&Scan selection</string>
- </property>
- </action>
- <action name="actionHelp">
- <property name="icon">
- <iconset>
- <normaloff>:pics/help-contents.png</normaloff>:pics/help-contents.png</iconset>
- </property>
- <property name="text">
- <string>QStarDict &documentation</string>
- </property>
- <property name="shortcut">
- <string>F1</string>
- </property>
- </action>
- </widget>
- <customwidgets>
- <customwidget>
- <class>DictWidget</class>
- <extends>QWidget</extends>
- <header>dictwidget.h</header>
- </customwidget>
- </customwidgets>
- <tabstops>
- <tabstop>searchBox</tabstop>
- <tabstop>queryButton</tabstop>
- <tabstop>wordsList</tabstop>
- <tabstop>searchClearButton</tabstop>
- </tabstops>
- <resources>
- <include location="pixmaps/pixmaps.qrc"/>
- </resources>
- <connections>
- <connection>
- <sender>searchClearButton</sender>
- <signal>clicked()</signal>
- <receiver>searchBox</receiver>
- <slot>clear()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>315</x>
- <y>59</y>
- </hint>
- <hint type="destinationlabel">
- <x>647</x>
- <y>61</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>searchClearButton</sender>
- <signal>clicked()</signal>
- <receiver>searchBox</receiver>
- <slot>setFocus()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>315</x>
- <y>59</y>
- </hint>
- <hint type="destinationlabel">
- <x>647</x>
- <y>61</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>searchBox</sender>
- <signal>returnPressed()</signal>
- <receiver>queryButton</receiver>
- <slot>click()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>438</x>
- <y>50</y>
- </hint>
- <hint type="destinationlabel">
- <x>661</x>
- <y>51</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|