2 <class>GraphicsUi</class>
3 <widget class="QDialog" name="GraphicsUi" >
4 <property name="geometry" >
12 <property name="sizePolicy" >
13 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
14 <horstretch>0</horstretch>
15 <verstretch>0</verstretch>
18 <property name="windowTitle" >
21 <property name="sizeGripEnabled" >
24 <layout class="QGridLayout" >
25 <property name="margin" >
28 <property name="spacing" >
31 <item row="1" column="0" >
32 <layout class="QHBoxLayout" >
33 <property name="spacing" >
36 <property name="margin" >
40 <widget class="QPushButton" name="restorePB" >
41 <property name="text" >
42 <string>&Restore</string>
44 <property name="autoDefault" >
47 <property name="default" >
54 <property name="orientation" >
55 <enum>Qt::Horizontal</enum>
57 <property name="sizeType" >
58 <enum>QSizePolicy::MinimumExpanding</enum>
60 <property name="sizeHint" stdset="0" >
69 <widget class="QPushButton" name="okPB" >
70 <property name="text" >
71 <string>&OK</string>
73 <property name="autoDefault" >
76 <property name="default" >
82 <widget class="QPushButton" name="applyPB" >
83 <property name="sizePolicy" >
84 <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
85 <horstretch>0</horstretch>
86 <verstretch>0</verstretch>
89 <property name="text" >
90 <string>&Apply</string>
92 <property name="autoDefault" >
95 <property name="default" >
101 <widget class="QPushButton" name="closePB" >
102 <property name="sizePolicy" >
103 <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
104 <horstretch>0</horstretch>
105 <verstretch>0</verstretch>
108 <property name="text" >
109 <string>Close</string>
111 <property name="autoDefault" >
118 <item row="0" column="0" >
119 <widget class="QTabWidget" name="tabWidget" >
120 <property name="toolTip" >
123 <property name="currentIndex" >
126 <widget class="QWidget" name="Graphics" >
127 <property name="geometry" >
135 <attribute name="title" >
136 <string>&Graphics</string>
138 <layout class="QGridLayout" >
139 <property name="margin" >
142 <property name="spacing" >
145 <item row="0" column="2" >
146 <widget class="QPushButton" name="browsePB" >
147 <property name="toolTip" >
148 <string>Select an image file</string>
150 <property name="text" >
151 <string>&Browse...</string>
155 <item row="1" column="0" colspan="5" >
156 <widget class="QGroupBox" name="sizeGB" >
157 <property name="title" >
158 <string>Output Size</string>
160 <property name="flat" >
163 <layout class="QGridLayout" >
164 <property name="margin" >
167 <property name="spacing" >
170 <item row="1" column="2" >
171 <widget class="LengthCombo" name="widthUnit" />
173 <item row="2" column="2" >
174 <widget class="LengthCombo" name="heightUnit" />
176 <item row="1" column="1" >
177 <widget class="QLineEdit" name="Width" >
178 <property name="enabled" >
181 <property name="sizePolicy" >
182 <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
183 <horstretch>0</horstretch>
184 <verstretch>0</verstretch>
187 <property name="toolTip" >
188 <string>Width of image in output</string>
192 <item row="0" column="2" >
194 <property name="orientation" >
195 <enum>Qt::Horizontal</enum>
197 <property name="sizeHint" stdset="0" >
205 <item row="0" column="1" >
206 <widget class="QLineEdit" name="Scale" />
208 <item row="2" column="1" >
209 <widget class="QLineEdit" name="Height" >
210 <property name="enabled" >
213 <property name="sizePolicy" >
214 <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
215 <horstretch>0</horstretch>
216 <verstretch>0</verstretch>
219 <property name="toolTip" >
220 <string>Height of image in output</string>
224 <item row="2" column="0" >
225 <widget class="QCheckBox" name="HeightCB" >
226 <property name="enabled" >
229 <property name="toolTip" >
230 <string>Sets height of graphic. Leave unchecked to set automatically.</string>
232 <property name="text" >
233 <string>Set &height:</string>
237 <item row="0" column="0" >
238 <widget class="QCheckBox" name="scaleCB" >
239 <property name="text" >
240 <string>&Scale Graphics (%):</string>
244 <item row="1" column="0" >
245 <widget class="QCheckBox" name="WidthCB" >
246 <property name="enabled" >
249 <property name="toolTip" >
250 <string>Sets width of graphic. Leave unchecked to set automatically.</string>
252 <property name="text" >
253 <string>Set &width:</string>
257 <item row="3" column="1" colspan="2" >
258 <widget class="QCheckBox" name="aspectratio" >
259 <property name="enabled" >
262 <property name="toolTip" >
263 <string>Scale image to maximum size not exceeding width and height</string>
265 <property name="text" >
266 <string>&Maintain aspect ratio</string>
273 <item row="2" column="0" colspan="5" >
274 <widget class="QGroupBox" name="rotationGB" >
275 <property name="title" >
276 <string>Rotate Graphics</string>
278 <property name="flat" >
281 <layout class="QGridLayout" >
282 <property name="margin" >
285 <property name="spacing" >
288 <item row="1" column="0" colspan="2" >
289 <widget class="QCheckBox" name="rotateOrderCB" >
290 <property name="toolTip" >
291 <string>Check to change the order of rotating and scaling</string>
293 <property name="text" >
294 <string>Ro&tate after scaling</string>
298 <item row="0" column="3" >
299 <widget class="QComboBox" name="origin" >
300 <property name="toolTip" >
301 <string>The origin of the rotation</string>
305 <item row="0" column="2" >
306 <widget class="QLabel" name="originL" >
307 <property name="toolTip" >
308 <string>The origin of the rotation</string>
310 <property name="text" >
311 <string>Or&igin:</string>
313 <property name="buddy" >
314 <cstring>origin</cstring>
318 <item row="0" column="1" >
319 <widget class="QLineEdit" name="angle" >
320 <property name="sizePolicy" >
321 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
322 <horstretch>0</horstretch>
323 <verstretch>0</verstretch>
326 <property name="toolTip" >
327 <string>Angle to rotate image by</string>
331 <item row="0" column="0" >
332 <widget class="QLabel" name="angleL" >
333 <property name="toolTip" >
334 <string>Angle to rotate image by</string>
336 <property name="text" >
337 <string>A&ngle (Degrees):</string>
339 <property name="buddy" >
340 <cstring>angle</cstring>
347 <item row="0" column="0" >
348 <widget class="QLabel" name="filenameL" >
349 <property name="toolTip" >
350 <string>File name of image</string>
352 <property name="text" >
353 <string>&File:</string>
355 <property name="buddy" >
356 <cstring>filename</cstring>
360 <item row="0" column="1" >
361 <widget class="QLineEdit" name="filename" >
362 <property name="toolTip" >
363 <string>File name of image</string>
369 <widget class="QWidget" name="Clipping" >
370 <property name="geometry" >
378 <attribute name="title" >
379 <string>&Clipping</string>
381 <layout class="QGridLayout" >
382 <property name="margin" >
385 <property name="spacing" >
388 <item row="3" column="0" colspan="2" >
390 <property name="orientation" >
391 <enum>Qt::Vertical</enum>
393 <property name="sizeHint" stdset="0" >
401 <item row="0" column="0" colspan="2" >
402 <widget class="QCheckBox" name="clip" >
403 <property name="toolTip" >
404 <string>Clip to bounding box values</string>
406 <property name="text" >
407 <string>Clip to &bounding box</string>
411 <item row="1" column="0" colspan="2" >
412 <widget class="QFrame" name="bbFrame" >
413 <property name="enabled" >
416 <property name="sizePolicy" >
417 <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
418 <horstretch>0</horstretch>
419 <verstretch>0</verstretch>
422 <property name="frameShape" >
423 <enum>QFrame::StyledPanel</enum>
425 <property name="frameShadow" >
426 <enum>QFrame::Plain</enum>
428 <layout class="QGridLayout" >
429 <property name="margin" >
432 <property name="spacing" >
435 <item row="0" column="0" colspan="6" >
436 <widget class="QLabel" name="lbL" >
437 <property name="text" >
438 <string>&Left bottom:</string>
440 <property name="buddy" >
441 <cstring>lbX</cstring>
445 <item row="3" column="1" >
446 <widget class="QLineEdit" name="rtX" />
448 <item row="3" column="4" >
449 <widget class="QLineEdit" name="rtY" />
451 <item row="1" column="4" >
452 <widget class="QLineEdit" name="lbY" />
454 <item row="1" column="1" >
455 <widget class="QLineEdit" name="lbX" >
456 <property name="toolTip" >
461 <item row="1" column="2" >
462 <widget class="QComboBox" name="lbXunit" />
464 <item row="3" column="2" >
465 <widget class="QComboBox" name="rtXunit" />
467 <item row="3" column="5" >
468 <widget class="QComboBox" name="rtYunit" />
470 <item row="1" column="5" >
471 <widget class="QComboBox" name="lbYunit" />
473 <item row="2" column="0" colspan="6" >
474 <widget class="QLabel" name="rtL" >
475 <property name="text" >
476 <string>Right &top:</string>
478 <property name="buddy" >
479 <cstring>rtX</cstring>
483 <item row="3" column="3" >
484 <widget class="QLabel" name="yL_2" >
485 <property name="text" >
490 <item row="1" column="3" >
491 <widget class="QLabel" name="yL" >
492 <property name="text" >
497 <item row="3" column="0" >
498 <widget class="QLabel" name="xL_2" >
499 <property name="text" >
504 <item row="1" column="0" >
505 <widget class="QLabel" name="xL" >
506 <property name="text" >
514 <item row="2" column="0" >
516 <property name="orientation" >
517 <enum>Qt::Horizontal</enum>
519 <property name="sizeHint" stdset="0" >
527 <item row="2" column="1" >
528 <widget class="QPushButton" name="getPB" >
529 <property name="toolTip" >
530 <string>Get bounding box from the (EPS) file</string>
532 <property name="text" >
533 <string>&Get from File</string>
539 <widget class="QWidget" name="ExtraOptions" >
540 <property name="geometry" >
548 <attribute name="title" >
549 <string>LaTe&X and LyX options</string>
551 <layout class="QGridLayout" >
552 <item row="0" column="0" >
553 <widget class="QLabel" name="latexoptionsLA" >
554 <property name="toolTip" >
555 <string>Additional LaTeX options</string>
557 <property name="text" >
558 <string>LaTeX &options:</string>
560 <property name="buddy" >
561 <cstring>latexoptions</cstring>
565 <item row="0" column="1" >
566 <widget class="QLineEdit" name="latexoptions" >
567 <property name="sizePolicy" >
568 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
569 <horstretch>0</horstretch>
570 <verstretch>0</verstretch>
573 <property name="toolTip" >
574 <string>Additional LaTeX options</string>
578 <item row="1" column="0" colspan="2" >
579 <widget class="QCheckBox" name="draftCB" >
580 <property name="toolTip" >
581 <string>Draft mode</string>
583 <property name="text" >
584 <string>&Draft mode</string>
588 <item row="2" column="0" colspan="2" >
589 <widget class="QCheckBox" name="unzipCB" >
590 <property name="toolTip" >
591 <string>Don't uncompress image before exporting to LaTeX</string>
593 <property name="text" >
594 <string>Don't un&zip on export</string>
598 <item row="3" column="0" colspan="2" >
599 <widget class="QGroupBox" name="displayGB" >
600 <property name="focusPolicy" >
601 <enum>Qt::StrongFocus</enum>
603 <property name="toolTip" >
604 <string>Enable LyX to preview this graphics, only if graphics previewing is not disabled at application level (see Preference dialog).</string>
606 <property name="title" >
607 <string>Sho&w in LyX</string>
609 <property name="flat" >
612 <property name="checkable" >
615 <layout class="QGridLayout" >
616 <property name="margin" >
619 <property name="spacing" >
622 <item row="0" column="4" >
624 <property name="orientation" >
625 <enum>Qt::Horizontal</enum>
627 <property name="sizeHint" stdset="0" >
635 <item row="1" column="0" >
636 <widget class="QLabel" name="label" >
637 <property name="sizePolicy" >
638 <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
639 <horstretch>0</horstretch>
640 <verstretch>0</verstretch>
643 <property name="toolTip" >
644 <string>Group Name to be set up from the current parameters. Use context menu to assign the existing one.</string>
646 <property name="text" >
647 <string>&Initialize Group Name:</string>
649 <property name="buddy" >
650 <cstring>groupId</cstring>
654 <item row="1" column="1" >
655 <widget class="QLineEdit" name="groupId" >
656 <property name="minimumSize" >
662 <property name="toolTip" >
663 <string>Group Name to be set up from the current parameters. Use context menu to assign the existing one.</string>
667 <item row="0" column="1" >
668 <widget class="QLineEdit" name="displayscale" >
669 <property name="enabled" >
672 <property name="sizePolicy" >
673 <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
674 <horstretch>0</horstretch>
675 <verstretch>0</verstretch>
678 <property name="toolTip" >
679 <string>Percentage to scale by in LyX</string>
683 <item row="0" column="0" >
684 <widget class="QLabel" name="scaleLA" >
685 <property name="toolTip" >
686 <string>Percentage to scale by in LyX</string>
688 <property name="text" >
689 <string>Sca&le on Screen (%):</string>
691 <property name="buddy" >
692 <cstring>displayscale</cstring>
699 <item row="4" column="1" >
701 <property name="orientation" >
702 <enum>Qt::Vertical</enum>
704 <property name="sizeHint" stdset="0" >
720 <class>LengthCombo</class>
721 <extends>QComboBox</extends>
722 <header>LengthCombo.h</header>
726 <tabstop>tabWidget</tabstop>
727 <tabstop>filename</tabstop>
728 <tabstop>browsePB</tabstop>
729 <tabstop>scaleCB</tabstop>
730 <tabstop>Scale</tabstop>
731 <tabstop>WidthCB</tabstop>
732 <tabstop>Width</tabstop>
733 <tabstop>widthUnit</tabstop>
734 <tabstop>HeightCB</tabstop>
735 <tabstop>Height</tabstop>
736 <tabstop>heightUnit</tabstop>
737 <tabstop>aspectratio</tabstop>
738 <tabstop>angle</tabstop>
739 <tabstop>origin</tabstop>
740 <tabstop>rotateOrderCB</tabstop>
741 <tabstop>restorePB</tabstop>
742 <tabstop>okPB</tabstop>
743 <tabstop>applyPB</tabstop>
744 <tabstop>closePB</tabstop>
745 <tabstop>clip</tabstop>
746 <tabstop>lbX</tabstop>
747 <tabstop>lbXunit</tabstop>
748 <tabstop>lbY</tabstop>
749 <tabstop>lbYunit</tabstop>
750 <tabstop>rtX</tabstop>
751 <tabstop>rtXunit</tabstop>
752 <tabstop>rtY</tabstop>
753 <tabstop>rtYunit</tabstop>
754 <tabstop>getPB</tabstop>
755 <tabstop>latexoptions</tabstop>
756 <tabstop>draftCB</tabstop>
757 <tabstop>unzipCB</tabstop>
758 <tabstop>displayGB</tabstop>
761 <include location="local" >qt_i18n.h</include>