]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/GraphicsUi.ui
correct size
[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>480</width>
9     <height>348</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>458</width>
132         <height>272</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>458</width>
375         <height>272</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>458</width>
545         <height>272</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="toolTip" >
604           <string>Enable LyX to preview this graphics, only if graphics previewing is not disabled at application level (see Preference dialog).</string>
605          </property>
606          <property name="title" >
607           <string>Sho&amp;w in LyX</string>
608          </property>
609          <property name="flat" >
610           <bool>true</bool>
611          </property>
612          <property name="checkable" >
613           <bool>true</bool>
614          </property>
615          <layout class="QGridLayout" >
616           <property name="margin" >
617            <number>9</number>
618           </property>
619           <property name="spacing" >
620            <number>6</number>
621           </property>
622           <item row="0" column="4" >
623            <spacer>
624             <property name="orientation" >
625              <enum>Qt::Horizontal</enum>
626             </property>
627             <property name="sizeHint" stdset="0" >
628              <size>
629               <width>40</width>
630               <height>20</height>
631              </size>
632             </property>
633            </spacer>
634           </item>
635           <item row="1" column="0" >
636            <widget class="QLabel" name="label" >
637             <property name="sizePolicy" >
638              <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
639               <horstretch>0</horstretch>
640               <verstretch>0</verstretch>
641              </sizepolicy>
642             </property>
643             <property name="text" >
644              <string>&amp;Initialize Group Name:</string>
645             </property>
646             <property name="buddy" >
647              <cstring>groupId</cstring>
648             </property>
649            </widget>
650           </item>
651           <item row="1" column="1" >
652            <widget class="QLineEdit" name="groupId" >
653             <property name="minimumSize" >
654              <size>
655               <width>87</width>
656               <height>0</height>
657              </size>
658             </property>
659             <property name="toolTip" >
660              <string>Group Name to be set up from the current parameters</string>
661             </property>
662            </widget>
663           </item>
664           <item row="0" column="1" >
665            <widget class="QLineEdit" name="displayscale" >
666             <property name="enabled" >
667              <bool>true</bool>
668             </property>
669             <property name="sizePolicy" >
670              <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
671               <horstretch>0</horstretch>
672               <verstretch>0</verstretch>
673              </sizepolicy>
674             </property>
675             <property name="toolTip" >
676              <string>Percentage to scale by in LyX</string>
677             </property>
678            </widget>
679           </item>
680           <item row="0" column="0" >
681            <widget class="QLabel" name="scaleLA" >
682             <property name="toolTip" >
683              <string>Percentage to scale by in LyX</string>
684             </property>
685             <property name="text" >
686              <string>Sca&amp;le on Screen (%):</string>
687             </property>
688             <property name="buddy" >
689              <cstring>displayscale</cstring>
690             </property>
691            </widget>
692           </item>
693          </layout>
694         </widget>
695        </item>
696        <item row="4" column="1" >
697         <spacer>
698          <property name="orientation" >
699           <enum>Qt::Vertical</enum>
700          </property>
701          <property name="sizeHint" stdset="0" >
702           <size>
703            <width>354</width>
704            <height>81</height>
705           </size>
706          </property>
707         </spacer>
708        </item>
709       </layout>
710      </widget>
711     </widget>
712    </item>
713   </layout>
714  </widget>
715  <customwidgets>
716   <customwidget>
717    <class>LengthCombo</class>
718    <extends>QComboBox</extends>
719    <header>LengthCombo.h</header>
720   </customwidget>
721  </customwidgets>
722  <tabstops>
723   <tabstop>tabWidget</tabstop>
724   <tabstop>filename</tabstop>
725   <tabstop>browsePB</tabstop>
726   <tabstop>scaleCB</tabstop>
727   <tabstop>Scale</tabstop>
728   <tabstop>WidthCB</tabstop>
729   <tabstop>Width</tabstop>
730   <tabstop>widthUnit</tabstop>
731   <tabstop>HeightCB</tabstop>
732   <tabstop>Height</tabstop>
733   <tabstop>heightUnit</tabstop>
734   <tabstop>aspectratio</tabstop>
735   <tabstop>angle</tabstop>
736   <tabstop>origin</tabstop>
737   <tabstop>rotateOrderCB</tabstop>
738   <tabstop>restorePB</tabstop>
739   <tabstop>okPB</tabstop>
740   <tabstop>applyPB</tabstop>
741   <tabstop>closePB</tabstop>
742   <tabstop>clip</tabstop>
743   <tabstop>lbX</tabstop>
744   <tabstop>lbXunit</tabstop>
745   <tabstop>lbY</tabstop>
746   <tabstop>lbYunit</tabstop>
747   <tabstop>rtX</tabstop>
748   <tabstop>rtXunit</tabstop>
749   <tabstop>rtY</tabstop>
750   <tabstop>rtYunit</tabstop>
751   <tabstop>getPB</tabstop>
752   <tabstop>latexoptions</tabstop>
753   <tabstop>draftCB</tabstop>
754   <tabstop>unzipCB</tabstop>
755   <tabstop>displayGB</tabstop>
756  </tabstops>
757  <includes>
758   <include location="local" >qt_i18n.h</include>
759  </includes>
760  <resources/>
761  <connections/>
762 </ui>