Release 0.13.2
[qstardict] / qstardict / mainwindow.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>QStarDict::MainWindow</class>
4  <widget class="QMainWindow" name="QStarDict::MainWindow">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>742</width>
10     <height>511</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>QStarDict</string>
15   </property>
16   <property name="windowIcon">
17    <iconset resource="pixmaps/pixmaps.qrc">
18     <normaloff>:/icons/qstardict.png</normaloff>:/icons/qstardict.png</iconset>
19   </property>
20   <widget class="QWidget" name="centralwidget">
21    <layout class="QGridLayout">
22     <property name="margin">
23      <number>9</number>
24     </property>
25     <property name="spacing">
26      <number>6</number>
27     </property>
28     <item row="0" column="0">
29      <layout class="QHBoxLayout">
30       <property name="spacing">
31        <number>6</number>
32       </property>
33       <property name="margin">
34        <number>0</number>
35       </property>
36       <item>
37        <widget class="QToolButton" name="searchClearButton">
38         <property name="sizePolicy">
39          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
40           <horstretch>0</horstretch>
41           <verstretch>0</verstretch>
42          </sizepolicy>
43         </property>
44         <property name="minimumSize">
45          <size>
46           <width>70</width>
47           <height>60</height>
48          </size>
49         </property>
50         <property name="toolTip">
51          <string>Clear the search box</string>
52         </property>
53         <property name="text">
54          <string>Clear</string>
55         </property>
56         <property name="icon">
57          <iconset resource="pixmaps/pixmaps.qrc">
58           <normaloff>:/icons/clear-right.png</normaloff>:/icons/clear-right.png</iconset>
59         </property>
60         <property name="iconSize">
61          <size>
62           <width>70</width>
63           <height>60</height>
64          </size>
65         </property>
66         <property name="toolButtonStyle">
67          <enum>Qt::ToolButtonIconOnly</enum>
68         </property>
69        </widget>
70       </item>
71       <item>
72        <widget class="QLineEdit" name="searchBox">
73         <property name="minimumSize">
74          <size>
75           <width>0</width>
76           <height>55</height>
77          </size>
78         </property>
79         <property name="font">
80          <font>
81           <pointsize>18</pointsize>
82          </font>
83         </property>
84        </widget>
85       </item>
86       <item>
87        <widget class="QToolButton" name="queryButton">
88         <property name="sizePolicy">
89          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
90           <horstretch>0</horstretch>
91           <verstretch>0</verstretch>
92          </sizepolicy>
93         </property>
94         <property name="minimumSize">
95          <size>
96           <width>80</width>
97           <height>60</height>
98          </size>
99         </property>
100         <property name="font">
101          <font>
102           <pointsize>14</pointsize>
103          </font>
104         </property>
105         <property name="toolTip">
106          <string>Fuzzy query</string>
107         </property>
108         <property name="text">
109          <string>Search</string>
110         </property>
111         <property name="icon">
112          <iconset resource="pixmaps/pixmaps.qrc">
113           <normaloff>:/icons/search-filter.png</normaloff>:/icons/search-filter.png</iconset>
114         </property>
115         <property name="iconSize">
116          <size>
117           <width>80</width>
118           <height>60</height>
119          </size>
120         </property>
121         <property name="toolButtonStyle">
122          <enum>Qt::ToolButtonTextBesideIcon</enum>
123         </property>
124        </widget>
125       </item>
126      </layout>
127     </item>
128     <item row="1" column="0">
129      <widget class="DictWidget" name="translationView" native="true"/>
130     </item>
131    </layout>
132   </widget>
133   <widget class="QMenuBar" name="menubar">
134    <property name="geometry">
135     <rect>
136      <x>0</x>
137      <y>0</y>
138      <width>742</width>
139      <height>36</height>
140     </rect>
141    </property>
142    <property name="font">
143     <font>
144      <pointsize>16</pointsize>
145     </font>
146    </property>
147    <widget class="QMenu" name="menu_File">
148     <property name="title">
149      <string>&amp;File</string>
150     </property>
151     <addaction name="actionQuit"/>
152    </widget>
153    <widget class="QMenu" name="menuHelp">
154     <property name="title">
155      <string>&amp;Help</string>
156     </property>
157     <addaction name="actionHelp"/>
158     <addaction name="actionAbout"/>
159     <addaction name="actionAboutQt"/>
160    </widget>
161    <widget class="QMenu" name="menu_Options">
162     <property name="title">
163      <string>&amp;Settings</string>
164     </property>
165     <addaction name="actionScan"/>
166     <addaction name="actionSettings"/>
167    </widget>
168    <addaction name="menu_File"/>
169    <addaction name="menu_Options"/>
170    <addaction name="menuHelp"/>
171   </widget>
172   <widget class="QDockWidget" name="wordsListDock">
173    <property name="features">
174     <set>QDockWidget::NoDockWidgetFeatures</set>
175    </property>
176    <property name="allowedAreas">
177     <set>Qt::NoDockWidgetArea</set>
178    </property>
179    <property name="windowTitle">
180     <string>Words list</string>
181    </property>
182    <attribute name="dockWidgetArea">
183     <number>1</number>
184    </attribute>
185    <widget class="QWidget" name="dockWidgetContents">
186     <layout class="QGridLayout">
187      <property name="margin">
188       <number>9</number>
189      </property>
190      <property name="spacing">
191       <number>6</number>
192      </property>
193      <item row="0" column="0">
194       <widget class="QListWidget" name="wordsList">
195        <property name="font">
196         <font>
197          <pointsize>20</pointsize>
198         </font>
199        </property>
200       </widget>
201      </item>
202     </layout>
203    </widget>
204   </widget>
205   <action name="actionQuit">
206    <property name="icon">
207     <iconset resource="pixmaps/pixmaps.qrc">
208      <normaloff>:/icons/application-exit.png</normaloff>:/icons/application-exit.png</iconset>
209    </property>
210    <property name="text">
211     <string>&amp;Quit</string>
212    </property>
213    <property name="font">
214     <font>
215      <pointsize>16</pointsize>
216     </font>
217    </property>
218    <property name="shortcut">
219     <string>Ctrl+Q</string>
220    </property>
221   </action>
222   <action name="actionAbout">
223    <property name="text">
224     <string>About</string>
225    </property>
226    <property name="font">
227     <font>
228      <pointsize>16</pointsize>
229     </font>
230    </property>
231   </action>
232   <action name="actionAboutQt">
233    <property name="text">
234     <string>About &amp;Qt</string>
235    </property>
236    <property name="font">
237     <font>
238      <pointsize>16</pointsize>
239     </font>
240    </property>
241   </action>
242   <action name="actionSettings">
243    <property name="icon">
244     <iconset resource="pixmaps/pixmaps.qrc">
245      <normaloff>:/icons/configure.png</normaloff>:/icons/configure.png</iconset>
246    </property>
247    <property name="text">
248     <string>&amp;Configure</string>
249    </property>
250    <property name="font">
251     <font>
252      <pointsize>16</pointsize>
253     </font>
254    </property>
255   </action>
256   <action name="actionScan">
257    <property name="checkable">
258     <bool>true</bool>
259    </property>
260    <property name="text">
261     <string>&amp;Scan</string>
262    </property>
263    <property name="font">
264     <font>
265      <pointsize>16</pointsize>
266     </font>
267    </property>
268   </action>
269   <action name="actionHelp">
270    <property name="icon">
271     <iconset resource="pixmaps/pixmaps.qrc">
272      <normaloff>:/icons/help-contents.png</normaloff>:/icons/help-contents.png</iconset>
273    </property>
274    <property name="text">
275     <string>Help</string>
276    </property>
277    <property name="font">
278     <font>
279      <pointsize>16</pointsize>
280     </font>
281    </property>
282    <property name="shortcut">
283     <string>F1</string>
284    </property>
285   </action>
286  </widget>
287  <customwidgets>
288   <customwidget>
289    <class>DictWidget</class>
290    <extends>QWidget</extends>
291    <header>dictwidget.h</header>
292   </customwidget>
293  </customwidgets>
294  <tabstops>
295   <tabstop>searchBox</tabstop>
296   <tabstop>queryButton</tabstop>
297   <tabstop>wordsList</tabstop>
298   <tabstop>searchClearButton</tabstop>
299  </tabstops>
300  <resources>
301   <include location="pixmaps/pixmaps.qrc"/>
302  </resources>
303  <connections>
304   <connection>
305    <sender>searchClearButton</sender>
306    <signal>clicked()</signal>
307    <receiver>searchBox</receiver>
308    <slot>clear()</slot>
309    <hints>
310     <hint type="sourcelabel">
311      <x>315</x>
312      <y>59</y>
313     </hint>
314     <hint type="destinationlabel">
315      <x>647</x>
316      <y>61</y>
317     </hint>
318    </hints>
319   </connection>
320   <connection>
321    <sender>searchClearButton</sender>
322    <signal>clicked()</signal>
323    <receiver>searchBox</receiver>
324    <slot>setFocus()</slot>
325    <hints>
326     <hint type="sourcelabel">
327      <x>315</x>
328      <y>59</y>
329     </hint>
330     <hint type="destinationlabel">
331      <x>647</x>
332      <y>61</y>
333     </hint>
334    </hints>
335   </connection>
336   <connection>
337    <sender>searchBox</sender>
338    <signal>returnPressed()</signal>
339    <receiver>queryButton</receiver>
340    <slot>click()</slot>
341    <hints>
342     <hint type="sourcelabel">
343      <x>438</x>
344      <y>50</y>
345     </hint>
346     <hint type="destinationlabel">
347      <x>661</x>
348      <y>51</y>
349     </hint>
350    </hints>
351   </connection>
352  </connections>
353 </ui>