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