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