]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/ExternalUi.ui
* src/frontends/qt4/GuiDocument.cpp:
[lyx.git] / src / frontends / qt4 / ui / ExternalUi.ui
1 <ui version="4.0" >
2  <class>ExternalUi</class>
3  <widget class="QDialog" name="ExternalUi" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>386</width>
9     <height>453</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string/>
14   </property>
15   <property name="sizeGripEnabled" >
16    <bool>true</bool>
17   </property>
18   <layout class="QGridLayout" >
19    <property name="margin" >
20     <number>9</number>
21    </property>
22    <property name="spacing" >
23     <number>6</number>
24    </property>
25    <item row="0" column="0" >
26     <widget class="QTabWidget" name="tab" >
27      <property name="toolTip" >
28       <string/>
29      </property>
30      <property name="currentIndex" >
31       <number>2</number>
32      </property>
33      <widget class="QWidget" name="filetab" >
34       <property name="geometry" >
35        <rect>
36         <x>0</x>
37         <y>0</y>
38         <width>362</width>
39         <height>375</height>
40        </rect>
41       </property>
42       <attribute name="title" >
43        <string>F&amp;ile</string>
44       </attribute>
45       <layout class="QGridLayout" >
46        <property name="margin" >
47         <number>9</number>
48        </property>
49        <property name="spacing" >
50         <number>6</number>
51        </property>
52        <item row="0" column="1" >
53         <widget class="QLineEdit" name="fileED" >
54          <property name="toolTip" >
55           <string>Filename</string>
56          </property>
57         </widget>
58        </item>
59        <item row="0" column="0" >
60         <widget class="QLabel" name="fileLA" >
61          <property name="toolTip" >
62           <string>Filename</string>
63          </property>
64          <property name="text" >
65           <string>&amp;File:</string>
66          </property>
67          <property name="buddy" >
68           <cstring>fileED</cstring>
69          </property>
70         </widget>
71        </item>
72        <item row="0" column="2" >
73         <widget class="QPushButton" name="browsePB" >
74          <property name="toolTip" >
75           <string>Select a file</string>
76          </property>
77          <property name="text" >
78           <string>&amp;Browse...</string>
79          </property>
80         </widget>
81        </item>
82        <item row="2" column="0" colspan="3" >
83         <widget class="QCheckBox" name="draftCB" >
84          <property name="text" >
85           <string>&amp;Draft</string>
86          </property>
87         </widget>
88        </item>
89        <item row="1" column="0" colspan="3" >
90         <widget class="QGroupBox" name="GroupBox3" >
91          <property name="title" >
92           <string>&amp;Template</string>
93          </property>
94          <layout class="QGridLayout" >
95           <property name="margin" >
96            <number>9</number>
97           </property>
98           <property name="spacing" >
99            <number>6</number>
100           </property>
101           <item row="1" column="0" colspan="2" >
102            <widget class="QTextBrowser" name="externalTB" />
103           </item>
104           <item row="0" column="1" >
105            <spacer>
106             <property name="orientation" >
107              <enum>Qt::Horizontal</enum>
108             </property>
109             <property name="sizeType" >
110              <enum>QSizePolicy::Preferred</enum>
111             </property>
112             <property name="sizeHint" stdset="0" >
113              <size>
114               <width>20</width>
115               <height>20</height>
116              </size>
117             </property>
118            </spacer>
119           </item>
120           <item row="0" column="0" >
121            <widget class="QComboBox" name="externalCO" >
122             <property name="sizePolicy" >
123              <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
124               <horstretch>0</horstretch>
125               <verstretch>0</verstretch>
126              </sizepolicy>
127             </property>
128             <property name="toolTip" >
129              <string>Available templates</string>
130             </property>
131            </widget>
132           </item>
133          </layout>
134         </widget>
135        </item>
136       </layout>
137      </widget>
138      <widget class="QWidget" name="lyxviewtab" >
139       <property name="geometry" >
140        <rect>
141         <x>0</x>
142         <y>0</y>
143         <width>362</width>
144         <height>375</height>
145        </rect>
146       </property>
147       <attribute name="title" >
148        <string>LaTe&amp;X and LyX options</string>
149       </attribute>
150       <layout class="QVBoxLayout" name="verticalLayout" >
151        <item>
152         <widget class="QGroupBox" name="optionsGB" >
153          <property name="title" >
154           <string>LaTeX Options</string>
155          </property>
156          <property name="flat" >
157           <bool>true</bool>
158          </property>
159          <layout class="QGridLayout" >
160           <property name="margin" >
161            <number>9</number>
162           </property>
163           <property name="spacing" >
164            <number>6</number>
165           </property>
166           <item row="1" column="1" >
167            <widget class="QLineEdit" name="extraED" />
168           </item>
169           <item row="0" column="1" >
170            <widget class="QLabel" name="optionLA" >
171             <property name="text" >
172              <string>O&amp;ption:</string>
173             </property>
174             <property name="buddy" >
175              <cstring>extraED</cstring>
176             </property>
177            </widget>
178           </item>
179           <item row="1" column="0" >
180            <widget class="QComboBox" name="extraFormatCO" />
181           </item>
182           <item row="0" column="0" >
183            <widget class="QLabel" name="formatLA" >
184             <property name="text" >
185              <string>Forma&amp;t:</string>
186             </property>
187             <property name="textFormat" >
188              <enum>Qt::AutoText</enum>
189             </property>
190             <property name="buddy" >
191              <cstring>extraFormatCO</cstring>
192             </property>
193            </widget>
194           </item>
195          </layout>
196         </widget>
197        </item>
198        <item>
199         <widget class="QGroupBox" name="displayGB" >
200          <property name="toolTip" >
201           <string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
202 &lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
203 p, li { white-space: pre-wrap; }
204 &lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
205 &lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-size:8pt;">Enable LyX to preview this material; only if graphics previewing is not disabled at application level (see Preference dialog).&lt;/span>&lt;/p>
206 &lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">&lt;/p>&lt;/body>&lt;/html></string>
207          </property>
208          <property name="title" >
209           <string>&amp;Show in LyX</string>
210          </property>
211          <property name="flat" >
212           <bool>true</bool>
213          </property>
214          <property name="checkable" >
215           <bool>true</bool>
216          </property>
217          <layout class="QGridLayout" name="gridLayout" >
218           <item row="0" column="0" >
219            <widget class="QLabel" name="scaleLA" >
220             <property name="toolTip" >
221              <string>Percentage to scale by in LyX</string>
222             </property>
223             <property name="text" >
224              <string>Sca&amp;le on Screen (%):</string>
225             </property>
226             <property name="buddy" >
227              <cstring>displayscaleED</cstring>
228             </property>
229            </widget>
230           </item>
231           <item row="0" column="1" >
232            <widget class="QLineEdit" name="displayscaleED" >
233             <property name="enabled" >
234              <bool>true</bool>
235             </property>
236             <property name="sizePolicy" >
237              <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
238               <horstretch>0</horstretch>
239               <verstretch>0</verstretch>
240              </sizepolicy>
241             </property>
242             <property name="toolTip" >
243              <string>Percentage to scale by in LyX</string>
244             </property>
245            </widget>
246           </item>
247           <item row="0" column="2" >
248            <spacer name="horizontalSpacer" >
249             <property name="orientation" >
250              <enum>Qt::Horizontal</enum>
251             </property>
252             <property name="sizeHint" stdset="0" >
253              <size>
254               <width>40</width>
255               <height>20</height>
256              </size>
257             </property>
258            </spacer>
259           </item>
260          </layout>
261         </widget>
262        </item>
263        <item>
264         <spacer>
265          <property name="orientation" >
266           <enum>Qt::Vertical</enum>
267          </property>
268          <property name="sizeHint" stdset="0" >
269           <size>
270            <width>81</width>
271            <height>196</height>
272           </size>
273          </property>
274         </spacer>
275        </item>
276       </layout>
277      </widget>
278      <widget class="QWidget" name="sizetab" >
279       <property name="geometry" >
280        <rect>
281         <x>0</x>
282         <y>0</y>
283         <width>362</width>
284         <height>375</height>
285        </rect>
286       </property>
287       <attribute name="title" >
288        <string>Si&amp;ze and Rotation</string>
289       </attribute>
290       <layout class="QGridLayout" >
291        <property name="margin" >
292         <number>9</number>
293        </property>
294        <property name="spacing" >
295         <number>6</number>
296        </property>
297        <item row="1" column="0" >
298         <widget class="QGroupBox" name="rotationGB" >
299          <property name="title" >
300           <string>Rotate</string>
301          </property>
302          <property name="flat" >
303           <bool>true</bool>
304          </property>
305          <layout class="QGridLayout" >
306           <property name="margin" >
307            <number>9</number>
308           </property>
309           <property name="spacing" >
310            <number>6</number>
311           </property>
312           <item row="0" column="1" >
313            <spacer>
314             <property name="orientation" >
315              <enum>Qt::Horizontal</enum>
316             </property>
317             <property name="sizeType" >
318              <enum>QSizePolicy::Expanding</enum>
319             </property>
320             <property name="sizeHint" stdset="0" >
321              <size>
322               <width>20</width>
323               <height>20</height>
324              </size>
325             </property>
326            </spacer>
327           </item>
328           <item row="0" column="0" >
329            <layout class="QGridLayout" >
330             <property name="margin" >
331              <number>0</number>
332             </property>
333             <property name="spacing" >
334              <number>6</number>
335             </property>
336             <item row="0" column="1" >
337              <widget class="QLineEdit" name="angleED" >
338               <property name="sizePolicy" >
339                <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
340                 <horstretch>0</horstretch>
341                 <verstretch>0</verstretch>
342                </sizepolicy>
343               </property>
344               <property name="toolTip" >
345                <string>Angle to rotate image by</string>
346               </property>
347               <property name="text" >
348                <string/>
349               </property>
350              </widget>
351             </item>
352             <item row="1" column="0" >
353              <widget class="QLabel" name="originLA" >
354               <property name="toolTip" >
355                <string>The origin of the rotation</string>
356               </property>
357               <property name="text" >
358                <string>Ori&amp;gin:</string>
359               </property>
360               <property name="buddy" >
361                <cstring>originCO</cstring>
362               </property>
363              </widget>
364             </item>
365             <item row="1" column="1" >
366              <widget class="QComboBox" name="originCO" >
367               <property name="toolTip" >
368                <string>The origin of the rotation</string>
369               </property>
370              </widget>
371             </item>
372             <item row="0" column="0" >
373              <widget class="QLabel" name="angleLA" >
374               <property name="toolTip" >
375                <string>Angle to rotate image by</string>
376               </property>
377               <property name="text" >
378                <string>A&amp;ngle:</string>
379               </property>
380               <property name="buddy" >
381                <cstring>angleED</cstring>
382               </property>
383              </widget>
384             </item>
385            </layout>
386           </item>
387          </layout>
388         </widget>
389        </item>
390        <item row="0" column="0" >
391         <widget class="QGroupBox" name="scaleGB" >
392          <property name="title" >
393           <string>Scale</string>
394          </property>
395          <property name="flat" >
396           <bool>true</bool>
397          </property>
398          <layout class="QGridLayout" >
399           <property name="margin" >
400            <number>9</number>
401           </property>
402           <property name="spacing" >
403            <number>6</number>
404           </property>
405           <item row="1" column="2" >
406            <widget class="LengthCombo" name="heightUnitCO" />
407           </item>
408           <item row="0" column="2" >
409            <widget class="QComboBox" name="widthUnitCO" />
410           </item>
411           <item row="1" column="1" >
412            <widget class="QLineEdit" name="heightED" >
413             <property name="enabled" >
414              <bool>true</bool>
415             </property>
416             <property name="toolTip" >
417              <string>Height of image in output</string>
418             </property>
419            </widget>
420           </item>
421           <item row="0" column="1" >
422            <widget class="QLineEdit" name="widthED" >
423             <property name="enabled" >
424              <bool>true</bool>
425             </property>
426             <property name="toolTip" >
427              <string>Width of image in output</string>
428             </property>
429            </widget>
430           </item>
431           <item row="0" column="0" >
432            <widget class="QLabel" name="widthLA" >
433             <property name="enabled" >
434              <bool>true</bool>
435             </property>
436             <property name="text" >
437              <string>&amp;Width:</string>
438             </property>
439             <property name="buddy" >
440              <cstring>widthED</cstring>
441             </property>
442            </widget>
443           </item>
444           <item row="2" column="1" colspan="2" >
445            <widget class="QCheckBox" name="aspectratioCB" >
446             <property name="enabled" >
447              <bool>true</bool>
448             </property>
449             <property name="toolTip" >
450              <string>Maintain aspect ratio with largest dimension</string>
451             </property>
452             <property name="text" >
453              <string>&amp;Maintain aspect ratio</string>
454             </property>
455            </widget>
456           </item>
457           <item row="1" column="0" >
458            <widget class="QLabel" name="heightLA" >
459             <property name="enabled" >
460              <bool>true</bool>
461             </property>
462             <property name="text" >
463              <string>&amp;Height:</string>
464             </property>
465             <property name="buddy" >
466              <cstring>heightED</cstring>
467             </property>
468            </widget>
469           </item>
470          </layout>
471         </widget>
472        </item>
473        <item row="2" column="0" >
474         <widget class="QGroupBox" name="cropGB" >
475          <property name="title" >
476           <string>Crop</string>
477          </property>
478          <property name="flat" >
479           <bool>true</bool>
480          </property>
481          <layout class="QGridLayout" >
482           <property name="margin" >
483            <number>9</number>
484           </property>
485           <property name="spacing" >
486            <number>6</number>
487           </property>
488           <item row="0" column="0" colspan="2" >
489            <widget class="QCheckBox" name="clipCB" >
490             <property name="toolTip" >
491              <string>Clip to bounding box values</string>
492             </property>
493             <property name="text" >
494              <string>Clip to &amp;bounding box</string>
495             </property>
496            </widget>
497           </item>
498           <item row="3" column="0" >
499            <widget class="QLabel" name="lbLA" >
500             <property name="text" >
501              <string>&amp;Left bottom:</string>
502             </property>
503             <property name="buddy" >
504              <cstring>xlED</cstring>
505             </property>
506            </widget>
507           </item>
508           <item row="2" column="3" >
509            <widget class="QLineEdit" name="ytED" />
510           </item>
511           <item row="1" column="1" >
512            <widget class="QLabel" name="xLA" >
513             <property name="text" >
514              <string>x</string>
515             </property>
516            </widget>
517           </item>
518           <item row="2" column="0" >
519            <widget class="QLabel" name="rtLA" >
520             <property name="text" >
521              <string>Right &amp;top:</string>
522             </property>
523             <property name="buddy" >
524              <cstring>xrED</cstring>
525             </property>
526            </widget>
527           </item>
528           <item row="0" column="3" >
529            <widget class="QPushButton" name="getbbPB" >
530             <property name="toolTip" >
531              <string>Get bounding box from the (EPS) file</string>
532             </property>
533             <property name="text" >
534              <string>&amp;Get from File</string>
535             </property>
536            </widget>
537           </item>
538           <item row="3" column="1" colspan="2" >
539            <widget class="QLineEdit" name="xlED" >
540             <property name="toolTip" >
541              <string/>
542             </property>
543            </widget>
544           </item>
545           <item row="0" column="2" >
546            <spacer>
547             <property name="orientation" >
548              <enum>Qt::Horizontal</enum>
549             </property>
550             <property name="sizeHint" stdset="0" >
551              <size>
552               <width>43</width>
553               <height>18</height>
554              </size>
555             </property>
556            </spacer>
557           </item>
558           <item row="3" column="3" >
559            <widget class="QLineEdit" name="ybED" />
560           </item>
561           <item row="1" column="3" >
562            <widget class="QLabel" name="yLA" >
563             <property name="text" >
564              <string>y</string>
565             </property>
566            </widget>
567           </item>
568           <item row="2" column="1" colspan="2" >
569            <widget class="QLineEdit" name="xrED" />
570           </item>
571          </layout>
572         </widget>
573        </item>
574       </layout>
575      </widget>
576     </widget>
577    </item>
578    <item row="1" column="0" >
579     <layout class="QHBoxLayout" >
580      <property name="spacing" >
581       <number>6</number>
582      </property>
583      <property name="margin" >
584       <number>0</number>
585      </property>
586      <item>
587       <spacer>
588        <property name="orientation" >
589         <enum>Qt::Horizontal</enum>
590        </property>
591        <property name="sizeType" >
592         <enum>QSizePolicy::Expanding</enum>
593        </property>
594        <property name="sizeHint" stdset="0" >
595         <size>
596          <width>20</width>
597          <height>20</height>
598         </size>
599        </property>
600       </spacer>
601      </item>
602      <item>
603       <widget class="QPushButton" name="okPB" >
604        <property name="text" >
605         <string>&amp;OK</string>
606        </property>
607        <property name="default" >
608         <bool>true</bool>
609        </property>
610       </widget>
611      </item>
612      <item>
613       <widget class="QPushButton" name="applyPB" >
614        <property name="text" >
615         <string>&amp;Apply</string>
616        </property>
617        <property name="default" >
618         <bool>false</bool>
619        </property>
620       </widget>
621      </item>
622      <item>
623       <widget class="QPushButton" name="closePB" >
624        <property name="text" >
625         <string>&amp;Close</string>
626        </property>
627        <property name="autoDefault" >
628         <bool>false</bool>
629        </property>
630        <property name="default" >
631         <bool>false</bool>
632        </property>
633       </widget>
634      </item>
635     </layout>
636    </item>
637   </layout>
638   <zorder>tab</zorder>
639   <zorder>displayscaleLA</zorder>
640  </widget>
641  <customwidgets>
642   <customwidget>
643    <class>LengthCombo</class>
644    <extends>QComboBox</extends>
645    <header>LengthCombo.h</header>
646   </customwidget>
647  </customwidgets>
648  <tabstops>
649   <tabstop>tab</tabstop>
650   <tabstop>fileED</tabstop>
651   <tabstop>browsePB</tabstop>
652   <tabstop>externalCO</tabstop>
653   <tabstop>externalTB</tabstop>
654   <tabstop>draftCB</tabstop>
655   <tabstop>angleED</tabstop>
656   <tabstop>originCO</tabstop>
657   <tabstop>okPB</tabstop>
658   <tabstop>applyPB</tabstop>
659   <tabstop>closePB</tabstop>
660  </tabstops>
661  <includes>
662   <include location="local" >qt_i18n.h</include>
663  </includes>
664  <resources/>
665  <connections/>
666 </ui>