]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/CitationUi.ui
LyXToolBox: a QToolBox with minimum size management
[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" rowstretch="1,0,0">
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="lyx::frontend::LyXToolBox" 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       <attribute name="label">
212        <string>&amp;Search Citation</string>
213       </attribute>
214       <layout class="QGridLayout" name="gridLayout_3" columnstretch="0,1,0,0,0,0">
215        <property name="sizeConstraint">
216         <enum>QLayout::SetMinimumSize</enum>
217        </property>
218        <item row="0" column="0">
219         <widget class="QLabel" name="findKeysLA">
220          <property name="text">
221           <string>Searc&amp;h:</string>
222          </property>
223          <property name="alignment">
224           <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
225          </property>
226          <property name="buddy">
227           <cstring>findLE</cstring>
228          </property>
229         </widget>
230        </item>
231        <item row="0" column="1" colspan="4">
232         <widget class="QLineEdit" name="findLE">
233          <property name="toolTip">
234           <string>Enter the text to search for and press Enter or click the button to search</string>
235          </property>
236          <property name="text">
237           <string/>
238          </property>
239         </widget>
240        </item>
241        <item row="0" column="5">
242         <widget class="QPushButton" name="searchPB">
243          <property name="enabled">
244           <bool>false</bool>
245          </property>
246          <property name="toolTip">
247           <string>Click or press Enter in the search box to search</string>
248          </property>
249          <property name="text">
250           <string>&amp;Search</string>
251          </property>
252          <property name="autoDefault">
253           <bool>false</bool>
254          </property>
255         </widget>
256        </item>
257        <item row="1" column="0">
258         <widget class="QLabel" name="fieldsLA">
259          <property name="text">
260           <string>Search &amp;field:</string>
261          </property>
262          <property name="buddy">
263           <cstring>fieldsCO</cstring>
264          </property>
265         </widget>
266        </item>
267        <item row="1" column="1">
268         <widget class="QComboBox" name="fieldsCO">
269          <property name="sizePolicy">
270           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
271            <horstretch>0</horstretch>
272            <verstretch>0</verstretch>
273           </sizepolicy>
274          </property>
275          <property name="maxVisibleItems">
276           <number>16</number>
277          </property>
278          <property name="insertPolicy">
279           <enum>QComboBox::NoInsert</enum>
280          </property>
281          <property name="sizeAdjustPolicy">
282           <enum>QComboBox::AdjustToContents</enum>
283          </property>
284          <item>
285           <property name="text">
286            <string>All fields</string>
287           </property>
288          </item>
289         </widget>
290        </item>
291        <item row="1" column="2">
292         <spacer>
293          <property name="orientation">
294           <enum>Qt::Horizontal</enum>
295          </property>
296          <property name="sizeHint" stdset="0">
297           <size>
298            <width>40</width>
299            <height>20</height>
300           </size>
301          </property>
302         </spacer>
303        </item>
304        <item row="1" column="3">
305         <widget class="QCheckBox" name="regexCB">
306          <property name="text">
307           <string>Regular e&amp;xpression</string>
308          </property>
309         </widget>
310        </item>
311        <item row="1" column="4" colspan="2">
312         <widget class="QCheckBox" name="caseCB">
313          <property name="text">
314           <string>Case se&amp;nsitive</string>
315          </property>
316         </widget>
317        </item>
318        <item row="2" column="0">
319         <widget class="QLabel" name="entriesLA">
320          <property name="text">
321           <string>Entry t&amp;ypes:</string>
322          </property>
323          <property name="buddy">
324           <cstring>entriesCO</cstring>
325          </property>
326         </widget>
327        </item>
328        <item row="2" column="1">
329         <widget class="QComboBox" name="entriesCO">
330          <property name="sizePolicy">
331           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
332            <horstretch>0</horstretch>
333            <verstretch>0</verstretch>
334           </sizepolicy>
335          </property>
336          <property name="insertPolicy">
337           <enum>QComboBox::NoInsert</enum>
338          </property>
339          <property name="sizeAdjustPolicy">
340           <enum>QComboBox::AdjustToContents</enum>
341          </property>
342          <item>
343           <property name="text">
344            <string>All entry types</string>
345           </property>
346          </item>
347         </widget>
348        </item>
349        <item row="2" column="2">
350         <spacer>
351          <property name="orientation">
352           <enum>Qt::Horizontal</enum>
353          </property>
354          <property name="sizeHint" stdset="0">
355           <size>
356            <width>40</width>
357            <height>20</height>
358           </size>
359          </property>
360         </spacer>
361        </item>
362        <item row="2" column="4" colspan="2">
363         <widget class="QCheckBox" name="asTypeCB">
364          <property name="text">
365           <string>Search as you &amp;type</string>
366          </property>
367         </widget>
368        </item>
369       </layout>
370      </widget>
371      <widget class="QWidget" name="page_2">
372       <attribute name="label">
373        <string>For&amp;matting</string>
374       </attribute>
375       <layout class="QGridLayout" name="gridLayout_2">
376        <property name="sizeConstraint">
377         <enum>QLayout::SetMinimumSize</enum>
378        </property>
379        <item row="0" column="0">
380         <widget class="QLabel" name="citationStyleLA">
381          <property name="text">
382           <string>Citation st&amp;yle:</string>
383          </property>
384          <property name="buddy">
385           <cstring>citationStyleCO</cstring>
386          </property>
387         </widget>
388        </item>
389        <item row="0" column="1" colspan="3">
390         <widget class="QComboBox" name="citationStyleCO">
391          <property name="toolTip">
392           <string>Natbib citation style to use</string>
393          </property>
394         </widget>
395        </item>
396        <item row="1" column="0">
397         <widget class="QLabel" name="textBeforeLA">
398          <property name="text">
399           <string>Text &amp;before:</string>
400          </property>
401          <property name="buddy">
402           <cstring>textBeforeED</cstring>
403          </property>
404         </widget>
405        </item>
406        <item row="1" column="1">
407         <widget class="QLineEdit" name="textBeforeED">
408          <property name="toolTip">
409           <string>Text to place before citation</string>
410          </property>
411         </widget>
412        </item>
413        <item row="1" column="2">
414         <widget class="QLabel" name="textAfterLA">
415          <property name="text">
416           <string>&amp;Text after:</string>
417          </property>
418          <property name="buddy">
419           <cstring>textAfterED</cstring>
420          </property>
421         </widget>
422        </item>
423        <item row="1" column="3">
424         <widget class="QLineEdit" name="textAfterED">
425          <property name="toolTip">
426           <string>Text to place after citation</string>
427          </property>
428         </widget>
429        </item>
430        <item row="2" column="0" colspan="4">
431         <layout class="QHBoxLayout">
432          <property name="spacing">
433           <number>6</number>
434          </property>
435          <property name="margin">
436           <number>0</number>
437          </property>
438          <item>
439           <spacer>
440            <property name="orientation">
441             <enum>Qt::Horizontal</enum>
442            </property>
443            <property name="sizeHint" stdset="0">
444             <size>
445              <width>21</width>
446              <height>26</height>
447             </size>
448            </property>
449           </spacer>
450          </item>
451          <item>
452           <widget class="QCheckBox" name="fulllistCB">
453            <property name="toolTip">
454             <string>List all authors</string>
455            </property>
456            <property name="text">
457             <string>&amp;Full author list</string>
458            </property>
459           </widget>
460          </item>
461          <item>
462           <widget class="QCheckBox" name="forceuppercaseCB">
463            <property name="toolTip">
464             <string>Force upper case in citation</string>
465            </property>
466            <property name="text">
467             <string>Force u&amp;pper case</string>
468            </property>
469           </widget>
470          </item>
471         </layout>
472        </item>
473       </layout>
474      </widget>
475     </widget>
476    </item>
477    <item row="2" column="0">
478     <layout class="QHBoxLayout">
479      <property name="spacing">
480       <number>6</number>
481      </property>
482      <property name="margin">
483       <number>0</number>
484      </property>
485      <item>
486       <widget class="QPushButton" name="restorePB">
487        <property name="text">
488         <string>&amp;Restore</string>
489        </property>
490        <property name="autoDefault">
491         <bool>false</bool>
492        </property>
493       </widget>
494      </item>
495      <item>
496       <spacer>
497        <property name="orientation">
498         <enum>Qt::Horizontal</enum>
499        </property>
500        <property name="sizeHint" stdset="0">
501         <size>
502          <width>40</width>
503          <height>20</height>
504         </size>
505        </property>
506       </spacer>
507      </item>
508      <item>
509       <widget class="QPushButton" name="okPB">
510        <property name="text">
511         <string>&amp;OK</string>
512        </property>
513        <property name="autoDefault">
514         <bool>false</bool>
515        </property>
516        <property name="default">
517         <bool>false</bool>
518        </property>
519       </widget>
520      </item>
521      <item>
522       <widget class="QPushButton" name="applyPB">
523        <property name="text">
524         <string>App&amp;ly</string>
525        </property>
526        <property name="autoDefault">
527         <bool>false</bool>
528        </property>
529       </widget>
530      </item>
531      <item>
532       <widget class="QPushButton" name="cancelPB">
533        <property name="text">
534         <string>&amp;Cancel</string>
535        </property>
536        <property name="autoDefault">
537         <bool>false</bool>
538        </property>
539       </widget>
540      </item>
541     </layout>
542    </item>
543   </layout>
544  </widget>
545  <customwidgets>
546   <customwidget>
547    <class>lyx::frontend::LyXToolBox</class>
548    <extends>QToolBox</extends>
549    <header>LyXToolBox.h</header>
550    <container>1</container>
551   </customwidget>
552  </customwidgets>
553  <tabstops>
554   <tabstop>availableLV</tabstop>
555   <tabstop>addPB</tabstop>
556   <tabstop>deletePB</tabstop>
557   <tabstop>upPB</tabstop>
558   <tabstop>downPB</tabstop>
559   <tabstop>selectedLV</tabstop>
560   <tabstop>infoML</tabstop>
561   <tabstop>fulllistCB</tabstop>
562   <tabstop>forceuppercaseCB</tabstop>
563   <tabstop>restorePB</tabstop>
564   <tabstop>okPB</tabstop>
565   <tabstop>applyPB</tabstop>
566   <tabstop>cancelPB</tabstop>
567  </tabstops>
568  <includes>
569   <include location="local">qt_i18n.h</include>
570  </includes>
571  <resources/>
572  <connections/>
573 </ui>