Bugs fixed
[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>
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>
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>
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">
148     <property name="acceptDrops">
149      <bool>true</bool>
150     </property>
151     <property name="title">
152      <string>Menu</string>
153     </property>
154     <addaction name="actionSettings"/>
155     <addaction name="actionScan"/>
156     <addaction name="actionHelp"/>
157     <addaction name="actionAbout"/>
158     <addaction name="actionAboutQt"/>
159     <addaction name="actionQuit"/>
160    </widget>
161    <addaction name="menu"/>
162   </widget>
163   <widget class="QDockWidget" name="wordsListDock">
164    <property name="features">
165     <set>QDockWidget::NoDockWidgetFeatures</set>
166    </property>
167    <property name="allowedAreas">
168     <set>Qt::NoDockWidgetArea</set>
169    </property>
170    <property name="windowTitle">
171     <string>Words list</string>
172    </property>
173    <attribute name="dockWidgetArea">
174     <number>1</number>
175    </attribute>
176    <widget class="QWidget" name="dockWidgetContents">
177     <layout class="QGridLayout">
178      <property name="margin">
179       <number>9</number>
180      </property>
181      <property name="spacing">
182       <number>6</number>
183      </property>
184      <item row="0" column="0">
185       <widget class="QListWidget" name="wordsList">
186        <property name="font">
187         <font>
188          <pointsize>20</pointsize>
189         </font>
190        </property>
191       </widget>
192      </item>
193     </layout>
194    </widget>
195   </widget>
196   <action name="actionQuit">
197    <property name="icon">
198     <iconset>
199      <normaloff>:/icons/application-exit.png</normaloff>:/icons/application-exit.png</iconset>
200    </property>
201    <property name="text">
202     <string>&amp;Quit</string>
203    </property>
204    <property name="font">
205     <font>
206      <pointsize>16</pointsize>
207     </font>
208    </property>
209    <property name="shortcut">
210     <string>Ctrl+Q</string>
211    </property>
212   </action>
213   <action name="actionAbout">
214    <property name="text">
215     <string>About</string>
216    </property>
217    <property name="font">
218     <font>
219      <pointsize>16</pointsize>
220     </font>
221    </property>
222   </action>
223   <action name="actionAboutQt">
224    <property name="text">
225     <string>About &amp;Qt</string>
226    </property>
227    <property name="font">
228     <font>
229      <pointsize>16</pointsize>
230     </font>
231    </property>
232   </action>
233   <action name="actionSettings">
234    <property name="icon">
235     <iconset>
236      <normaloff>:/icons/configure.png</normaloff>:/icons/configure.png</iconset>
237    </property>
238    <property name="text">
239     <string>&amp;Configure</string>
240    </property>
241    <property name="font">
242     <font>
243      <pointsize>16</pointsize>
244     </font>
245    </property>
246   </action>
247   <action name="actionScan">
248    <property name="checkable">
249     <bool>true</bool>
250    </property>
251    <property name="text">
252     <string>&amp;Scan</string>
253    </property>
254    <property name="font">
255     <font>
256      <pointsize>16</pointsize>
257     </font>
258    </property>
259   </action>
260   <action name="actionHelp">
261    <property name="icon">
262     <iconset>
263      <normaloff>:/icons/help-contents.png</normaloff>:/icons/help-contents.png</iconset>
264    </property>
265    <property name="text">
266     <string>Help</string>
267    </property>
268    <property name="font">
269     <font>
270      <pointsize>16</pointsize>
271     </font>
272    </property>
273    <property name="shortcut">
274     <string>F1</string>
275    </property>
276   </action>
277  </widget>
278  <customwidgets>
279   <customwidget>
280    <class>DictWidget</class>
281    <extends>QWidget</extends>
282    <header>dictwidget.h</header>
283   </customwidget>
284  </customwidgets>
285  <tabstops>
286   <tabstop>searchBox</tabstop>
287   <tabstop>queryButton</tabstop>
288   <tabstop>wordsList</tabstop>
289   <tabstop>searchClearButton</tabstop>
290  </tabstops>
291  <resources/>
292  <connections>
293   <connection>
294    <sender>searchClearButton</sender>
295    <signal>clicked()</signal>
296    <receiver>searchBox</receiver>
297    <slot>clear()</slot>
298    <hints>
299     <hint type="sourcelabel">
300      <x>315</x>
301      <y>59</y>
302     </hint>
303     <hint type="destinationlabel">
304      <x>647</x>
305      <y>61</y>
306     </hint>
307    </hints>
308   </connection>
309   <connection>
310    <sender>searchClearButton</sender>
311    <signal>clicked()</signal>
312    <receiver>searchBox</receiver>
313    <slot>setFocus()</slot>
314    <hints>
315     <hint type="sourcelabel">
316      <x>315</x>
317      <y>59</y>
318     </hint>
319     <hint type="destinationlabel">
320      <x>647</x>
321      <y>61</y>
322     </hint>
323    </hints>
324   </connection>
325   <connection>
326    <sender>searchBox</sender>
327    <signal>returnPressed()</signal>
328    <receiver>queryButton</receiver>
329    <slot>click()</slot>
330    <hints>
331     <hint type="sourcelabel">
332      <x>438</x>
333      <y>50</y>
334     </hint>
335     <hint type="destinationlabel">
336      <x>661</x>
337      <y>51</y>
338     </hint>
339    </hints>
340   </connection>
341  </connections>
342 </ui>