2 <class>GraphicsUi</class>
3 <widget class="QDialog" name="GraphicsUi" >
4 <property name="geometry" >
12 <property name="sizePolicy" >
14 <hsizetype>1</hsizetype>
15 <vsizetype>1</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="4" >
53 <widget class="QCheckBox" name="embedCB" >
54 <property name="text" >
55 <string>E&mbed</string>
59 <item row="0" column="2" >
60 <widget class="QPushButton" name="browsePB" >
61 <property name="toolTip" >
62 <string>Select an image file</string>
64 <property name="text" >
65 <string>&Browse...</string>
69 <item row="1" column="0" colspan="5" >
70 <widget class="QGroupBox" name="sizeGB" >
71 <property name="title" >
72 <string>Output Size</string>
74 <property name="flat" >
77 <layout class="QGridLayout" >
78 <property name="margin" >
81 <property name="spacing" >
84 <item row="1" column="2" >
85 <widget class="LengthCombo" name="widthUnit" />
87 <item row="2" column="2" >
88 <widget class="LengthCombo" name="heightUnit" />
90 <item row="1" column="1" >
91 <widget class="QLineEdit" name="Width" >
92 <property name="enabled" >
95 <property name="sizePolicy" >
97 <hsizetype>1</hsizetype>
98 <vsizetype>0</vsizetype>
99 <horstretch>0</horstretch>
100 <verstretch>0</verstretch>
103 <property name="toolTip" >
104 <string>Width of image in output</string>
108 <item row="0" column="2" >
110 <property name="orientation" >
111 <enum>Qt::Horizontal</enum>
113 <property name="sizeHint" >
121 <item row="0" column="1" >
122 <widget class="QLineEdit" name="Scale" />
124 <item row="2" column="1" >
125 <widget class="QLineEdit" name="Height" >
126 <property name="enabled" >
129 <property name="sizePolicy" >
131 <hsizetype>1</hsizetype>
132 <vsizetype>0</vsizetype>
133 <horstretch>0</horstretch>
134 <verstretch>0</verstretch>
137 <property name="toolTip" >
138 <string>Height of image in output</string>
142 <item row="2" column="0" >
143 <widget class="QCheckBox" name="HeightCB" >
144 <property name="enabled" >
147 <property name="toolTip" >
148 <string>Sets height of graphic. Leave unchecked to set automatically.</string>
150 <property name="text" >
151 <string>Set &height:</string>
155 <item row="0" column="0" >
156 <widget class="QCheckBox" name="scaleCB" >
157 <property name="text" >
158 <string>&Scale Graphics (%):</string>
162 <item row="1" column="0" >
163 <widget class="QCheckBox" name="WidthCB" >
164 <property name="enabled" >
167 <property name="toolTip" >
168 <string>Sets width of graphic. Leave unchecked to set automatically.</string>
170 <property name="text" >
171 <string>Set &width:</string>
175 <item row="3" column="1" colspan="2" >
176 <widget class="QCheckBox" name="aspectratio" >
177 <property name="enabled" >
180 <property name="toolTip" >
181 <string>Scale image to maximum size not exceeding width and height</string>
183 <property name="text" >
184 <string>&Maintain aspect ratio</string>
191 <item row="2" column="0" colspan="5" >
192 <widget class="QGroupBox" name="rotationGB" >
193 <property name="title" >
194 <string>Rotate Graphics</string>
196 <property name="flat" >
199 <layout class="QGridLayout" >
200 <property name="margin" >
203 <property name="spacing" >
206 <item row="1" column="0" colspan="2" >
207 <widget class="QCheckBox" name="rotateOrderCB" >
208 <property name="toolTip" >
209 <string>Check to change the order of rotating and scaling</string>
211 <property name="text" >
212 <string>Ro&tate after scaling</string>
216 <item row="0" column="3" >
217 <widget class="QComboBox" name="origin" >
218 <property name="toolTip" >
219 <string>The origin of the rotation</string>
223 <item row="0" column="2" >
224 <widget class="QLabel" name="originL" >
225 <property name="toolTip" >
226 <string>The origin of the rotation</string>
228 <property name="text" >
229 <string>Or&igin:</string>
231 <property name="buddy" >
232 <cstring>origin</cstring>
236 <item row="0" column="1" >
237 <widget class="QLineEdit" name="angle" >
238 <property name="sizePolicy" >
240 <hsizetype>3</hsizetype>
241 <vsizetype>0</vsizetype>
242 <horstretch>0</horstretch>
243 <verstretch>0</verstretch>
246 <property name="toolTip" >
247 <string>Angle to rotate image by</string>
251 <item row="0" column="0" >
252 <widget class="QLabel" name="angleL" >
253 <property name="toolTip" >
254 <string>Angle to rotate image by</string>
256 <property name="text" >
257 <string>A&ngle (Degrees):</string>
259 <property name="buddy" >
260 <cstring>angle</cstring>
267 <item row="0" column="0" >
268 <widget class="QLabel" name="filenameL" >
269 <property name="toolTip" >
270 <string>File name of image</string>
272 <property name="text" >
273 <string>&File:</string>
275 <property name="buddy" >
276 <cstring>filename</cstring>
280 <item row="0" column="1" >
281 <widget class="QLineEdit" name="filename" >
282 <property name="toolTip" >
283 <string>File name of image</string>
289 <widget class="QWidget" name="Clipping" >
290 <attribute name="title" >
291 <string>&Clipping</string>
293 <layout class="QGridLayout" >
294 <property name="margin" >
297 <property name="spacing" >
300 <item row="3" column="0" colspan="2" >
302 <property name="orientation" >
303 <enum>Qt::Vertical</enum>
305 <property name="sizeHint" >
313 <item row="0" column="0" colspan="2" >
314 <widget class="QCheckBox" name="clip" >
315 <property name="toolTip" >
316 <string>Clip to bounding box values</string>
318 <property name="text" >
319 <string>Clip to &bounding box</string>
323 <item row="1" column="0" colspan="2" >
324 <widget class="QFrame" name="bbFrame" >
325 <property name="enabled" >
328 <property name="sizePolicy" >
330 <hsizetype>5</hsizetype>
331 <vsizetype>1</vsizetype>
332 <horstretch>0</horstretch>
333 <verstretch>0</verstretch>
336 <property name="frameShape" >
337 <enum>QFrame::StyledPanel</enum>
339 <property name="frameShadow" >
340 <enum>QFrame::Plain</enum>
342 <layout class="QGridLayout" >
343 <property name="margin" >
346 <property name="spacing" >
349 <item row="0" column="0" colspan="6" >
350 <widget class="QLabel" name="lbL" >
351 <property name="text" >
352 <string>&Left bottom:</string>
354 <property name="buddy" >
355 <cstring>lbX</cstring>
359 <item row="3" column="1" >
360 <widget class="QLineEdit" name="rtX" />
362 <item row="3" column="4" >
363 <widget class="QLineEdit" name="rtY" />
365 <item row="1" column="4" >
366 <widget class="QLineEdit" name="lbY" />
368 <item row="1" column="1" >
369 <widget class="QLineEdit" name="lbX" >
370 <property name="toolTip" >
375 <item row="1" column="2" >
376 <widget class="QComboBox" name="lbXunit" />
378 <item row="3" column="2" >
379 <widget class="QComboBox" name="rtXunit" />
381 <item row="3" column="5" >
382 <widget class="QComboBox" name="rtYunit" />
384 <item row="1" column="5" >
385 <widget class="QComboBox" name="lbYunit" />
387 <item row="2" column="0" colspan="6" >
388 <widget class="QLabel" name="rtL" >
389 <property name="text" >
390 <string>Right &top:</string>
392 <property name="buddy" >
393 <cstring>rtX</cstring>
397 <item row="3" column="3" >
398 <widget class="QLabel" name="yL_2" >
399 <property name="text" >
404 <item row="1" column="3" >
405 <widget class="QLabel" name="yL" >
406 <property name="text" >
411 <item row="3" column="0" >
412 <widget class="QLabel" name="xL_2" >
413 <property name="text" >
418 <item row="1" column="0" >
419 <widget class="QLabel" name="xL" >
420 <property name="text" >
428 <item row="2" column="0" >
430 <property name="orientation" >
431 <enum>Qt::Horizontal</enum>
433 <property name="sizeHint" >
441 <item row="2" column="1" >
442 <widget class="QPushButton" name="getPB" >
443 <property name="toolTip" >
444 <string>Get bounding box from the (EPS) file</string>
446 <property name="text" >
447 <string>&Get from File</string>
453 <widget class="QWidget" name="ExtraOptions" >
454 <attribute name="title" >
455 <string>LaTe&X and LyX options</string>
457 <layout class="QGridLayout" >
458 <property name="margin" >
461 <property name="spacing" >
464 <item row="4" column="0" colspan="2" >
465 <widget class="QGroupBox" name="displayGB" >
466 <property name="focusPolicy" >
467 <enum>Qt::StrongFocus</enum>
469 <property name="title" >
470 <string>Sho&w in LyX</string>
472 <property name="flat" >
475 <property name="checkable" >
478 <layout class="QGridLayout" >
479 <property name="margin" >
482 <property name="spacing" >
485 <item row="0" column="4" >
487 <property name="orientation" >
488 <enum>Qt::Horizontal</enum>
490 <property name="sizeHint" >
498 <item row="0" column="3" >
499 <widget class="QLineEdit" name="displayscale" >
500 <property name="enabled" >
503 <property name="sizePolicy" >
505 <hsizetype>1</hsizetype>
506 <vsizetype>0</vsizetype>
507 <horstretch>0</horstretch>
508 <verstretch>0</verstretch>
511 <property name="toolTip" >
512 <string>Percentage to scale by in LyX</string>
516 <item row="0" column="2" >
517 <widget class="QLabel" name="scaleLA" >
518 <property name="toolTip" >
519 <string>Percentage to scale by in LyX</string>
521 <property name="text" >
522 <string>Sca&le on Screen (%):</string>
524 <property name="buddy" >
525 <cstring>displayscale</cstring>
529 <item row="0" column="1" >
530 <widget class="QComboBox" name="showCB" >
531 <property name="toolTip" >
532 <string>Screen display</string>
535 <property name="text" >
536 <string>Default</string>
540 <property name="text" >
541 <string>Monochrome</string>
545 <property name="text" >
546 <string>Grayscale</string>
550 <property name="text" >
551 <string>Color</string>
556 <item row="0" column="0" >
557 <widget class="QLabel" name="showL" >
558 <property name="toolTip" >
559 <string>Screen display</string>
561 <property name="text" >
562 <string>&Display:</string>
564 <property name="buddy" >
565 <cstring>showCB</cstring>
572 <item row="5" column="1" >
574 <property name="orientation" >
575 <enum>Qt::Vertical</enum>
577 <property name="sizeHint" >
585 <item row="2" column="0" colspan="2" >
586 <widget class="QCheckBox" name="unzipCB" >
587 <property name="toolTip" >
588 <string>Don't uncompress image before exporting to LaTeX</string>
590 <property name="text" >
591 <string>Don't un&zip on export</string>
595 <item row="0" column="1" >
596 <widget class="QLineEdit" name="latexoptions" >
597 <property name="sizePolicy" >
599 <hsizetype>3</hsizetype>
600 <vsizetype>0</vsizetype>
601 <horstretch>0</horstretch>
602 <verstretch>0</verstretch>
605 <property name="toolTip" >
606 <string>Additional LaTeX options</string>
610 <item row="0" column="0" >
611 <widget class="QLabel" name="latexoptionsLA" >
612 <property name="toolTip" >
613 <string>Additional LaTeX options</string>
615 <property name="text" >
616 <string>LaTeX &options:</string>
618 <property name="buddy" >
619 <cstring>latexoptions</cstring>
623 <item row="1" column="0" colspan="2" >
624 <widget class="QCheckBox" name="draftCB" >
625 <property name="toolTip" >
626 <string>Draft mode</string>
628 <property name="text" >
629 <string>&Draft mode</string>
637 <item row="1" column="0" >
638 <layout class="QHBoxLayout" >
639 <property name="margin" >
642 <property name="spacing" >
646 <widget class="QPushButton" name="restorePB" >
647 <property name="text" >
648 <string>&Restore</string>
650 <property name="autoDefault" >
653 <property name="default" >
660 <property name="orientation" >
661 <enum>Qt::Horizontal</enum>
663 <property name="sizeType" >
664 <enum>QSizePolicy::MinimumExpanding</enum>
666 <property name="sizeHint" >
675 <widget class="QPushButton" name="okPB" >
676 <property name="text" >
677 <string>&OK</string>
679 <property name="autoDefault" >
682 <property name="default" >
688 <widget class="QPushButton" name="applyPB" >
689 <property name="sizePolicy" >
691 <hsizetype>1</hsizetype>
692 <vsizetype>0</vsizetype>
693 <horstretch>0</horstretch>
694 <verstretch>0</verstretch>
697 <property name="text" >
698 <string>&Apply</string>
700 <property name="autoDefault" >
703 <property name="default" >
709 <widget class="QPushButton" name="closePB" >
710 <property name="sizePolicy" >
712 <hsizetype>1</hsizetype>
713 <vsizetype>0</vsizetype>
714 <horstretch>0</horstretch>
715 <verstretch>0</verstretch>
718 <property name="text" >
719 <string>Close</string>
721 <property name="autoDefault" >
732 <class>LengthCombo</class>
733 <extends>QComboBox</extends>
734 <header>LengthCombo.h</header>
738 <tabstop>TabWidget</tabstop>
739 <tabstop>filename</tabstop>
740 <tabstop>browsePB</tabstop>
741 <tabstop>scaleCB</tabstop>
742 <tabstop>Scale</tabstop>
743 <tabstop>WidthCB</tabstop>
744 <tabstop>Width</tabstop>
745 <tabstop>widthUnit</tabstop>
746 <tabstop>HeightCB</tabstop>
747 <tabstop>Height</tabstop>
748 <tabstop>heightUnit</tabstop>
749 <tabstop>aspectratio</tabstop>
750 <tabstop>angle</tabstop>
751 <tabstop>origin</tabstop>
752 <tabstop>rotateOrderCB</tabstop>
753 <tabstop>restorePB</tabstop>
754 <tabstop>okPB</tabstop>
755 <tabstop>applyPB</tabstop>
756 <tabstop>closePB</tabstop>
757 <tabstop>clip</tabstop>
758 <tabstop>lbX</tabstop>
759 <tabstop>lbXunit</tabstop>
760 <tabstop>lbY</tabstop>
761 <tabstop>lbYunit</tabstop>
762 <tabstop>rtX</tabstop>
763 <tabstop>rtXunit</tabstop>
764 <tabstop>rtY</tabstop>
765 <tabstop>rtYunit</tabstop>
766 <tabstop>getPB</tabstop>
767 <tabstop>latexoptions</tabstop>
768 <tabstop>draftCB</tabstop>
769 <tabstop>unzipCB</tabstop>
770 <tabstop>displayGB</tabstop>
771 <tabstop>showCB</tabstop>
772 <tabstop>displayscale</tabstop>
775 <include location="local" >qt_helpers.h</include>