]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/GraphicsUi.ui
2a441685167e0247e3f1e7482f9e4d237c678e32
[lyx.git] / src / frontends / qt4 / ui / GraphicsUi.ui
1 <ui version="4.0" >
2  <class>GraphicsUi</class>
3  <widget class="QDialog" name="GraphicsUi" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>481</width>
9     <height>354</height>
10    </rect>
11   </property>
12   <property name="sizePolicy" >
13    <sizepolicy>
14     <hsizetype>1</hsizetype>
15     <vsizetype>1</vsizetype>
16     <horstretch>0</horstretch>
17     <verstretch>0</verstretch>
18    </sizepolicy>
19   </property>
20   <property name="windowTitle" >
21    <string/>
22   </property>
23   <property name="sizeGripEnabled" >
24    <bool>true</bool>
25   </property>
26   <layout class="QGridLayout" >
27    <property name="margin" >
28     <number>9</number>
29    </property>
30    <property name="spacing" >
31     <number>6</number>
32    </property>
33    <item row="0" column="0" >
34     <widget class="QTabWidget" name="TabWidget" >
35      <property name="toolTip" >
36       <string/>
37      </property>
38      <property name="currentIndex" >
39       <number>0</number>
40      </property>
41      <widget class="QWidget" name="Graphics" >
42       <attribute name="title" >
43        <string>&amp;Graphics</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="4" >
53         <widget class="QCheckBox" name="embedCB" >
54          <property name="text" >
55           <string>E&amp;mbed</string>
56          </property>
57         </widget>
58        </item>
59        <item row="0" column="2" >
60         <widget class="QPushButton" name="browsePB" >
61          <property name="toolTip" >
62           <string>Select an image file</string>
63          </property>
64          <property name="text" >
65           <string>&amp;Browse...</string>
66          </property>
67         </widget>
68        </item>
69        <item row="1" column="0" colspan="5" >
70         <widget class="QGroupBox" name="sizeGB" >
71          <property name="title" >
72           <string>Output Size</string>
73          </property>
74          <property name="flat" >
75           <bool>true</bool>
76          </property>
77          <layout class="QGridLayout" >
78           <property name="margin" >
79            <number>9</number>
80           </property>
81           <property name="spacing" >
82            <number>6</number>
83           </property>
84           <item row="1" column="2" >
85            <widget class="LengthCombo" name="widthUnit" />
86           </item>
87           <item row="2" column="2" >
88            <widget class="LengthCombo" name="heightUnit" />
89           </item>
90           <item row="1" column="1" >
91            <widget class="QLineEdit" name="Width" >
92             <property name="enabled" >
93              <bool>true</bool>
94             </property>
95             <property name="sizePolicy" >
96              <sizepolicy>
97               <hsizetype>1</hsizetype>
98               <vsizetype>0</vsizetype>
99               <horstretch>0</horstretch>
100               <verstretch>0</verstretch>
101              </sizepolicy>
102             </property>
103             <property name="toolTip" >
104              <string>Width of image in output</string>
105             </property>
106            </widget>
107           </item>
108           <item row="0" column="2" >
109            <spacer>
110             <property name="orientation" >
111              <enum>Qt::Horizontal</enum>
112             </property>
113             <property name="sizeHint" >
114              <size>
115               <width>61</width>
116               <height>20</height>
117              </size>
118             </property>
119            </spacer>
120           </item>
121           <item row="0" column="1" >
122            <widget class="QLineEdit" name="Scale" />
123           </item>
124           <item row="2" column="1" >
125            <widget class="QLineEdit" name="Height" >
126             <property name="enabled" >
127              <bool>true</bool>
128             </property>
129             <property name="sizePolicy" >
130              <sizepolicy>
131               <hsizetype>1</hsizetype>
132               <vsizetype>0</vsizetype>
133               <horstretch>0</horstretch>
134               <verstretch>0</verstretch>
135              </sizepolicy>
136             </property>
137             <property name="toolTip" >
138              <string>Height of image in output</string>
139             </property>
140            </widget>
141           </item>
142           <item row="2" column="0" >
143            <widget class="QCheckBox" name="HeightCB" >
144             <property name="enabled" >
145              <bool>true</bool>
146             </property>
147             <property name="toolTip" >
148              <string>Sets height of graphic. Leave unchecked to set automatically.</string>
149             </property>
150             <property name="text" >
151              <string>Set &amp;height:</string>
152             </property>
153            </widget>
154           </item>
155           <item row="0" column="0" >
156            <widget class="QCheckBox" name="scaleCB" >
157             <property name="text" >
158              <string>&amp;Scale Graphics (%):</string>
159             </property>
160            </widget>
161           </item>
162           <item row="1" column="0" >
163            <widget class="QCheckBox" name="WidthCB" >
164             <property name="enabled" >
165              <bool>true</bool>
166             </property>
167             <property name="toolTip" >
168              <string>Sets width of graphic. Leave unchecked to set automatically.</string>
169             </property>
170             <property name="text" >
171              <string>Set &amp;width:</string>
172             </property>
173            </widget>
174           </item>
175           <item row="3" column="1" colspan="2" >
176            <widget class="QCheckBox" name="aspectratio" >
177             <property name="enabled" >
178              <bool>true</bool>
179             </property>
180             <property name="toolTip" >
181              <string>Scale image to maximum size not exceeding width and height</string>
182             </property>
183             <property name="text" >
184              <string>&amp;Maintain aspect ratio</string>
185             </property>
186            </widget>
187           </item>
188          </layout>
189         </widget>
190        </item>
191        <item row="2" column="0" colspan="5" >
192         <widget class="QGroupBox" name="rotationGB" >
193          <property name="title" >
194           <string>Rotate Graphics</string>
195          </property>
196          <property name="flat" >
197           <bool>true</bool>
198          </property>
199          <layout class="QGridLayout" >
200           <property name="margin" >
201            <number>9</number>
202           </property>
203           <property name="spacing" >
204            <number>6</number>
205           </property>
206           <item row="1" column="0" colspan="2" >
207            <widget class="QCheckBox" name="rotateOrderCB" >
208             <property name="toolTip" >
209              <string>Check to change the order of rotating and scaling</string>
210             </property>
211             <property name="text" >
212              <string>Ro&amp;tate after scaling</string>
213             </property>
214            </widget>
215           </item>
216           <item row="0" column="3" >
217            <widget class="QComboBox" name="origin" >
218             <property name="toolTip" >
219              <string>The origin of the rotation</string>
220             </property>
221            </widget>
222           </item>
223           <item row="0" column="2" >
224            <widget class="QLabel" name="originL" >
225             <property name="toolTip" >
226              <string>The origin of the rotation</string>
227             </property>
228             <property name="text" >
229              <string>Or&amp;igin:</string>
230             </property>
231             <property name="buddy" >
232              <cstring>origin</cstring>
233             </property>
234            </widget>
235           </item>
236           <item row="0" column="1" >
237            <widget class="QLineEdit" name="angle" >
238             <property name="sizePolicy" >
239              <sizepolicy>
240               <hsizetype>3</hsizetype>
241               <vsizetype>0</vsizetype>
242               <horstretch>0</horstretch>
243               <verstretch>0</verstretch>
244              </sizepolicy>
245             </property>
246             <property name="toolTip" >
247              <string>Angle to rotate image by</string>
248             </property>
249            </widget>
250           </item>
251           <item row="0" column="0" >
252            <widget class="QLabel" name="angleL" >
253             <property name="toolTip" >
254              <string>Angle to rotate image by</string>
255             </property>
256             <property name="text" >
257              <string>A&amp;ngle (Degrees):</string>
258             </property>
259             <property name="buddy" >
260              <cstring>angle</cstring>
261             </property>
262            </widget>
263           </item>
264          </layout>
265         </widget>
266        </item>
267        <item row="0" column="0" >
268         <widget class="QLabel" name="filenameL" >
269          <property name="toolTip" >
270           <string>File name of image</string>
271          </property>
272          <property name="text" >
273           <string>&amp;File:</string>
274          </property>
275          <property name="buddy" >
276           <cstring>filename</cstring>
277          </property>
278         </widget>
279        </item>
280        <item row="0" column="1" >
281         <widget class="QLineEdit" name="filename" >
282          <property name="toolTip" >
283           <string>File name of image</string>
284          </property>
285         </widget>
286        </item>
287       </layout>
288      </widget>
289      <widget class="QWidget" name="Clipping" >
290       <attribute name="title" >
291        <string>&amp;Clipping</string>
292       </attribute>
293       <layout class="QGridLayout" >
294        <property name="margin" >
295         <number>9</number>
296        </property>
297        <property name="spacing" >
298         <number>6</number>
299        </property>
300        <item row="3" column="0" colspan="2" >
301         <spacer>
302          <property name="orientation" >
303           <enum>Qt::Vertical</enum>
304          </property>
305          <property name="sizeHint" >
306           <size>
307            <width>20</width>
308            <height>40</height>
309           </size>
310          </property>
311         </spacer>
312        </item>
313        <item row="0" column="0" colspan="2" >
314         <widget class="QCheckBox" name="clip" >
315          <property name="toolTip" >
316           <string>Clip to bounding box values</string>
317          </property>
318          <property name="text" >
319           <string>Clip to &amp;bounding box</string>
320          </property>
321         </widget>
322        </item>
323        <item row="1" column="0" colspan="2" >
324         <widget class="QFrame" name="bbFrame" >
325          <property name="enabled" >
326           <bool>true</bool>
327          </property>
328          <property name="sizePolicy" >
329           <sizepolicy>
330            <hsizetype>5</hsizetype>
331            <vsizetype>1</vsizetype>
332            <horstretch>0</horstretch>
333            <verstretch>0</verstretch>
334           </sizepolicy>
335          </property>
336          <property name="frameShape" >
337           <enum>QFrame::StyledPanel</enum>
338          </property>
339          <property name="frameShadow" >
340           <enum>QFrame::Plain</enum>
341          </property>
342          <layout class="QGridLayout" >
343           <property name="margin" >
344            <number>9</number>
345           </property>
346           <property name="spacing" >
347            <number>6</number>
348           </property>
349           <item row="0" column="0" colspan="6" >
350            <widget class="QLabel" name="lbL" >
351             <property name="text" >
352              <string>&amp;Left bottom:</string>
353             </property>
354             <property name="buddy" >
355              <cstring>lbX</cstring>
356             </property>
357            </widget>
358           </item>
359           <item row="3" column="1" >
360            <widget class="QLineEdit" name="rtX" />
361           </item>
362           <item row="3" column="4" >
363            <widget class="QLineEdit" name="rtY" />
364           </item>
365           <item row="1" column="4" >
366            <widget class="QLineEdit" name="lbY" />
367           </item>
368           <item row="1" column="1" >
369            <widget class="QLineEdit" name="lbX" >
370             <property name="toolTip" >
371              <string/>
372             </property>
373            </widget>
374           </item>
375           <item row="1" column="2" >
376            <widget class="QComboBox" name="lbXunit" />
377           </item>
378           <item row="3" column="2" >
379            <widget class="QComboBox" name="rtXunit" />
380           </item>
381           <item row="3" column="5" >
382            <widget class="QComboBox" name="rtYunit" />
383           </item>
384           <item row="1" column="5" >
385            <widget class="QComboBox" name="lbYunit" />
386           </item>
387           <item row="2" column="0" colspan="6" >
388            <widget class="QLabel" name="rtL" >
389             <property name="text" >
390              <string>Right &amp;top:</string>
391             </property>
392             <property name="buddy" >
393              <cstring>rtX</cstring>
394             </property>
395            </widget>
396           </item>
397           <item row="3" column="3" >
398            <widget class="QLabel" name="yL_2" >
399             <property name="text" >
400              <string>y:</string>
401             </property>
402            </widget>
403           </item>
404           <item row="1" column="3" >
405            <widget class="QLabel" name="yL" >
406             <property name="text" >
407              <string>y:</string>
408             </property>
409            </widget>
410           </item>
411           <item row="3" column="0" >
412            <widget class="QLabel" name="xL_2" >
413             <property name="text" >
414              <string>x:</string>
415             </property>
416            </widget>
417           </item>
418           <item row="1" column="0" >
419            <widget class="QLabel" name="xL" >
420             <property name="text" >
421              <string>x:</string>
422             </property>
423            </widget>
424           </item>
425          </layout>
426         </widget>
427        </item>
428        <item row="2" column="0" >
429         <spacer>
430          <property name="orientation" >
431           <enum>Qt::Horizontal</enum>
432          </property>
433          <property name="sizeHint" >
434           <size>
435            <width>181</width>
436            <height>20</height>
437           </size>
438          </property>
439         </spacer>
440        </item>
441        <item row="2" column="1" >
442         <widget class="QPushButton" name="getPB" >
443          <property name="toolTip" >
444           <string>Get bounding box from the (EPS) file</string>
445          </property>
446          <property name="text" >
447           <string>&amp;Get from File</string>
448          </property>
449         </widget>
450        </item>
451       </layout>
452      </widget>
453      <widget class="QWidget" name="ExtraOptions" >
454       <attribute name="title" >
455        <string>LaTe&amp;X and LyX options</string>
456       </attribute>
457       <layout class="QGridLayout" >
458        <property name="margin" >
459         <number>9</number>
460        </property>
461        <property name="spacing" >
462         <number>6</number>
463        </property>
464        <item row="4" column="0" colspan="2" >
465         <widget class="QGroupBox" name="displayGB" >
466          <property name="focusPolicy" >
467           <enum>Qt::StrongFocus</enum>
468          </property>
469          <property name="title" >
470           <string>Sho&amp;w in LyX</string>
471          </property>
472          <property name="flat" >
473           <bool>true</bool>
474          </property>
475          <property name="checkable" >
476           <bool>true</bool>
477          </property>
478          <layout class="QGridLayout" >
479           <property name="margin" >
480            <number>9</number>
481           </property>
482           <property name="spacing" >
483            <number>6</number>
484           </property>
485           <item row="0" column="4" >
486            <spacer>
487             <property name="orientation" >
488              <enum>Qt::Horizontal</enum>
489             </property>
490             <property name="sizeHint" >
491              <size>
492               <width>40</width>
493               <height>20</height>
494              </size>
495             </property>
496            </spacer>
497           </item>
498           <item row="0" column="3" >
499            <widget class="QLineEdit" name="displayscale" >
500             <property name="enabled" >
501              <bool>true</bool>
502             </property>
503             <property name="sizePolicy" >
504              <sizepolicy>
505               <hsizetype>1</hsizetype>
506               <vsizetype>0</vsizetype>
507               <horstretch>0</horstretch>
508               <verstretch>0</verstretch>
509              </sizepolicy>
510             </property>
511             <property name="toolTip" >
512              <string>Percentage to scale by in LyX</string>
513             </property>
514            </widget>
515           </item>
516           <item row="0" column="2" >
517            <widget class="QLabel" name="scaleLA" >
518             <property name="toolTip" >
519              <string>Percentage to scale by in LyX</string>
520             </property>
521             <property name="text" >
522              <string>Sca&amp;le on Screen (%):</string>
523             </property>
524             <property name="buddy" >
525              <cstring>displayscale</cstring>
526             </property>
527            </widget>
528           </item>
529           <item row="0" column="1" >
530            <widget class="QComboBox" name="showCB" >
531             <property name="toolTip" >
532              <string>Screen display</string>
533             </property>
534             <item>
535              <property name="text" >
536               <string>Default</string>
537              </property>
538             </item>
539             <item>
540              <property name="text" >
541               <string>Monochrome</string>
542              </property>
543             </item>
544             <item>
545              <property name="text" >
546               <string>Grayscale</string>
547              </property>
548             </item>
549             <item>
550              <property name="text" >
551               <string>Color</string>
552              </property>
553             </item>
554            </widget>
555           </item>
556           <item row="0" column="0" >
557            <widget class="QLabel" name="showL" >
558             <property name="toolTip" >
559              <string>Screen display</string>
560             </property>
561             <property name="text" >
562              <string>&amp;Display:</string>
563             </property>
564             <property name="buddy" >
565              <cstring>showCB</cstring>
566             </property>
567            </widget>
568           </item>
569          </layout>
570         </widget>
571        </item>
572        <item row="5" column="1" >
573         <spacer>
574          <property name="orientation" >
575           <enum>Qt::Vertical</enum>
576          </property>
577          <property name="sizeHint" >
578           <size>
579            <width>20</width>
580            <height>41</height>
581           </size>
582          </property>
583         </spacer>
584        </item>
585        <item row="2" column="0" colspan="2" >
586         <widget class="QCheckBox" name="unzipCB" >
587          <property name="toolTip" >
588           <string>Don't uncompress image before exporting to LaTeX</string>
589          </property>
590          <property name="text" >
591           <string>Don't un&amp;zip on export</string>
592          </property>
593         </widget>
594        </item>
595        <item row="0" column="1" >
596         <widget class="QLineEdit" name="latexoptions" >
597          <property name="sizePolicy" >
598           <sizepolicy>
599            <hsizetype>3</hsizetype>
600            <vsizetype>0</vsizetype>
601            <horstretch>0</horstretch>
602            <verstretch>0</verstretch>
603           </sizepolicy>
604          </property>
605          <property name="toolTip" >
606           <string>Additional LaTeX options</string>
607          </property>
608         </widget>
609        </item>
610        <item row="0" column="0" >
611         <widget class="QLabel" name="latexoptionsLA" >
612          <property name="toolTip" >
613           <string>Additional LaTeX options</string>
614          </property>
615          <property name="text" >
616           <string>LaTeX &amp;options:</string>
617          </property>
618          <property name="buddy" >
619           <cstring>latexoptions</cstring>
620          </property>
621         </widget>
622        </item>
623        <item row="1" column="0" colspan="2" >
624         <widget class="QCheckBox" name="draftCB" >
625          <property name="toolTip" >
626           <string>Draft mode</string>
627          </property>
628          <property name="text" >
629           <string>&amp;Draft mode</string>
630          </property>
631         </widget>
632        </item>
633       </layout>
634      </widget>
635     </widget>
636    </item>
637    <item row="1" column="0" >
638     <layout class="QHBoxLayout" >
639      <property name="margin" >
640       <number>0</number>
641      </property>
642      <property name="spacing" >
643       <number>6</number>
644      </property>
645      <item>
646       <widget class="QPushButton" name="restorePB" >
647        <property name="text" >
648         <string>&amp;Restore</string>
649        </property>
650        <property name="autoDefault" >
651         <bool>false</bool>
652        </property>
653        <property name="default" >
654         <bool>false</bool>
655        </property>
656       </widget>
657      </item>
658      <item>
659       <spacer>
660        <property name="orientation" >
661         <enum>Qt::Horizontal</enum>
662        </property>
663        <property name="sizeType" >
664         <enum>QSizePolicy::MinimumExpanding</enum>
665        </property>
666        <property name="sizeHint" >
667         <size>
668          <width>20</width>
669          <height>20</height>
670         </size>
671        </property>
672       </spacer>
673      </item>
674      <item>
675       <widget class="QPushButton" name="okPB" >
676        <property name="text" >
677         <string>&amp;OK</string>
678        </property>
679        <property name="autoDefault" >
680         <bool>true</bool>
681        </property>
682        <property name="default" >
683         <bool>true</bool>
684        </property>
685       </widget>
686      </item>
687      <item>
688       <widget class="QPushButton" name="applyPB" >
689        <property name="sizePolicy" >
690         <sizepolicy>
691          <hsizetype>1</hsizetype>
692          <vsizetype>0</vsizetype>
693          <horstretch>0</horstretch>
694          <verstretch>0</verstretch>
695         </sizepolicy>
696        </property>
697        <property name="text" >
698         <string>&amp;Apply</string>
699        </property>
700        <property name="autoDefault" >
701         <bool>false</bool>
702        </property>
703        <property name="default" >
704         <bool>false</bool>
705        </property>
706       </widget>
707      </item>
708      <item>
709       <widget class="QPushButton" name="closePB" >
710        <property name="sizePolicy" >
711         <sizepolicy>
712          <hsizetype>1</hsizetype>
713          <vsizetype>0</vsizetype>
714          <horstretch>0</horstretch>
715          <verstretch>0</verstretch>
716         </sizepolicy>
717        </property>
718        <property name="text" >
719         <string>Close</string>
720        </property>
721        <property name="autoDefault" >
722         <bool>false</bool>
723        </property>
724       </widget>
725      </item>
726     </layout>
727    </item>
728   </layout>
729  </widget>
730  <customwidgets>
731   <customwidget>
732    <class>LengthCombo</class>
733    <extends>QComboBox</extends>
734    <header>LengthCombo.h</header>
735   </customwidget>
736  </customwidgets>
737  <tabstops>
738   <tabstop>TabWidget</tabstop>
739   <tabstop>filename</tabstop>
740   <tabstop>browsePB</tabstop>
741   <tabstop>scaleCB</tabstop>
742   <tabstop>Scale</tabstop>
743   <tabstop>WidthCB</tabstop>
744   <tabstop>Width</tabstop>
745   <tabstop>widthUnit</tabstop>
746   <tabstop>HeightCB</tabstop>
747   <tabstop>Height</tabstop>
748   <tabstop>heightUnit</tabstop>
749   <tabstop>aspectratio</tabstop>
750   <tabstop>angle</tabstop>
751   <tabstop>origin</tabstop>
752   <tabstop>rotateOrderCB</tabstop>
753   <tabstop>restorePB</tabstop>
754   <tabstop>okPB</tabstop>
755   <tabstop>applyPB</tabstop>
756   <tabstop>closePB</tabstop>
757   <tabstop>clip</tabstop>
758   <tabstop>lbX</tabstop>
759   <tabstop>lbXunit</tabstop>
760   <tabstop>lbY</tabstop>
761   <tabstop>lbYunit</tabstop>
762   <tabstop>rtX</tabstop>
763   <tabstop>rtXunit</tabstop>
764   <tabstop>rtY</tabstop>
765   <tabstop>rtYunit</tabstop>
766   <tabstop>getPB</tabstop>
767   <tabstop>latexoptions</tabstop>
768   <tabstop>draftCB</tabstop>
769   <tabstop>unzipCB</tabstop>
770   <tabstop>displayGB</tabstop>
771   <tabstop>showCB</tabstop>
772   <tabstop>displayscale</tabstop>
773  </tabstops>
774  <includes>
775   <include location="local" >qt_helpers.h</include>
776  </includes>
777  <resources/>
778  <connections/>
779 </ui>