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