2 <class>GraphicsUi</class>
3 <widget class="QDialog" name="GraphicsUi" >
4 <property name="geometry" >
12 <property name="sizePolicy" >
14 <hsizetype>0</hsizetype>
15 <vsizetype>0</vsizetype>
16 <horstretch>0</horstretch>
17 <verstretch>0</verstretch>
20 <property name="windowTitle" >
23 <property name="sizeGripEnabled" >
26 <layout class="QGridLayout" >
27 <property name="margin" >
30 <property name="spacing" >
33 <item row="0" column="0" >
34 <widget class="QTabWidget" name="tabWidget" >
35 <property name="toolTip" >
38 <property name="currentIndex" >
41 <widget class="QWidget" name="Graphics" >
42 <attribute name="title" >
43 <string>&Graphics</string>
45 <layout class="QGridLayout" >
46 <property name="margin" >
49 <property name="spacing" >
52 <item row="0" column="2" >
53 <widget class="QPushButton" name="browsePB" >
54 <property name="toolTip" >
55 <string>Select an image file</string>
57 <property name="text" >
58 <string>&Browse...</string>
62 <item row="2" column="0" colspan="5" >
63 <widget class="QGroupBox" name="sizeGB" >
64 <property name="title" >
65 <string>Output Size</string>
67 <property name="flat" >
70 <layout class="QGridLayout" >
71 <property name="margin" >
74 <property name="spacing" >
77 <item row="1" column="2" >
78 <widget class="lyx::frontend::LengthCombo" name="widthUnit" />
80 <item row="2" column="2" >
81 <widget class="lyx::frontend::LengthCombo" name="heightUnit" />
83 <item row="1" column="1" >
84 <widget class="QLineEdit" name="Width" >
85 <property name="enabled" >
88 <property name="sizePolicy" >
90 <hsizetype>0</hsizetype>
91 <vsizetype>0</vsizetype>
92 <horstretch>0</horstretch>
93 <verstretch>0</verstretch>
96 <property name="toolTip" >
97 <string>Width of image in output</string>
101 <item row="0" column="2" >
103 <property name="orientation" >
104 <enum>Qt::Horizontal</enum>
106 <property name="sizeHint" >
114 <item row="0" column="1" >
115 <widget class="QLineEdit" name="Scale" />
117 <item row="2" column="1" >
118 <widget class="QLineEdit" name="Height" >
119 <property name="enabled" >
122 <property name="sizePolicy" >
124 <hsizetype>0</hsizetype>
125 <vsizetype>0</vsizetype>
126 <horstretch>0</horstretch>
127 <verstretch>0</verstretch>
130 <property name="toolTip" >
131 <string>Height of image in output</string>
135 <item row="2" column="0" >
136 <widget class="QCheckBox" name="HeightCB" >
137 <property name="enabled" >
140 <property name="toolTip" >
141 <string>Sets height of graphic. Leave unchecked to set automatically.</string>
143 <property name="text" >
144 <string>Set &height:</string>
148 <item row="0" column="0" >
149 <widget class="QCheckBox" name="scaleCB" >
150 <property name="text" >
151 <string>&Scale graphics (%):</string>
155 <item row="1" column="0" >
156 <widget class="QCheckBox" name="WidthCB" >
157 <property name="enabled" >
160 <property name="toolTip" >
161 <string>Sets width of graphic. Leave unchecked to set automatically.</string>
163 <property name="text" >
164 <string>Set &width:</string>
168 <item row="3" column="1" colspan="2" >
169 <widget class="QCheckBox" name="aspectratio" >
170 <property name="enabled" >
173 <property name="toolTip" >
174 <string>Scale image to maximum size not exceeding width and height</string>
176 <property name="text" >
177 <string>&Maintain aspect ratio</string>
184 <item row="3" column="0" colspan="5" >
185 <widget class="QGroupBox" name="rotationGB" >
186 <property name="title" >
187 <string>Rotate Graphics</string>
189 <property name="flat" >
192 <layout class="QGridLayout" >
193 <property name="margin" >
196 <property name="spacing" >
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>
204 <property name="text" >
205 <string>Ro&tate after scaling</string>
209 <item row="0" column="3" >
210 <widget class="QComboBox" name="origin" >
211 <property name="toolTip" >
212 <string>The origin of the rotation</string>
216 <item row="0" column="2" >
217 <widget class="QLabel" name="originL" >
218 <property name="toolTip" >
219 <string>The origin of the rotation</string>
221 <property name="text" >
222 <string>Or&igin:</string>
224 <property name="buddy" >
225 <cstring>origin</cstring>
229 <item row="0" column="1" >
230 <widget class="QLineEdit" name="angle" >
231 <property name="sizePolicy" >
233 <hsizetype>0</hsizetype>
234 <vsizetype>0</vsizetype>
235 <horstretch>0</horstretch>
236 <verstretch>0</verstretch>
239 <property name="toolTip" >
240 <string>Angle to rotate image by</string>
244 <item row="0" column="0" >
245 <widget class="QLabel" name="angleL" >
246 <property name="toolTip" >
247 <string>Angle to rotate image by</string>
249 <property name="text" >
250 <string>A&ngle (degrees):</string>
252 <property name="buddy" >
253 <cstring>angle</cstring>
260 <item row="0" column="0" >
261 <widget class="QLabel" name="filenameL" >
262 <property name="toolTip" >
263 <string>File name of image</string>
265 <property name="text" >
266 <string>&File:</string>
268 <property name="buddy" >
269 <cstring>filename</cstring>
273 <item row="0" column="1" >
274 <widget class="QLineEdit" name="filename" >
275 <property name="toolTip" >
276 <string>File name of image</string>
280 <item row="0" column="4" >
281 <widget class="QPushButton" name="editPB" >
282 <property name="text" >
283 <string>&Edit</string>
285 <property name="toolTip" >
286 <string>Edit in external editor (specify an existing filename first)</string>
290 <item row="1" column="4" >
291 <widget class="QPushButton" name="chooseSamplePB" >
292 <property name="text" >
293 <string>&New...</string>
295 <property name="toolTip" >
296 <string>Create copying from sample file in <HOME>/.lyx/samples (specify a valid destination filename first)</string>
302 <widget class="QWidget" name="Clipping" >
303 <attribute name="title" >
304 <string>&Clipping</string>
306 <layout class="QGridLayout" >
307 <property name="margin" >
310 <property name="spacing" >
313 <item row="3" column="0" colspan="2" >
315 <property name="orientation" >
316 <enum>Qt::Vertical</enum>
318 <property name="sizeHint" >
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>
331 <property name="text" >
332 <string>Clip to &bounding box</string>
336 <item row="1" column="0" colspan="2" >
337 <widget class="QFrame" name="bbFrame" >
338 <property name="enabled" >
341 <property name="sizePolicy" >
343 <hsizetype>0</hsizetype>
344 <vsizetype>0</vsizetype>
345 <horstretch>0</horstretch>
346 <verstretch>0</verstretch>
349 <property name="frameShape" >
350 <enum>QFrame::StyledPanel</enum>
352 <property name="frameShadow" >
353 <enum>QFrame::Plain</enum>
355 <layout class="QGridLayout" >
356 <property name="margin" >
359 <property name="spacing" >
362 <item row="0" column="0" colspan="6" >
363 <widget class="QLabel" name="lbL" >
364 <property name="text" >
365 <string>&Left bottom:</string>
367 <property name="buddy" >
368 <cstring>lbX</cstring>
372 <item row="3" column="1" >
373 <widget class="QLineEdit" name="rtX" />
375 <item row="3" column="4" >
376 <widget class="QLineEdit" name="rtY" />
378 <item row="1" column="4" >
379 <widget class="QLineEdit" name="lbY" />
381 <item row="1" column="1" >
382 <widget class="QLineEdit" name="lbX" >
383 <property name="toolTip" >
388 <item row="1" column="2" >
389 <widget class="QComboBox" name="lbXunit" />
391 <item row="3" column="2" >
392 <widget class="QComboBox" name="rtXunit" />
394 <item row="3" column="5" >
395 <widget class="QComboBox" name="rtYunit" />
397 <item row="1" column="5" >
398 <widget class="QComboBox" name="lbYunit" />
400 <item row="2" column="0" colspan="6" >
401 <widget class="QLabel" name="rtL" >
402 <property name="text" >
403 <string>Right &top:</string>
405 <property name="buddy" >
406 <cstring>rtX</cstring>
410 <item row="3" column="3" >
411 <widget class="QLabel" name="yL_2" >
412 <property name="text" >
417 <item row="1" column="3" >
418 <widget class="QLabel" name="yL" >
419 <property name="text" >
424 <item row="3" column="0" >
425 <widget class="QLabel" name="xL_2" >
426 <property name="text" >
431 <item row="1" column="0" >
432 <widget class="QLabel" name="xL" >
433 <property name="text" >
441 <item row="2" column="0" >
443 <property name="orientation" >
444 <enum>Qt::Horizontal</enum>
446 <property name="sizeHint" >
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>
459 <property name="text" >
460 <string>&Get from File</string>
466 <widget class="QWidget" name="ExtraOptions" >
467 <attribute name="title" >
468 <string>LaTe&X and LyX options</string>
470 <layout class="QGridLayout" >
471 <property name="margin" >
474 <property name="spacing" >
477 <item row="0" column="2" >
479 <property name="orientation" >
480 <enum>Qt::Horizontal</enum>
482 <property name="sizeHint" >
490 <item row="0" column="1" >
491 <widget class="QLineEdit" name="latexoptions" >
492 <property name="sizePolicy" >
494 <hsizetype>0</hsizetype>
495 <vsizetype>0</vsizetype>
496 <horstretch>0</horstretch>
497 <verstretch>0</verstretch>
500 <property name="toolTip" >
501 <string>Additional LaTeX options</string>
505 <item row="0" column="0" >
506 <widget class="QLabel" name="latexoptionsLA" >
507 <property name="toolTip" >
508 <string>Additional LaTeX options</string>
510 <property name="text" >
511 <string>LaTeX &options:</string>
513 <property name="buddy" >
514 <cstring>latexoptions</cstring>
518 <item row="5" column="0" colspan="3" >
520 <property name="orientation" >
521 <enum>Qt::Vertical</enum>
523 <property name="sizeHint" >
531 <item row="3" column="0" colspan="3" >
532 <widget class="QGroupBox" name="displayGB" >
533 <property name="focusPolicy" >
534 <enum>Qt::StrongFocus</enum>
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>
539 <property name="title" >
540 <string>Sho&w in LyX</string>
542 <property name="flat" >
545 <property name="checkable" >
548 <layout class="QGridLayout" >
549 <property name="margin" >
552 <property name="spacing" >
555 <item row="0" column="1" >
556 <widget class="QLineEdit" name="displayscale" >
557 <property name="enabled" >
560 <property name="sizePolicy" >
562 <hsizetype>0</hsizetype>
563 <vsizetype>0</vsizetype>
564 <horstretch>0</horstretch>
565 <verstretch>0</verstretch>
568 <property name="toolTip" >
569 <string>Percentage to scale by in LyX</string>
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>
578 <property name="text" >
579 <string>Sca&le on screen (%):</string>
581 <property name="buddy" >
582 <cstring>displayscale</cstring>
586 <item row="0" column="2" >
588 <property name="orientation" >
589 <enum>Qt::Horizontal</enum>
591 <property name="sizeHint" >
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>
607 <property name="title" >
608 <string>Graphics Group</string>
610 <property name="flat" >
613 <layout class="QGridLayout" >
614 <property name="margin" >
617 <property name="spacing" >
620 <item rowspan="2" row="0" column="2" >
622 <property name="orientation" >
623 <enum>Qt::Horizontal</enum>
625 <property name="sizeHint" >
633 <item row="0" column="0" >
634 <widget class="QLabel" name="label" >
635 <property name="sizePolicy" >
637 <hsizetype>0</hsizetype>
638 <vsizetype>0</vsizetype>
639 <horstretch>0</horstretch>
640 <verstretch>0</verstretch>
643 <property name="toolTip" >
646 <property name="text" >
647 <string>A&ssigned to group:</string>
649 <property name="buddy" >
650 <cstring>groupCO</cstring>
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>
659 <property name="text" >
660 <string>O&pen new group...</string>
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>
669 <property name="editable" >
677 <item row="1" column="0" colspan="3" >
678 <widget class="QCheckBox" name="draftCB" >
679 <property name="toolTip" >
680 <string>Draft mode</string>
682 <property name="text" >
683 <string>&Draft mode</string>
691 <item row="1" column="0" >
692 <layout class="QHBoxLayout" >
693 <property name="margin" >
696 <property name="spacing" >
700 <widget class="QPushButton" name="restorePB" >
701 <property name="text" >
702 <string>&Restore</string>
704 <property name="autoDefault" >
707 <property name="default" >
714 <property name="orientation" >
715 <enum>Qt::Horizontal</enum>
717 <property name="sizeType" >
718 <enum>QSizePolicy::MinimumExpanding</enum>
720 <property name="sizeHint" >
729 <widget class="QPushButton" name="okPB" >
730 <property name="text" >
731 <string>&OK</string>
733 <property name="autoDefault" >
736 <property name="default" >
742 <widget class="QPushButton" name="applyPB" >
743 <property name="sizePolicy" >
745 <hsizetype>0</hsizetype>
746 <vsizetype>0</vsizetype>
747 <horstretch>0</horstretch>
748 <verstretch>0</verstretch>
751 <property name="text" >
752 <string>&Apply</string>
754 <property name="autoDefault" >
757 <property name="default" >
763 <widget class="QPushButton" name="closePB" >
764 <property name="sizePolicy" >
766 <hsizetype>0</hsizetype>
767 <vsizetype>0</vsizetype>
768 <horstretch>0</horstretch>
769 <verstretch>0</verstretch>
772 <property name="text" >
773 <string>Close</string>
775 <property name="autoDefault" >
786 <class>lyx::frontend::LengthCombo</class>
787 <extends>QComboBox</extends>
788 <header>LengthCombo.h</header>
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>
826 <include location="local" >qt_i18n.h</include>