1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>GraphicsUi</class>
4 <widget class="QDialog" name="GraphicsUi">
5 <property name="geometry">
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
19 <property name="windowTitle">
22 <property name="sizeGripEnabled">
25 <layout class="QGridLayout">
26 <property name="leftMargin">
29 <property name="topMargin">
32 <property name="rightMargin">
35 <property name="bottomMargin">
38 <property name="spacing">
41 <item row="0" column="0">
42 <widget class="QTabWidget" name="tabWidget">
43 <property name="toolTip">
46 <property name="currentIndex">
49 <widget class="QWidget" name="Graphics">
50 <attribute name="title">
51 <string>&Graphics</string>
53 <layout class="QGridLayout">
54 <property name="leftMargin">
57 <property name="topMargin">
60 <property name="rightMargin">
63 <property name="bottomMargin">
66 <property name="spacing">
69 <item row="0" column="2">
70 <widget class="QPushButton" name="browsePB">
71 <property name="toolTip">
72 <string>Select an image file</string>
74 <property name="text">
75 <string>&Browse...</string>
79 <item row="1" column="0" colspan="5">
80 <widget class="QGroupBox" name="sizeGB">
81 <property name="title">
82 <string>Output Size</string>
84 <property name="flat">
87 <layout class="QGridLayout">
88 <property name="leftMargin">
91 <property name="topMargin">
94 <property name="rightMargin">
97 <property name="bottomMargin">
100 <property name="spacing">
103 <item row="1" column="2">
104 <widget class="lyx::frontend::LengthCombo" name="widthUnit"/>
106 <item row="2" column="2">
107 <widget class="lyx::frontend::LengthCombo" name="heightUnit"/>
109 <item row="1" column="1">
110 <widget class="QLineEdit" name="Width">
111 <property name="enabled">
114 <property name="sizePolicy">
115 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
116 <horstretch>0</horstretch>
117 <verstretch>0</verstretch>
120 <property name="toolTip">
121 <string>Width of image in output</string>
125 <item row="0" column="2">
127 <property name="orientation">
128 <enum>Qt::Horizontal</enum>
130 <property name="sizeHint" stdset="0">
138 <item row="0" column="1">
139 <widget class="QLineEdit" name="Scale"/>
141 <item row="2" column="1">
142 <widget class="QLineEdit" name="Height">
143 <property name="enabled">
146 <property name="sizePolicy">
147 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
148 <horstretch>0</horstretch>
149 <verstretch>0</verstretch>
152 <property name="toolTip">
153 <string>Height of image in output</string>
157 <item row="2" column="0">
158 <widget class="QCheckBox" name="HeightCB">
159 <property name="enabled">
162 <property name="toolTip">
163 <string>Sets height of graphic. Leave unchecked to set automatically.</string>
165 <property name="text">
166 <string>Set &height:</string>
170 <item row="0" column="0">
171 <widget class="QCheckBox" name="scaleCB">
172 <property name="text">
173 <string>&Scale graphics (%):</string>
177 <item row="1" column="0">
178 <widget class="QCheckBox" name="WidthCB">
179 <property name="enabled">
182 <property name="toolTip">
183 <string>Sets width of graphic. Leave unchecked to set automatically.</string>
185 <property name="text">
186 <string>Set &width:</string>
190 <item row="3" column="1" colspan="2">
191 <widget class="QCheckBox" name="aspectratio">
192 <property name="enabled">
195 <property name="toolTip">
196 <string>Scale image to maximum size not exceeding width and height</string>
198 <property name="text">
199 <string>&Maintain aspect ratio</string>
206 <item row="2" column="0" colspan="5">
207 <widget class="QGroupBox" name="rotationGB">
208 <property name="title">
209 <string>Rotate Graphics</string>
211 <property name="flat">
214 <layout class="QGridLayout">
215 <property name="leftMargin">
218 <property name="topMargin">
221 <property name="rightMargin">
224 <property name="bottomMargin">
227 <property name="spacing">
230 <item row="1" column="0" colspan="2">
231 <widget class="QCheckBox" name="rotateOrderCB">
232 <property name="toolTip">
233 <string>Check to change the order of rotating and scaling</string>
235 <property name="text">
236 <string>Ro&tate after scaling</string>
240 <item row="0" column="3">
241 <widget class="QComboBox" name="origin">
242 <property name="toolTip">
243 <string>The origin of the rotation</string>
247 <item row="0" column="2">
248 <widget class="QLabel" name="originL">
249 <property name="toolTip">
250 <string>The origin of the rotation</string>
252 <property name="text">
253 <string>Or&igin:</string>
255 <property name="buddy">
256 <cstring>origin</cstring>
260 <item row="0" column="1">
261 <widget class="QLineEdit" name="angle">
262 <property name="sizePolicy">
263 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
264 <horstretch>0</horstretch>
265 <verstretch>0</verstretch>
268 <property name="toolTip">
269 <string>Angle to rotate image by</string>
273 <item row="0" column="0">
274 <widget class="QLabel" name="angleL">
275 <property name="toolTip">
276 <string>Angle to rotate image by</string>
278 <property name="text">
279 <string>A&ngle (degrees):</string>
281 <property name="buddy">
282 <cstring>angle</cstring>
289 <item row="0" column="0">
290 <widget class="QLabel" name="filenameL">
291 <property name="toolTip">
292 <string>File name of image</string>
294 <property name="text">
295 <string>&File:</string>
297 <property name="buddy">
298 <cstring>filename</cstring>
302 <item row="0" column="1">
303 <widget class="QLineEdit" name="filename">
304 <property name="toolTip">
305 <string>File name of image</string>
311 <widget class="QWidget" name="Clipping">
312 <attribute name="title">
313 <string>&Coordinates and Clipping</string>
315 <layout class="QGridLayout">
316 <property name="leftMargin">
319 <property name="topMargin">
322 <property name="rightMargin">
325 <property name="bottomMargin">
328 <property name="spacing">
331 <item row="3" column="0" colspan="2">
333 <property name="orientation">
334 <enum>Qt::Vertical</enum>
336 <property name="sizeHint" stdset="0">
344 <item row="0" column="0" colspan="2">
345 <widget class="QCheckBox" name="clip">
346 <property name="toolTip">
347 <string>Clip to the coordinates specified below (bounding box for DVI/PS output, viewport for PDF output)</string>
349 <property name="text">
350 <string>Clip to c&oordinates</string>
354 <item row="1" column="0" colspan="2">
355 <widget class="QFrame" name="bbFrame">
356 <property name="enabled">
359 <property name="sizePolicy">
360 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
361 <horstretch>0</horstretch>
362 <verstretch>0</verstretch>
365 <property name="frameShape">
366 <enum>QFrame::StyledPanel</enum>
368 <property name="frameShadow">
369 <enum>QFrame::Plain</enum>
371 <layout class="QGridLayout">
372 <property name="leftMargin">
375 <property name="topMargin">
378 <property name="rightMargin">
381 <property name="bottomMargin">
384 <property name="spacing">
387 <item row="0" column="0" colspan="6">
388 <widget class="QLabel" name="lbL">
389 <property name="text">
390 <string>&Left bottom:</string>
392 <property name="buddy">
393 <cstring>lbX</cstring>
397 <item row="3" column="1">
398 <widget class="QLineEdit" name="rtX"/>
400 <item row="3" column="4">
401 <widget class="QLineEdit" name="rtY"/>
403 <item row="1" column="4">
404 <widget class="QLineEdit" name="lbY"/>
406 <item row="1" column="1">
407 <widget class="QLineEdit" name="lbX">
408 <property name="toolTip">
413 <item row="1" column="2">
414 <widget class="QComboBox" name="lbXunit"/>
416 <item row="3" column="2">
417 <widget class="QComboBox" name="rtXunit"/>
419 <item row="3" column="5">
420 <widget class="QComboBox" name="rtYunit"/>
422 <item row="1" column="5">
423 <widget class="QComboBox" name="lbYunit"/>
425 <item row="2" column="0" colspan="6">
426 <widget class="QLabel" name="rtL">
427 <property name="text">
428 <string>Right &top:</string>
430 <property name="buddy">
431 <cstring>rtX</cstring>
435 <item row="3" column="3">
436 <widget class="QLabel" name="yL_2">
437 <property name="text">
442 <item row="1" column="3">
443 <widget class="QLabel" name="yL">
444 <property name="text">
449 <item row="3" column="0">
450 <widget class="QLabel" name="xL_2">
451 <property name="text">
456 <item row="1" column="0">
457 <widget class="QLabel" name="xL">
458 <property name="text">
466 <item row="2" column="0">
468 <property name="orientation">
469 <enum>Qt::Horizontal</enum>
471 <property name="sizeHint" stdset="0">
479 <item row="2" column="1">
480 <widget class="QPushButton" name="getPB">
481 <property name="toolTip">
482 <string>Read coordinates from the file (bounding box value in case of PostScript files, graphic dimensions in case of other file types)</string>
484 <property name="text">
485 <string>&Get from File</string>
491 <widget class="QWidget" name="ExtraOptions">
492 <attribute name="title">
493 <string>LaTe&X and LyX options</string>
495 <layout class="QGridLayout">
496 <property name="leftMargin">
499 <property name="topMargin">
502 <property name="rightMargin">
505 <property name="bottomMargin">
508 <property name="spacing">
511 <item row="0" column="1">
512 <widget class="QLineEdit" name="latexoptions">
513 <property name="sizePolicy">
514 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
515 <horstretch>0</horstretch>
516 <verstretch>0</verstretch>
519 <property name="toolTip">
520 <string>Additional LaTeX options</string>
524 <item row="0" column="0">
525 <widget class="QLabel" name="latexoptionsLA">
526 <property name="toolTip">
527 <string>Additional LaTeX options</string>
529 <property name="text">
530 <string>LaTeX &options:</string>
532 <property name="buddy">
533 <cstring>latexoptions</cstring>
537 <item row="5" column="0" colspan="3">
539 <property name="orientation">
540 <enum>Qt::Vertical</enum>
542 <property name="sizeHint" stdset="0">
550 <item row="3" column="0" colspan="3">
551 <widget class="QGroupBox" name="displayGB">
552 <property name="focusPolicy">
553 <enum>Qt::StrongFocus</enum>
555 <property name="toolTip">
556 <string>Enable LyX to preview this graphics, if graphics previewing is not disabled at application level (see Preferences dialog).</string>
558 <property name="title">
559 <string>Sho&w in LyX</string>
561 <property name="flat">
564 <property name="checkable">
567 <layout class="QGridLayout">
568 <property name="leftMargin">
571 <property name="topMargin">
574 <property name="rightMargin">
577 <property name="bottomMargin">
580 <property name="spacing">
583 <item row="0" column="1">
584 <widget class="QLineEdit" name="displayscale">
585 <property name="enabled">
588 <property name="sizePolicy">
589 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
590 <horstretch>0</horstretch>
591 <verstretch>0</verstretch>
594 <property name="toolTip">
595 <string>Percentage to scale by in LyX</string>
599 <item row="0" column="0">
600 <widget class="QLabel" name="scaleLA">
601 <property name="toolTip">
602 <string>Percentage to scale by in LyX</string>
604 <property name="text">
605 <string>Sca&le on screen (%):</string>
607 <property name="buddy">
608 <cstring>displayscale</cstring>
612 <item row="0" column="2">
614 <property name="orientation">
615 <enum>Qt::Horizontal</enum>
617 <property name="sizeHint" stdset="0">
628 <item row="4" column="0" colspan="3">
629 <widget class="QGroupBox" name="graphicsGroupGB">
630 <property name="toolTip">
631 <string>Assign the graphic to a group of graphics that share the same settings</string>
633 <property name="title">
634 <string>Graphics Group</string>
636 <property name="flat">
639 <layout class="QGridLayout">
640 <property name="leftMargin">
643 <property name="topMargin">
646 <property name="rightMargin">
649 <property name="bottomMargin">
652 <property name="spacing">
655 <item row="0" column="2" rowspan="2">
657 <property name="orientation">
658 <enum>Qt::Horizontal</enum>
660 <property name="sizeHint" stdset="0">
668 <item row="0" column="0">
669 <widget class="QLabel" name="label">
670 <property name="sizePolicy">
671 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
672 <horstretch>0</horstretch>
673 <verstretch>0</verstretch>
676 <property name="toolTip">
679 <property name="text">
680 <string>Assigned &to group:</string>
682 <property name="buddy">
683 <cstring>groupCO</cstring>
687 <item row="1" column="1">
688 <widget class="QPushButton" name="newGroupPB">
689 <property name="toolTip">
690 <string>Click to define a new graphics group.</string>
692 <property name="text">
693 <string>O&pen new group...</string>
697 <item row="0" column="1">
698 <widget class="QComboBox" name="groupCO">
699 <property name="toolTip">
700 <string>Select an existing group for the current graphics.</string>
702 <property name="editable">
710 <item row="1" column="0" colspan="3">
711 <widget class="QCheckBox" name="draftCB">
712 <property name="toolTip">
713 <string>Draft mode</string>
715 <property name="text">
716 <string>&Draft mode</string>
724 <item row="1" column="0">
725 <layout class="QHBoxLayout">
726 <property name="spacing">
729 <property name="leftMargin">
732 <property name="topMargin">
735 <property name="rightMargin">
738 <property name="bottomMargin">
742 <widget class="QPushButton" name="restorePB">
743 <property name="text">
744 <string>&Restore</string>
746 <property name="autoDefault">
749 <property name="default">
756 <property name="orientation">
757 <enum>Qt::Horizontal</enum>
759 <property name="sizeType">
760 <enum>QSizePolicy::MinimumExpanding</enum>
762 <property name="sizeHint" stdset="0">
771 <widget class="QPushButton" name="okPB">
772 <property name="text">
773 <string>&OK</string>
775 <property name="autoDefault">
778 <property name="default">
784 <widget class="QPushButton" name="applyPB">
785 <property name="sizePolicy">
786 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
787 <horstretch>0</horstretch>
788 <verstretch>0</verstretch>
791 <property name="text">
792 <string>&Apply</string>
794 <property name="autoDefault">
797 <property name="default">
803 <widget class="QPushButton" name="closePB">
804 <property name="sizePolicy">
805 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
806 <horstretch>0</horstretch>
807 <verstretch>0</verstretch>
810 <property name="text">
811 <string>Close</string>
813 <property name="autoDefault">
824 <class>lyx::frontend::LengthCombo</class>
825 <extends>QComboBox</extends>
826 <header>LengthCombo.h</header>
830 <tabstop>tabWidget</tabstop>
831 <tabstop>filename</tabstop>
832 <tabstop>browsePB</tabstop>
833 <tabstop>scaleCB</tabstop>
834 <tabstop>Scale</tabstop>
835 <tabstop>WidthCB</tabstop>
836 <tabstop>Width</tabstop>
837 <tabstop>widthUnit</tabstop>
838 <tabstop>HeightCB</tabstop>
839 <tabstop>Height</tabstop>
840 <tabstop>heightUnit</tabstop>
841 <tabstop>aspectratio</tabstop>
842 <tabstop>angle</tabstop>
843 <tabstop>origin</tabstop>
844 <tabstop>rotateOrderCB</tabstop>
845 <tabstop>restorePB</tabstop>
846 <tabstop>okPB</tabstop>
847 <tabstop>applyPB</tabstop>
848 <tabstop>closePB</tabstop>
849 <tabstop>clip</tabstop>
850 <tabstop>lbX</tabstop>
851 <tabstop>lbXunit</tabstop>
852 <tabstop>lbY</tabstop>
853 <tabstop>lbYunit</tabstop>
854 <tabstop>rtX</tabstop>
855 <tabstop>rtXunit</tabstop>
856 <tabstop>rtY</tabstop>
857 <tabstop>rtYunit</tabstop>
858 <tabstop>getPB</tabstop>
859 <tabstop>latexoptions</tabstop>
860 <tabstop>draftCB</tabstop>
861 <tabstop>displayGB</tabstop>
864 <include location="local">qt_i18n.h</include>