init
[qstardict] / plugins / stardict / settingsdialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>SettingsDialog</class>
4  <widget class="QDialog" name="SettingsDialog">
5   <property name="enabled">
6    <bool>true</bool>
7   </property>
8   <property name="geometry">
9    <rect>
10     <x>0</x>
11     <y>0</y>
12     <width>560</width>
13     <height>320</height>
14    </rect>
15   </property>
16   <property name="windowTitle">
17    <string>StarDict plugin settings</string>
18   </property>
19   <layout class="QVBoxLayout" name="verticalLayout">
20    <item>
21     <layout class="QGridLayout" name="gridLayout">
22      <property name="margin">
23       <number>0</number>
24      </property>
25      <item row="0" column="0">
26       <widget class="QCheckBox" name="expandAbbreviationsBox">
27        <property name="toolTip">
28         <string>Expand abbreviations if dictionary contains it (may be slow)</string>
29        </property>
30        <property name="text">
31         <string>Expand abbreviations</string>
32        </property>
33       </widget>
34      </item>
35      <item row="0" column="2">
36       <widget class="QCheckBox" name="reformatListsBox">
37        <property name="toolTip">
38         <string>If enabled all lists in translation wil be formated using HTML &lt;li&gt; tag (may be slow)</string>
39        </property>
40        <property name="text">
41         <string>Reformat lists</string>
42        </property>
43       </widget>
44      </item>
45      <item row="1" column="0">
46       <widget class="QLabel" name="reformatTranslationsWarningLabel">
47        <property name="enabled">
48         <bool>false</bool>
49        </property>
50        <property name="font">
51         <font>
52          <pointsize>9</pointsize>
53         </font>
54        </property>
55        <property name="visible">
56         <bool>false</bool>
57        </property>
58        <property name="text">
59         <string>&lt;b&gt;&lt;font color=&quot;red&quot;&gt;Warning!&lt;/font&gt;&lt;/b&gt; Reformatted translations may display incorrectly.</string>
60        </property>
61       </widget>
62      </item>
63     </layout>
64    </item>
65    <item>
66     <widget class="QListWidget" name="dictDirsList"/>
67    </item>
68    <item>
69     <layout class="QHBoxLayout">
70      <property name="spacing">
71       <number>6</number>
72      </property>
73      <property name="margin">
74       <number>0</number>
75      </property>
76      <item>
77       <widget class="QToolButton" name="addDictDirButton">
78        <property name="minimumSize">
79         <size>
80          <width>112</width>
81          <height>70</height>
82         </size>
83        </property>
84        <property name="toolTip">
85         <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
86 p, li { white-space: pre-wrap; }
87 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
88 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Add directory&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
89        </property>
90        <property name="text">
91         <string>Add</string>
92        </property>
93        <property name="icon">
94         <iconset resource="pixmaps/pixmaps.qrc">
95          <normaloff>:/icons/list-add.png</normaloff>:/icons/list-add.png</iconset>
96        </property>
97        <property name="iconSize">
98         <size>
99          <width>112</width>
100          <height>70</height>
101         </size>
102        </property>
103       </widget>
104      </item>
105      <item>
106       <widget class="QToolButton" name="removeDictDirButton">
107        <property name="minimumSize">
108         <size>
109          <width>112</width>
110          <height>70</height>
111         </size>
112        </property>
113        <property name="toolTip">
114         <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
115 p, li { white-space: pre-wrap; }
116 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
117 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Remove directory&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
118        </property>
119        <property name="text">
120         <string>Remove</string>
121        </property>
122        <property name="icon">
123         <iconset resource="pixmaps/pixmaps.qrc">
124          <normaloff>:/icons/list-remove.png</normaloff>:/icons/list-remove.png</iconset>
125        </property>
126        <property name="iconSize">
127         <size>
128          <width>112</width>
129          <height>70</height>
130         </size>
131        </property>
132       </widget>
133      </item>
134      <item>
135       <widget class="QToolButton" name="moveUpDictDirButton">
136        <property name="minimumSize">
137         <size>
138          <width>112</width>
139          <height>70</height>
140         </size>
141        </property>
142        <property name="toolTip">
143         <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
144 p, li { white-space: pre-wrap; }
145 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
146 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Move up&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
147        </property>
148        <property name="text">
149         <string>Up</string>
150        </property>
151        <property name="icon">
152         <iconset resource="pixmaps/pixmaps.qrc">
153          <normaloff>:/icons/arrow-up.png</normaloff>:/icons/arrow-up.png</iconset>
154        </property>
155        <property name="iconSize">
156         <size>
157          <width>112</width>
158          <height>70</height>
159         </size>
160        </property>
161       </widget>
162      </item>
163      <item>
164       <widget class="QToolButton" name="moveDownDictDirButton">
165        <property name="minimumSize">
166         <size>
167          <width>112</width>
168          <height>70</height>
169         </size>
170        </property>
171        <property name="toolTip">
172         <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
173 p, li { white-space: pre-wrap; }
174 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
175 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Move down&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
176        </property>
177        <property name="text">
178         <string>Down</string>
179        </property>
180        <property name="icon">
181         <iconset resource="pixmaps/pixmaps.qrc">
182          <normaloff>:/icons/arrow-down.png</normaloff>:/icons/arrow-down.png</iconset>
183        </property>
184        <property name="iconSize">
185         <size>
186          <width>112</width>
187          <height>70</height>
188         </size>
189        </property>
190       </widget>
191      </item>
192      <item>
193       <spacer>
194        <property name="orientation">
195         <enum>Qt::Horizontal</enum>
196        </property>
197        <property name="sizeHint" stdset="0">
198         <size>
199          <width>342</width>
200          <height>26</height>
201         </size>
202        </property>
203       </spacer>
204      </item>
205     </layout>
206    </item>
207   </layout>
208  </widget>
209  <resources>
210   <include location="pixmaps/pixmaps.qrc"/>
211  </resources>
212  <connections/>
213 </ui>