]> git.lyx.org Git - features.git/blob - src/frontends/qt4/ui/GraphicsUi.ui
Embedding: add a check box to InsetGraphic and show/change embedding status
[features.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>450</width>
9     <height>379</height>
10    </rect>
11   </property>
12   <property name="sizePolicy" >
13    <sizepolicy>
14     <hsizetype>1</hsizetype>
15     <vsizetype>1</vsizetype>
16     <horstretch>0</horstretch>
17     <verstretch>0</verstretch>
18    </sizepolicy>
19   </property>
20   <property name="windowTitle" >
21    <string/>
22   </property>
23   <property name="sizeGripEnabled" >
24    <bool>true</bool>
25   </property>
26   <layout class="QGridLayout" >
27    <property name="margin" >
28     <number>9</number>
29    </property>
30    <property name="spacing" >
31     <number>6</number>
32    </property>
33    <item row="0" column="0" >
34     <widget class="QTabWidget" name="TabWidget" >
35      <property name="toolTip" >
36       <string/>
37      </property>
38      <property name="currentIndex" >
39       <number>0</number>
40      </property>
41      <widget class="QWidget" name="Graphics" >
42       <attribute name="title" >
43        <string>&amp;Graphics</string>
44       </attribute>
45       <layout class="QGridLayout" >
46        <property name="margin" >
47         <number>9</number>
48        </property>
49        <property name="spacing" >
50         <number>6</number>
51        </property>
52        <item row="0" column="4" >
53         <widget class="QPushButton" name="editPB" >
54          <property name="text" >
55           <string>&amp;Edit</string>
56          </property>
57          <property name="autoDefault" >
58           <bool>false</bool>
59          </property>
60          <property name="default" >
61           <bool>false</bool>
62          </property>
63         </widget>
64        </item>
65        <item row="0" column="3" >
66         <widget class="QPushButton" name="browsePB" >
67          <property name="toolTip" >
68           <string>Select an image file</string>
69          </property>
70          <property name="text" >
71           <string>&amp;Browse...</string>
72          </property>
73         </widget>
74        </item>
75             <item row="0" column="2">
76            <widget class="QCheckBox" name="embedCB" >
77             <property name="text" >
78              <string></string>
79             </property>
80            </widget>
81        </item>
82        <item row="0" column="1" >
83         <widget class="QLineEdit" name="filename" >
84          <property name="toolTip" >
85           <string>File name of image</string>
86          </property>
87         </widget>
88        </item>
89        <item row="0" column="0" >
90         <widget class="QLabel" name="filenameL" >
91          <property name="toolTip" >
92           <string>File name of image</string>
93          </property>
94          <property name="text" >
95           <string>&amp;File:</string>
96          </property>
97          <property name="buddy" >
98           <cstring>filename</cstring>
99          </property>
100         </widget>
101        </item>
102        <item row="1" column="0" colspan="5" >
103         <widget class="QGroupBox" name="sizeGB" >
104          <property name="title" >
105           <string>Output Size</string>
106          </property>
107          <property name="flat" >
108           <bool>false</bool>
109          </property>
110          <layout class="QGridLayout" >
111           <property name="margin" >
112            <number>9</number>
113           </property>
114           <property name="spacing" >
115            <number>6</number>
116           </property>
117           <item row="1" column="2" >
118            <widget class="LengthCombo" name="widthUnit" />
119           </item>
120           <item row="2" column="2" >
121            <widget class="LengthCombo" name="heightUnit" />
122           </item>
123           <item row="1" column="1" >
124            <widget class="QLineEdit" name="Width" >
125             <property name="enabled" >
126              <bool>true</bool>
127             </property>
128             <property name="sizePolicy" >
129              <sizepolicy>
130               <hsizetype>1</hsizetype>
131               <vsizetype>0</vsizetype>
132               <horstretch>0</horstretch>
133               <verstretch>0</verstretch>
134              </sizepolicy>
135             </property>
136             <property name="toolTip" >
137              <string>Width of image in output</string>
138             </property>
139            </widget>
140           </item>
141           <item row="0" column="2" >
142            <spacer>
143             <property name="orientation" >
144              <enum>Qt::Horizontal</enum>
145             </property>
146             <property name="sizeHint" >
147              <size>
148               <width>61</width>
149               <height>20</height>
150              </size>
151             </property>
152            </spacer>
153           </item>
154           <item row="0" column="1" >
155            <widget class="QLineEdit" name="Scale" />
156           </item>
157           <item row="2" column="1" >
158            <widget class="QLineEdit" name="Height" >
159             <property name="enabled" >
160              <bool>true</bool>
161             </property>
162             <property name="sizePolicy" >
163              <sizepolicy>
164               <hsizetype>1</hsizetype>
165               <vsizetype>0</vsizetype>
166               <horstretch>0</horstretch>
167               <verstretch>0</verstretch>
168              </sizepolicy>
169             </property>
170             <property name="toolTip" >
171              <string>Height of image in output</string>
172             </property>
173            </widget>
174           </item>
175           <item row="2" column="0" >
176            <widget class="QCheckBox" name="HeightCB" >
177             <property name="enabled" >
178              <bool>true</bool>
179             </property>
180             <property name="toolTip" >
181              <string>Sets height of graphic. Leave unchecked to set automatically.</string>
182             </property>
183             <property name="text" >
184              <string>Set &amp;height:</string>
185             </property>
186            </widget>
187           </item>
188           <item row="0" column="0" >
189            <widget class="QCheckBox" name="scaleCB" >
190             <property name="text" >
191              <string>&amp;Scale Graphics (%):</string>
192             </property>
193            </widget>
194           </item>
195           <item row="1" column="0" >
196            <widget class="QCheckBox" name="WidthCB" >
197             <property name="enabled" >
198              <bool>true</bool>
199             </property>
200             <property name="toolTip" >
201              <string>Sets width of graphic. Leave unchecked to set automatically.</string>
202             </property>
203             <property name="text" >
204              <string>Set &amp;width:</string>
205             </property>
206            </widget>
207           </item>
208           <item row="3" column="1" colspan="2" >
209            <widget class="QCheckBox" name="aspectratio" >
210             <property name="enabled" >
211              <bool>true</bool>
212             </property>
213             <property name="toolTip" >
214              <string>Scale image to maximum size not exceeding width and height</string>
215             </property>
216             <property name="text" >
217              <string>&amp;Maintain aspect ratio</string>
218             </property>
219            </widget>
220           </item>
221          </layout>
222         </widget>
223        </item>
224        <item row="2" column="0" colspan="5" >
225         <widget class="QGroupBox" name="rotationGB" >
226          <property name="title" >
227           <string>Rotate Graphics</string>
228          </property>
229          <property name="flat" >
230           <bool>false</bool>
231          </property>
232          <layout class="QGridLayout" >
233           <property name="margin" >
234            <number>9</number>
235           </property>
236           <property name="spacing" >
237            <number>6</number>
238           </property>
239           <item row="1" column="0" colspan="2" >
240            <widget class="QCheckBox" name="rotateOrderCB" >
241             <property name="toolTip" >
242              <string>Check to change the order of rotating and scaling</string>
243             </property>
244             <property name="text" >
245              <string>Ro&amp;tate after scaling</string>
246             </property>
247            </widget>
248           </item>
249           <item row="0" column="3" >
250            <widget class="QComboBox" name="origin" >
251             <property name="toolTip" >
252              <string>The origin of the rotation</string>
253             </property>
254            </widget>
255           </item>
256           <item row="0" column="2" >
257            <widget class="QLabel" name="originL" >
258             <property name="toolTip" >
259              <string>The origin of the rotation</string>
260             </property>
261             <property name="text" >
262              <string>Or&amp;igin:</string>
263             </property>
264             <property name="buddy" >
265              <cstring>origin</cstring>
266             </property>
267            </widget>
268           </item>
269           <item row="0" column="1" >
270            <widget class="QLineEdit" name="angle" >
271             <property name="sizePolicy" >
272              <sizepolicy>
273               <hsizetype>3</hsizetype>
274               <vsizetype>0</vsizetype>
275               <horstretch>0</horstretch>
276               <verstretch>0</verstretch>
277              </sizepolicy>
278             </property>
279             <property name="toolTip" >
280              <string>Angle to rotate image by</string>
281             </property>
282            </widget>
283           </item>
284           <item row="0" column="0" >
285            <widget class="QLabel" name="angleL" >
286             <property name="toolTip" >
287              <string>Angle to rotate image by</string>
288             </property>
289             <property name="text" >
290              <string>A&amp;ngle (Degrees):</string>
291             </property>
292             <property name="buddy" >
293              <cstring>angle</cstring>
294             </property>
295            </widget>
296           </item>
297          </layout>
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>5</hsizetype>
344            <vsizetype>1</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="3" column="1" >
478         <spacer>
479          <property name="orientation" >
480           <enum>Qt::Vertical</enum>
481          </property>
482          <property name="sizeHint" >
483           <size>
484            <width>20</width>
485            <height>21</height>
486           </size>
487          </property>
488         </spacer>
489        </item>
490        <item row="6" column="2" >
491         <spacer>
492          <property name="orientation" >
493           <enum>Qt::Vertical</enum>
494          </property>
495          <property name="sizeHint" >
496           <size>
497            <width>20</width>
498            <height>41</height>
499           </size>
500          </property>
501         </spacer>
502        </item>
503        <item row="2" column="0" colspan="3" >
504         <widget class="QCheckBox" name="unzipCB" >
505          <property name="toolTip" >
506           <string>Don't uncompress image before exporting to LaTeX</string>
507          </property>
508          <property name="text" >
509           <string>Don't un&amp;zip on export</string>
510          </property>
511         </widget>
512        </item>
513        <item row="4" column="0" colspan="3" >
514         <widget class="QGroupBox" name="subfigure" >
515          <property name="focusPolicy" >
516           <enum>Qt::StrongFocus</enum>
517          </property>
518          <property name="title" >
519           <string>S&amp;ubfigure</string>
520          </property>
521          <property name="flat" >
522           <bool>false</bool>
523          </property>
524          <property name="checkable" >
525           <bool>true</bool>
526          </property>
527          <property name="checked" >
528           <bool>false</bool>
529          </property>
530          <layout class="QHBoxLayout" >
531           <property name="margin" >
532            <number>9</number>
533           </property>
534           <property name="spacing" >
535            <number>6</number>
536           </property>
537           <item>
538            <widget class="QLabel" name="CaptionLA" >
539             <property name="toolTip" >
540              <string>The caption for the sub-figure</string>
541             </property>
542             <property name="text" >
543              <string>Ca&amp;ption:</string>
544             </property>
545             <property name="buddy" >
546              <cstring>subcaption</cstring>
547             </property>
548            </widget>
549           </item>
550           <item>
551            <widget class="QLineEdit" name="subcaption" >
552             <property name="sizePolicy" >
553              <sizepolicy>
554               <hsizetype>3</hsizetype>
555               <vsizetype>0</vsizetype>
556               <horstretch>0</horstretch>
557               <verstretch>0</verstretch>
558              </sizepolicy>
559             </property>
560             <property name="toolTip" >
561              <string>The caption for the sub-figure</string>
562             </property>
563            </widget>
564           </item>
565          </layout>
566         </widget>
567        </item>
568        <item row="5" column="0" colspan="3" >
569         <widget class="QGroupBox" name="displayGB" >
570          <property name="focusPolicy" >
571           <enum>Qt::StrongFocus</enum>
572          </property>
573          <property name="title" >
574           <string>Sho&amp;w in LyX</string>
575          </property>
576          <property name="flat" >
577           <bool>false</bool>
578          </property>
579          <property name="checkable" >
580           <bool>true</bool>
581          </property>
582          <layout class="QGridLayout" >
583           <property name="margin" >
584            <number>9</number>
585           </property>
586           <property name="spacing" >
587            <number>6</number>
588           </property>
589           <item row="0" column="3" >
590            <widget class="QLineEdit" name="displayscale" >
591             <property name="enabled" >
592              <bool>true</bool>
593             </property>
594             <property name="sizePolicy" >
595              <sizepolicy>
596               <hsizetype>1</hsizetype>
597               <vsizetype>0</vsizetype>
598               <horstretch>0</horstretch>
599               <verstretch>0</verstretch>
600              </sizepolicy>
601             </property>
602             <property name="toolTip" >
603              <string>Percentage to scale by in LyX</string>
604             </property>
605            </widget>
606           </item>
607           <item row="0" column="2" >
608            <widget class="QLabel" name="scaleLA" >
609             <property name="toolTip" >
610              <string>Percentage to scale by in LyX</string>
611             </property>
612             <property name="text" >
613              <string>Sca&amp;le on Screen (%):</string>
614             </property>
615             <property name="buddy" >
616              <cstring>displayscale</cstring>
617             </property>
618            </widget>
619           </item>
620           <item row="0" column="1" >
621            <widget class="QComboBox" name="showCB" >
622             <property name="toolTip" >
623              <string>Screen display</string>
624             </property>
625             <item>
626              <property name="text" >
627               <string>Default</string>
628              </property>
629             </item>
630             <item>
631              <property name="text" >
632               <string>Monochrome</string>
633              </property>
634             </item>
635             <item>
636              <property name="text" >
637               <string>Grayscale</string>
638              </property>
639             </item>
640             <item>
641              <property name="text" >
642               <string>Color</string>
643              </property>
644             </item>
645            </widget>
646           </item>
647           <item row="0" column="0" >
648            <widget class="QLabel" name="showL" >
649             <property name="toolTip" >
650              <string>Screen display</string>
651             </property>
652             <property name="text" >
653              <string>&amp;Display:</string>
654             </property>
655             <property name="buddy" >
656              <cstring>showCB</cstring>
657             </property>
658            </widget>
659           </item>
660          </layout>
661         </widget>
662        </item>
663        <item row="0" column="1" colspan="2" >
664         <widget class="QLineEdit" name="latexoptions" >
665          <property name="sizePolicy" >
666           <sizepolicy>
667            <hsizetype>3</hsizetype>
668            <vsizetype>0</vsizetype>
669            <horstretch>0</horstretch>
670            <verstretch>0</verstretch>
671           </sizepolicy>
672          </property>
673          <property name="toolTip" >
674           <string>Additional LaTeX options</string>
675          </property>
676         </widget>
677        </item>
678        <item row="0" column="0" >
679         <widget class="QLabel" name="latexoptionsLA" >
680          <property name="toolTip" >
681           <string>Additional LaTeX options</string>
682          </property>
683          <property name="text" >
684           <string>LaTeX &amp;options:</string>
685          </property>
686          <property name="buddy" >
687           <cstring>latexoptions</cstring>
688          </property>
689         </widget>
690        </item>
691        <item row="1" column="0" colspan="3" >
692         <widget class="QCheckBox" name="draftCB" >
693          <property name="toolTip" >
694           <string>Draft mode</string>
695          </property>
696          <property name="text" >
697           <string>&amp;Draft mode</string>
698          </property>
699         </widget>
700        </item>
701       </layout>
702      </widget>
703     </widget>
704    </item>
705    <item row="1" column="0" >
706     <layout class="QHBoxLayout" >
707      <property name="margin" >
708       <number>0</number>
709      </property>
710      <property name="spacing" >
711       <number>6</number>
712      </property>
713      <item>
714       <widget class="QPushButton" name="restorePB" >
715        <property name="text" >
716         <string>&amp;Restore</string>
717        </property>
718        <property name="autoDefault" >
719         <bool>false</bool>
720        </property>
721        <property name="default" >
722         <bool>false</bool>
723        </property>
724       </widget>
725      </item>
726      <item>
727       <spacer>
728        <property name="orientation" >
729         <enum>Qt::Horizontal</enum>
730        </property>
731        <property name="sizeType" >
732         <enum>QSizePolicy::MinimumExpanding</enum>
733        </property>
734        <property name="sizeHint" >
735         <size>
736          <width>20</width>
737          <height>20</height>
738         </size>
739        </property>
740       </spacer>
741      </item>
742      <item>
743       <widget class="QPushButton" name="okPB" >
744        <property name="text" >
745         <string>&amp;OK</string>
746        </property>
747        <property name="autoDefault" >
748         <bool>true</bool>
749        </property>
750        <property name="default" >
751         <bool>true</bool>
752        </property>
753       </widget>
754      </item>
755      <item>
756       <widget class="QPushButton" name="applyPB" >
757        <property name="sizePolicy" >
758         <sizepolicy>
759          <hsizetype>1</hsizetype>
760          <vsizetype>0</vsizetype>
761          <horstretch>0</horstretch>
762          <verstretch>0</verstretch>
763         </sizepolicy>
764        </property>
765        <property name="text" >
766         <string>&amp;Apply</string>
767        </property>
768        <property name="autoDefault" >
769         <bool>false</bool>
770        </property>
771        <property name="default" >
772         <bool>false</bool>
773        </property>
774       </widget>
775      </item>
776      <item>
777       <widget class="QPushButton" name="closePB" >
778        <property name="sizePolicy" >
779         <sizepolicy>
780          <hsizetype>1</hsizetype>
781          <vsizetype>0</vsizetype>
782          <horstretch>0</horstretch>
783          <verstretch>0</verstretch>
784         </sizepolicy>
785        </property>
786        <property name="text" >
787         <string>Close</string>
788        </property>
789        <property name="autoDefault" >
790         <bool>false</bool>
791        </property>
792       </widget>
793      </item>
794     </layout>
795    </item>
796   </layout>
797  </widget>
798  <customwidgets>
799   <customwidget>
800    <class>LengthCombo</class>
801    <extends>QComboBox</extends>
802    <header>LengthCombo.h</header>
803   </customwidget>
804  </customwidgets>
805  <tabstops>
806   <tabstop>TabWidget</tabstop>
807   <tabstop>filename</tabstop>
808   <tabstop>browsePB</tabstop>
809   <tabstop>editPB</tabstop>
810   <tabstop>scaleCB</tabstop>
811   <tabstop>Scale</tabstop>
812   <tabstop>WidthCB</tabstop>
813   <tabstop>Width</tabstop>
814   <tabstop>widthUnit</tabstop>
815   <tabstop>HeightCB</tabstop>
816   <tabstop>Height</tabstop>
817   <tabstop>heightUnit</tabstop>
818   <tabstop>aspectratio</tabstop>
819   <tabstop>angle</tabstop>
820   <tabstop>origin</tabstop>
821   <tabstop>rotateOrderCB</tabstop>
822   <tabstop>restorePB</tabstop>
823   <tabstop>okPB</tabstop>
824   <tabstop>applyPB</tabstop>
825   <tabstop>closePB</tabstop>
826   <tabstop>clip</tabstop>
827   <tabstop>lbX</tabstop>
828   <tabstop>lbXunit</tabstop>
829   <tabstop>lbY</tabstop>
830   <tabstop>lbYunit</tabstop>
831   <tabstop>rtX</tabstop>
832   <tabstop>rtXunit</tabstop>
833   <tabstop>rtY</tabstop>
834   <tabstop>rtYunit</tabstop>
835   <tabstop>getPB</tabstop>
836   <tabstop>latexoptions</tabstop>
837   <tabstop>draftCB</tabstop>
838   <tabstop>unzipCB</tabstop>
839   <tabstop>subfigure</tabstop>
840   <tabstop>subcaption</tabstop>
841   <tabstop>displayGB</tabstop>
842   <tabstop>showCB</tabstop>
843   <tabstop>displayscale</tabstop>
844  </tabstops>
845  <includes>
846   <include location="local" >qt_helpers.h</include>
847  </includes>
848  <resources/>
849  <connections/>
850 </ui>