]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/GraphicsUi.ui
Create new graphics from within LyX choosing a sample file to copy from.
[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="2" 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="3" 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        <item row="0" column="4" >
281         <widget class="QPushButton" name="editPB" >
282          <property name="text" >
283           <string>&amp;Edit</string>
284          </property>
285          <property name="toolTip" >
286           <string>Edit in external editor (specify an existing filename first)</string>
287          </property>
288         </widget>
289        </item>
290        <item row="1" column="4" >
291         <widget class="QPushButton" name="chooseSamplePB" >
292          <property name="text" >
293           <string>&amp;New...</string>
294          </property>
295          <property name="toolTip" >
296           <string>Create copying from sample file in &lt;HOME&gt;/.lyx/samples (specify a valid destination filename first)</string>
297          </property>
298         </widget>
299        </item>
300       </layout>
301      </widget>
302      <widget class="QWidget" name="Clipping" >
303       <attribute name="title" >
304        <string>&amp;Clipping</string>
305       </attribute>
306       <layout class="QGridLayout" >
307        <property name="margin" >
308         <number>9</number>
309        </property>
310        <property name="spacing" >
311         <number>6</number>
312        </property>
313        <item row="3" column="0" colspan="2" >
314         <spacer>
315          <property name="orientation" >
316           <enum>Qt::Vertical</enum>
317          </property>
318          <property name="sizeHint" >
319           <size>
320            <width>20</width>
321            <height>40</height>
322           </size>
323          </property>
324         </spacer>
325        </item>
326        <item row="0" column="0" colspan="2" >
327         <widget class="QCheckBox" name="clip" >
328          <property name="toolTip" >
329           <string>Clip to bounding box values</string>
330          </property>
331          <property name="text" >
332           <string>Clip to &amp;bounding box</string>
333          </property>
334         </widget>
335        </item>
336        <item row="1" column="0" colspan="2" >
337         <widget class="QFrame" name="bbFrame" >
338          <property name="enabled" >
339           <bool>true</bool>
340          </property>
341          <property name="sizePolicy" >
342           <sizepolicy>
343            <hsizetype>0</hsizetype>
344            <vsizetype>0</vsizetype>
345            <horstretch>0</horstretch>
346            <verstretch>0</verstretch>
347           </sizepolicy>
348          </property>
349          <property name="frameShape" >
350           <enum>QFrame::StyledPanel</enum>
351          </property>
352          <property name="frameShadow" >
353           <enum>QFrame::Plain</enum>
354          </property>
355          <layout class="QGridLayout" >
356           <property name="margin" >
357            <number>9</number>
358           </property>
359           <property name="spacing" >
360            <number>6</number>
361           </property>
362           <item row="0" column="0" colspan="6" >
363            <widget class="QLabel" name="lbL" >
364             <property name="text" >
365              <string>&amp;Left bottom:</string>
366             </property>
367             <property name="buddy" >
368              <cstring>lbX</cstring>
369             </property>
370            </widget>
371           </item>
372           <item row="3" column="1" >
373            <widget class="QLineEdit" name="rtX" />
374           </item>
375           <item row="3" column="4" >
376            <widget class="QLineEdit" name="rtY" />
377           </item>
378           <item row="1" column="4" >
379            <widget class="QLineEdit" name="lbY" />
380           </item>
381           <item row="1" column="1" >
382            <widget class="QLineEdit" name="lbX" >
383             <property name="toolTip" >
384              <string/>
385             </property>
386            </widget>
387           </item>
388           <item row="1" column="2" >
389            <widget class="QComboBox" name="lbXunit" />
390           </item>
391           <item row="3" column="2" >
392            <widget class="QComboBox" name="rtXunit" />
393           </item>
394           <item row="3" column="5" >
395            <widget class="QComboBox" name="rtYunit" />
396           </item>
397           <item row="1" column="5" >
398            <widget class="QComboBox" name="lbYunit" />
399           </item>
400           <item row="2" column="0" colspan="6" >
401            <widget class="QLabel" name="rtL" >
402             <property name="text" >
403              <string>Right &amp;top:</string>
404             </property>
405             <property name="buddy" >
406              <cstring>rtX</cstring>
407             </property>
408            </widget>
409           </item>
410           <item row="3" column="3" >
411            <widget class="QLabel" name="yL_2" >
412             <property name="text" >
413              <string>y:</string>
414             </property>
415            </widget>
416           </item>
417           <item row="1" column="3" >
418            <widget class="QLabel" name="yL" >
419             <property name="text" >
420              <string>y:</string>
421             </property>
422            </widget>
423           </item>
424           <item row="3" column="0" >
425            <widget class="QLabel" name="xL_2" >
426             <property name="text" >
427              <string>x:</string>
428             </property>
429            </widget>
430           </item>
431           <item row="1" column="0" >
432            <widget class="QLabel" name="xL" >
433             <property name="text" >
434              <string>x:</string>
435             </property>
436            </widget>
437           </item>
438          </layout>
439         </widget>
440        </item>
441        <item row="2" column="0" >
442         <spacer>
443          <property name="orientation" >
444           <enum>Qt::Horizontal</enum>
445          </property>
446          <property name="sizeHint" >
447           <size>
448            <width>181</width>
449            <height>20</height>
450           </size>
451          </property>
452         </spacer>
453        </item>
454        <item row="2" column="1" >
455         <widget class="QPushButton" name="getPB" >
456          <property name="toolTip" >
457           <string>Get bounding box from the (EPS) file</string>
458          </property>
459          <property name="text" >
460           <string>&amp;Get from File</string>
461          </property>
462         </widget>
463        </item>
464       </layout>
465      </widget>
466      <widget class="QWidget" name="ExtraOptions" >
467       <attribute name="title" >
468        <string>LaTe&amp;X and LyX options</string>
469       </attribute>
470       <layout class="QGridLayout" >
471        <property name="margin" >
472         <number>9</number>
473        </property>
474        <property name="spacing" >
475         <number>6</number>
476        </property>
477        <item row="0" column="2" >
478         <spacer>
479          <property name="orientation" >
480           <enum>Qt::Horizontal</enum>
481          </property>
482          <property name="sizeHint" >
483           <size>
484            <width>161</width>
485            <height>20</height>
486           </size>
487          </property>
488         </spacer>
489        </item>
490        <item row="0" column="1" >
491         <widget class="QLineEdit" name="latexoptions" >
492          <property name="sizePolicy" >
493           <sizepolicy>
494            <hsizetype>0</hsizetype>
495            <vsizetype>0</vsizetype>
496            <horstretch>0</horstretch>
497            <verstretch>0</verstretch>
498           </sizepolicy>
499          </property>
500          <property name="toolTip" >
501           <string>Additional LaTeX options</string>
502          </property>
503         </widget>
504        </item>
505        <item row="0" column="0" >
506         <widget class="QLabel" name="latexoptionsLA" >
507          <property name="toolTip" >
508           <string>Additional LaTeX options</string>
509          </property>
510          <property name="text" >
511           <string>LaTeX &amp;options:</string>
512          </property>
513          <property name="buddy" >
514           <cstring>latexoptions</cstring>
515          </property>
516         </widget>
517        </item>
518        <item row="5" column="0" colspan="3" >
519         <spacer>
520          <property name="orientation" >
521           <enum>Qt::Vertical</enum>
522          </property>
523          <property name="sizeHint" >
524           <size>
525            <width>354</width>
526            <height>81</height>
527           </size>
528          </property>
529         </spacer>
530        </item>
531        <item row="3" column="0" colspan="3" >
532         <widget class="QGroupBox" name="displayGB" >
533          <property name="focusPolicy" >
534           <enum>Qt::StrongFocus</enum>
535          </property>
536          <property name="toolTip" >
537           <string>Enable LyX to preview this graphics, if graphics previewing is not disabled at application level (see Preferences dialog).</string>
538          </property>
539          <property name="title" >
540           <string>Sho&amp;w in LyX</string>
541          </property>
542          <property name="flat" >
543           <bool>true</bool>
544          </property>
545          <property name="checkable" >
546           <bool>true</bool>
547          </property>
548          <layout class="QGridLayout" >
549           <property name="margin" >
550            <number>9</number>
551           </property>
552           <property name="spacing" >
553            <number>6</number>
554           </property>
555           <item row="0" column="1" >
556            <widget class="QLineEdit" name="displayscale" >
557             <property name="enabled" >
558              <bool>true</bool>
559             </property>
560             <property name="sizePolicy" >
561              <sizepolicy>
562               <hsizetype>0</hsizetype>
563               <vsizetype>0</vsizetype>
564               <horstretch>0</horstretch>
565               <verstretch>0</verstretch>
566              </sizepolicy>
567             </property>
568             <property name="toolTip" >
569              <string>Percentage to scale by in LyX</string>
570             </property>
571            </widget>
572           </item>
573           <item row="0" column="0" >
574            <widget class="QLabel" name="scaleLA" >
575             <property name="toolTip" >
576              <string>Percentage to scale by in LyX</string>
577             </property>
578             <property name="text" >
579              <string>Sca&amp;le on screen (%):</string>
580             </property>
581             <property name="buddy" >
582              <cstring>displayscale</cstring>
583             </property>
584            </widget>
585           </item>
586           <item row="0" column="2" >
587            <spacer>
588             <property name="orientation" >
589              <enum>Qt::Horizontal</enum>
590             </property>
591             <property name="sizeHint" >
592              <size>
593               <width>40</width>
594               <height>20</height>
595              </size>
596             </property>
597            </spacer>
598           </item>
599          </layout>
600         </widget>
601        </item>
602        <item row="4" column="0" colspan="3" >
603         <widget class="QGroupBox" name="graphicsGroupGB" >
604          <property name="toolTip" >
605           <string>Assign the graphic to a group of graphics that share the same settings</string>
606          </property>
607          <property name="title" >
608           <string>Graphics Group</string>
609          </property>
610          <property name="flat" >
611           <bool>true</bool>
612          </property>
613          <layout class="QGridLayout" >
614           <property name="margin" >
615            <number>9</number>
616           </property>
617           <property name="spacing" >
618            <number>6</number>
619           </property>
620           <item rowspan="2" row="0" column="2" >
621            <spacer>
622             <property name="orientation" >
623              <enum>Qt::Horizontal</enum>
624             </property>
625             <property name="sizeHint" >
626              <size>
627               <width>121</width>
628               <height>51</height>
629              </size>
630             </property>
631            </spacer>
632           </item>
633           <item row="0" column="0" >
634            <widget class="QLabel" name="label" >
635             <property name="sizePolicy" >
636              <sizepolicy>
637               <hsizetype>0</hsizetype>
638               <vsizetype>0</vsizetype>
639               <horstretch>0</horstretch>
640               <verstretch>0</verstretch>
641              </sizepolicy>
642             </property>
643             <property name="toolTip" >
644              <string/>
645             </property>
646             <property name="text" >
647              <string>A&amp;ssigned to group:</string>
648             </property>
649             <property name="buddy" >
650              <cstring>groupCO</cstring>
651             </property>
652            </widget>
653           </item>
654           <item row="1" column="1" >
655            <widget class="QPushButton" name="newGroupPB" >
656             <property name="toolTip" >
657              <string>Click to define a new graphics group.</string>
658             </property>
659             <property name="text" >
660              <string>O&amp;pen new group...</string>
661             </property>
662            </widget>
663           </item>
664           <item row="0" column="1" >
665            <widget class="QComboBox" name="groupCO" >
666             <property name="toolTip" >
667              <string>Select an existing group for the current graphics.</string>
668             </property>
669             <property name="editable" >
670              <bool>false</bool>
671             </property>
672            </widget>
673           </item>
674          </layout>
675         </widget>
676        </item>
677        <item row="1" column="0" colspan="3" >
678         <widget class="QCheckBox" name="draftCB" >
679          <property name="toolTip" >
680           <string>Draft mode</string>
681          </property>
682          <property name="text" >
683           <string>&amp;Draft mode</string>
684          </property>
685         </widget>
686        </item>
687       </layout>
688      </widget>
689     </widget>
690    </item>
691    <item row="1" column="0" >
692     <layout class="QHBoxLayout" >
693      <property name="margin" >
694       <number>0</number>
695      </property>
696      <property name="spacing" >
697       <number>6</number>
698      </property>
699      <item>
700       <widget class="QPushButton" name="restorePB" >
701        <property name="text" >
702         <string>&amp;Restore</string>
703        </property>
704        <property name="autoDefault" >
705         <bool>false</bool>
706        </property>
707        <property name="default" >
708         <bool>false</bool>
709        </property>
710       </widget>
711      </item>
712      <item>
713       <spacer>
714        <property name="orientation" >
715         <enum>Qt::Horizontal</enum>
716        </property>
717        <property name="sizeType" >
718         <enum>QSizePolicy::MinimumExpanding</enum>
719        </property>
720        <property name="sizeHint" >
721         <size>
722          <width>20</width>
723          <height>20</height>
724         </size>
725        </property>
726       </spacer>
727      </item>
728      <item>
729       <widget class="QPushButton" name="okPB" >
730        <property name="text" >
731         <string>&amp;OK</string>
732        </property>
733        <property name="autoDefault" >
734         <bool>true</bool>
735        </property>
736        <property name="default" >
737         <bool>true</bool>
738        </property>
739       </widget>
740      </item>
741      <item>
742       <widget class="QPushButton" name="applyPB" >
743        <property name="sizePolicy" >
744         <sizepolicy>
745          <hsizetype>0</hsizetype>
746          <vsizetype>0</vsizetype>
747          <horstretch>0</horstretch>
748          <verstretch>0</verstretch>
749         </sizepolicy>
750        </property>
751        <property name="text" >
752         <string>&amp;Apply</string>
753        </property>
754        <property name="autoDefault" >
755         <bool>false</bool>
756        </property>
757        <property name="default" >
758         <bool>false</bool>
759        </property>
760       </widget>
761      </item>
762      <item>
763       <widget class="QPushButton" name="closePB" >
764        <property name="sizePolicy" >
765         <sizepolicy>
766          <hsizetype>0</hsizetype>
767          <vsizetype>0</vsizetype>
768          <horstretch>0</horstretch>
769          <verstretch>0</verstretch>
770         </sizepolicy>
771        </property>
772        <property name="text" >
773         <string>Close</string>
774        </property>
775        <property name="autoDefault" >
776         <bool>false</bool>
777        </property>
778       </widget>
779      </item>
780     </layout>
781    </item>
782   </layout>
783  </widget>
784  <customwidgets>
785   <customwidget>
786    <class>lyx::frontend::LengthCombo</class>
787    <extends>QComboBox</extends>
788    <header>LengthCombo.h</header>
789   </customwidget>
790  </customwidgets>
791  <tabstops>
792   <tabstop>tabWidget</tabstop>
793   <tabstop>filename</tabstop>
794   <tabstop>browsePB</tabstop>
795   <tabstop>scaleCB</tabstop>
796   <tabstop>Scale</tabstop>
797   <tabstop>WidthCB</tabstop>
798   <tabstop>Width</tabstop>
799   <tabstop>widthUnit</tabstop>
800   <tabstop>HeightCB</tabstop>
801   <tabstop>Height</tabstop>
802   <tabstop>heightUnit</tabstop>
803   <tabstop>aspectratio</tabstop>
804   <tabstop>angle</tabstop>
805   <tabstop>origin</tabstop>
806   <tabstop>rotateOrderCB</tabstop>
807   <tabstop>restorePB</tabstop>
808   <tabstop>okPB</tabstop>
809   <tabstop>applyPB</tabstop>
810   <tabstop>closePB</tabstop>
811   <tabstop>clip</tabstop>
812   <tabstop>lbX</tabstop>
813   <tabstop>lbXunit</tabstop>
814   <tabstop>lbY</tabstop>
815   <tabstop>lbYunit</tabstop>
816   <tabstop>rtX</tabstop>
817   <tabstop>rtXunit</tabstop>
818   <tabstop>rtY</tabstop>
819   <tabstop>rtYunit</tabstop>
820   <tabstop>getPB</tabstop>
821   <tabstop>latexoptions</tabstop>
822   <tabstop>draftCB</tabstop>
823   <tabstop>displayGB</tabstop>
824  </tabstops>
825  <includes>
826   <include location="local" >qt_i18n.h</include>
827  </includes>
828  <resources/>
829  <connections/>
830 </ui>