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