]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/CitationUi.ui
Use QFontMetrics information for underlines (and friends) width and position
[lyx.git] / src / frontends / qt4 / ui / CitationUi.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>CitationUi</class>
4  <widget class="QDialog" name="CitationUi">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>590</width>
10     <height>506</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string/>
15   </property>
16   <property name="sizeGripEnabled">
17    <bool>true</bool>
18   </property>
19   <layout class="QGridLayout" name="gridLayout_4">
20    <item row="0" column="0">
21     <layout class="QVBoxLayout" name="verticalLayout_2">
22      <item>
23       <layout class="QHBoxLayout">
24        <property name="spacing">
25         <number>6</number>
26        </property>
27        <property name="margin">
28         <number>0</number>
29        </property>
30        <item>
31         <widget class="QLabel" name="availableKeysLA">
32          <property name="text">
33           <string>A&amp;vailable Citations:</string>
34          </property>
35          <property name="buddy">
36           <cstring>availableLV</cstring>
37          </property>
38         </widget>
39        </item>
40        <item>
41         <spacer>
42          <property name="orientation">
43           <enum>Qt::Horizontal</enum>
44          </property>
45          <property name="sizeHint" stdset="0">
46           <size>
47            <width>71</width>
48            <height>20</height>
49           </size>
50          </property>
51         </spacer>
52        </item>
53        <item>
54         <widget class="QLabel" name="selectedKeysLA">
55          <property name="text">
56           <string>S&amp;elected Citations:</string>
57          </property>
58          <property name="buddy">
59           <cstring>selectedLV</cstring>
60          </property>
61         </widget>
62        </item>
63       </layout>
64      </item>
65      <item>
66       <layout class="QGridLayout" name="gridLayout">
67        <item row="0" column="0">
68         <layout class="QHBoxLayout" name="horizontalLayout">
69          <item>
70           <widget class="QListView" name="availableLV">
71            <property name="editTriggers">
72             <set>QAbstractItemView::NoEditTriggers</set>
73            </property>
74           </widget>
75          </item>
76          <item>
77           <layout class="QVBoxLayout" name="verticalLayout">
78            <item>
79             <widget class="QPushButton" name="addPB">
80              <property name="toolTip">
81               <string>Click or press Enter to add the selected citation to the list</string>
82              </property>
83              <property name="text">
84               <string>&amp;Add</string>
85              </property>
86              <property name="autoDefault">
87               <bool>false</bool>
88              </property>
89             </widget>
90            </item>
91            <item>
92             <widget class="QPushButton" name="deletePB">
93              <property name="toolTip">
94               <string>Click or press Delete to delete the selected citation from the list</string>
95              </property>
96              <property name="text">
97               <string>&amp;Delete</string>
98              </property>
99              <property name="autoDefault">
100               <bool>false</bool>
101              </property>
102             </widget>
103            </item>
104            <item>
105             <spacer>
106              <property name="orientation">
107               <enum>Qt::Vertical</enum>
108              </property>
109              <property name="sizeHint" stdset="0">
110               <size>
111                <width>77</width>
112                <height>1</height>
113               </size>
114              </property>
115             </spacer>
116            </item>
117            <item>
118             <widget class="QPushButton" name="upPB">
119              <property name="sizePolicy">
120               <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
121                <horstretch>0</horstretch>
122                <verstretch>0</verstretch>
123               </sizepolicy>
124              </property>
125              <property name="toolTip">
126               <string>Move the selected citation up (Ctrl-Up)</string>
127              </property>
128              <property name="text">
129               <string>&amp;Up</string>
130              </property>
131              <property name="icon">
132               <iconset>
133                <normaloff/>
134               </iconset>
135              </property>
136              <property name="autoDefault">
137               <bool>false</bool>
138              </property>
139             </widget>
140            </item>
141            <item>
142             <widget class="QPushButton" name="downPB">
143              <property name="sizePolicy">
144               <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
145                <horstretch>0</horstretch>
146                <verstretch>0</verstretch>
147               </sizepolicy>
148              </property>
149              <property name="toolTip">
150               <string>Move the selected citation down (Ctrl-Down)</string>
151              </property>
152              <property name="text">
153               <string>Do&amp;wn</string>
154              </property>
155              <property name="icon">
156               <iconset>
157                <normaloff/>
158               </iconset>
159              </property>
160              <property name="autoDefault">
161               <bool>false</bool>
162              </property>
163             </widget>
164            </item>
165           </layout>
166          </item>
167          <item>
168           <widget class="QListView" name="selectedLV">
169            <property name="editTriggers">
170             <set>QAbstractItemView::NoEditTriggers</set>
171            </property>
172           </widget>
173          </item>
174         </layout>
175        </item>
176        <item row="1" column="0">
177         <widget class="QTextEdit" name="infoML">
178          <property name="maximumSize">
179           <size>
180            <width>16777215</width>
181            <height>60</height>
182           </size>
183          </property>
184          <property name="acceptDrops">
185           <bool>false</bool>
186          </property>
187          <property name="readOnly">
188           <bool>true</bool>
189          </property>
190         </widget>
191        </item>
192       </layout>
193      </item>
194     </layout>
195    </item>
196    <item row="1" column="0">
197     <widget class="QToolBox" name="citationTB">
198      <property name="sizePolicy">
199       <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
200        <horstretch>0</horstretch>
201        <verstretch>0</verstretch>
202       </sizepolicy>
203      </property>
204      <property name="accessibleName">
205       <string/>
206      </property>
207      <property name="currentIndex">
208       <number>1</number>
209      </property>
210      <widget class="QWidget" name="page">
211       <property name="geometry">
212        <rect>
213         <x>0</x>
214         <y>0</y>
215         <width>572</width>
216         <height>111</height>
217        </rect>
218       </property>
219       <attribute name="label">
220        <string>&amp;Search Citation</string>
221       </attribute>
222       <layout class="QGridLayout" name="gridLayout_3">
223        <item row="0" column="0">
224         <widget class="QLabel" name="findKeysLA">
225          <property name="text">
226           <string>Searc&amp;h:</string>
227          </property>
228          <property name="alignment">
229           <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
230          </property>
231          <property name="buddy">
232           <cstring>findLE</cstring>
233          </property>
234         </widget>
235        </item>
236        <item row="0" column="1" colspan="4">
237         <widget class="QLineEdit" name="findLE">
238          <property name="toolTip">
239           <string>Enter the text to search for and press Enter or click the button to search</string>
240          </property>
241          <property name="text">
242           <string/>
243          </property>
244         </widget>
245        </item>
246        <item row="0" column="5">
247         <widget class="QPushButton" name="searchPB">
248          <property name="enabled">
249           <bool>false</bool>
250          </property>
251          <property name="toolTip">
252           <string>Click or press Enter in the search box to search</string>
253          </property>
254          <property name="text">
255           <string>&amp;Search</string>
256          </property>
257          <property name="autoDefault">
258           <bool>false</bool>
259          </property>
260         </widget>
261        </item>
262        <item row="1" column="0">
263         <widget class="QLabel" name="fieldsLA">
264          <property name="text">
265           <string>Search &amp;field:</string>
266          </property>
267          <property name="buddy">
268           <cstring>fieldsCO</cstring>
269          </property>
270         </widget>
271        </item>
272        <item row="1" column="1">
273         <widget class="QComboBox" name="fieldsCO">
274          <property name="maxVisibleItems">
275           <number>16</number>
276          </property>
277          <property name="insertPolicy">
278           <enum>QComboBox::NoInsert</enum>
279          </property>
280          <property name="sizeAdjustPolicy">
281           <enum>QComboBox::AdjustToContents</enum>
282          </property>
283          <item>
284           <property name="text">
285            <string>All fields</string>
286           </property>
287          </item>
288         </widget>
289        </item>
290        <item row="1" column="2">
291         <spacer>
292          <property name="orientation">
293           <enum>Qt::Horizontal</enum>
294          </property>
295          <property name="sizeHint" stdset="0">
296           <size>
297            <width>40</width>
298            <height>20</height>
299           </size>
300          </property>
301         </spacer>
302        </item>
303        <item row="1" column="3">
304         <widget class="QCheckBox" name="regexCB">
305          <property name="text">
306           <string>Regular e&amp;xpression</string>
307          </property>
308         </widget>
309        </item>
310        <item row="1" column="4" colspan="2">
311         <widget class="QCheckBox" name="caseCB">
312          <property name="text">
313           <string>Case se&amp;nsitive</string>
314          </property>
315         </widget>
316        </item>
317        <item row="2" column="0">
318         <widget class="QLabel" name="entriesLA">
319          <property name="text">
320           <string>Entry t&amp;ypes:</string>
321          </property>
322          <property name="buddy">
323           <cstring>entriesCO</cstring>
324          </property>
325         </widget>
326        </item>
327        <item row="2" column="1">
328         <widget class="QComboBox" name="entriesCO">
329          <property name="insertPolicy">
330           <enum>QComboBox::NoInsert</enum>
331          </property>
332          <property name="sizeAdjustPolicy">
333           <enum>QComboBox::AdjustToContents</enum>
334          </property>
335          <item>
336           <property name="text">
337            <string>All entry types</string>
338           </property>
339          </item>
340         </widget>
341        </item>
342        <item row="2" column="2">
343         <spacer>
344          <property name="orientation">
345           <enum>Qt::Horizontal</enum>
346          </property>
347          <property name="sizeHint" stdset="0">
348           <size>
349            <width>40</width>
350            <height>20</height>
351           </size>
352          </property>
353         </spacer>
354        </item>
355        <item row="2" column="4" colspan="2">
356         <widget class="QCheckBox" name="asTypeCB">
357          <property name="text">
358           <string>Search as you &amp;type</string>
359          </property>
360         </widget>
361        </item>
362       </layout>
363      </widget>
364      <widget class="QWidget" name="page_2">
365       <property name="geometry">
366        <rect>
367         <x>0</x>
368         <y>0</y>
369         <width>572</width>
370         <height>105</height>
371        </rect>
372       </property>
373       <attribute name="label">
374        <string>For&amp;matting</string>
375       </attribute>
376       <layout class="QGridLayout" name="gridLayout_2">
377        <item row="0" column="0">
378         <widget class="QLabel" name="citationStyleLA">
379          <property name="text">
380           <string>Citation st&amp;yle:</string>
381          </property>
382          <property name="buddy">
383           <cstring>citationStyleCO</cstring>
384          </property>
385         </widget>
386        </item>
387        <item row="0" column="1" colspan="3">
388         <widget class="QComboBox" name="citationStyleCO">
389          <property name="toolTip">
390           <string>Natbib citation style to use</string>
391          </property>
392         </widget>
393        </item>
394        <item row="1" column="0">
395         <widget class="QLabel" name="textBeforeLA">
396          <property name="text">
397           <string>Text &amp;before:</string>
398          </property>
399          <property name="buddy">
400           <cstring>textBeforeED</cstring>
401          </property>
402         </widget>
403        </item>
404        <item row="1" column="1">
405         <widget class="QLineEdit" name="textBeforeED">
406          <property name="toolTip">
407           <string>Text to place before citation</string>
408          </property>
409         </widget>
410        </item>
411        <item row="1" column="2">
412         <widget class="QLabel" name="textAfterLA">
413          <property name="text">
414           <string>&amp;Text after:</string>
415          </property>
416          <property name="buddy">
417           <cstring>textAfterED</cstring>
418          </property>
419         </widget>
420        </item>
421        <item row="1" column="3">
422         <widget class="QLineEdit" name="textAfterED">
423          <property name="toolTip">
424           <string>Text to place after citation</string>
425          </property>
426         </widget>
427        </item>
428        <item row="2" column="0" colspan="4">
429         <layout class="QHBoxLayout">
430          <property name="spacing">
431           <number>6</number>
432          </property>
433          <property name="margin">
434           <number>0</number>
435          </property>
436          <item>
437           <spacer>
438            <property name="orientation">
439             <enum>Qt::Horizontal</enum>
440            </property>
441            <property name="sizeHint" stdset="0">
442             <size>
443              <width>21</width>
444              <height>20</height>
445             </size>
446            </property>
447           </spacer>
448          </item>
449          <item>
450           <widget class="QCheckBox" name="fulllistCB">
451            <property name="toolTip">
452             <string>List all authors</string>
453            </property>
454            <property name="text">
455             <string>&amp;Full author list</string>
456            </property>
457           </widget>
458          </item>
459          <item>
460           <widget class="QCheckBox" name="forceuppercaseCB">
461            <property name="toolTip">
462             <string>Force upper case in citation</string>
463            </property>
464            <property name="text">
465             <string>Force u&amp;pper case</string>
466            </property>
467           </widget>
468          </item>
469         </layout>
470        </item>
471       </layout>
472      </widget>
473     </widget>
474    </item>
475    <item row="2" column="0">
476     <layout class="QHBoxLayout">
477      <property name="spacing">
478       <number>6</number>
479      </property>
480      <property name="margin">
481       <number>0</number>
482      </property>
483      <item>
484       <widget class="QPushButton" name="restorePB">
485        <property name="text">
486         <string>&amp;Restore</string>
487        </property>
488        <property name="autoDefault">
489         <bool>false</bool>
490        </property>
491       </widget>
492      </item>
493      <item>
494       <spacer>
495        <property name="orientation">
496         <enum>Qt::Horizontal</enum>
497        </property>
498        <property name="sizeHint" stdset="0">
499         <size>
500          <width>40</width>
501          <height>20</height>
502         </size>
503        </property>
504       </spacer>
505      </item>
506      <item>
507       <widget class="QPushButton" name="okPB">
508        <property name="text">
509         <string>&amp;OK</string>
510        </property>
511        <property name="autoDefault">
512         <bool>false</bool>
513        </property>
514        <property name="default">
515         <bool>false</bool>
516        </property>
517       </widget>
518      </item>
519      <item>
520       <widget class="QPushButton" name="applyPB">
521        <property name="text">
522         <string>App&amp;ly</string>
523        </property>
524        <property name="autoDefault">
525         <bool>false</bool>
526        </property>
527       </widget>
528      </item>
529      <item>
530       <widget class="QPushButton" name="cancelPB">
531        <property name="text">
532         <string>&amp;Cancel</string>
533        </property>
534        <property name="autoDefault">
535         <bool>false</bool>
536        </property>
537       </widget>
538      </item>
539     </layout>
540    </item>
541   </layout>
542  </widget>
543  <tabstops>
544   <tabstop>availableLV</tabstop>
545   <tabstop>addPB</tabstop>
546   <tabstop>deletePB</tabstop>
547   <tabstop>upPB</tabstop>
548   <tabstop>downPB</tabstop>
549   <tabstop>selectedLV</tabstop>
550   <tabstop>infoML</tabstop>
551   <tabstop>fulllistCB</tabstop>
552   <tabstop>forceuppercaseCB</tabstop>
553   <tabstop>restorePB</tabstop>
554   <tabstop>okPB</tabstop>
555   <tabstop>applyPB</tabstop>
556   <tabstop>cancelPB</tabstop>
557  </tabstops>
558  <includes>
559   <include location="local">qt_i18n.h</include>
560  </includes>
561  <resources/>
562  <connections/>
563 </ui>