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