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