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="QPushButton" name="editPB" >
54 <property name="text" >
55 <string>&Edit</string>
57 <property name="autoDefault" >
60 <property name="default" >
65 <item row="0" column="3" >
66 <widget class="QPushButton" name="browsePB" >
67 <property name="toolTip" >
68 <string>Select an image file</string>
70 <property name="text" >
71 <string>&Browse...</string>
75 <item row="0" column="2">
76 <widget class="QCheckBox" name="embedCB" >
77 <property name="text" >
82 <item row="0" column="1" >
83 <widget class="QLineEdit" name="filename" >
84 <property name="toolTip" >
85 <string>File name of image</string>
89 <item row="0" column="0" >
90 <widget class="QLabel" name="filenameL" >
91 <property name="toolTip" >
92 <string>File name of image</string>
94 <property name="text" >
95 <string>&File:</string>
97 <property name="buddy" >
98 <cstring>filename</cstring>
102 <item row="1" column="0" colspan="5" >
103 <widget class="QGroupBox" name="sizeGB" >
104 <property name="title" >
105 <string>Output Size</string>
107 <property name="flat" >
110 <layout class="QGridLayout" >
111 <property name="margin" >
114 <property name="spacing" >
117 <item row="1" column="2" >
118 <widget class="LengthCombo" name="widthUnit" />
120 <item row="2" column="2" >
121 <widget class="LengthCombo" name="heightUnit" />
123 <item row="1" column="1" >
124 <widget class="QLineEdit" name="Width" >
125 <property name="enabled" >
128 <property name="sizePolicy" >
130 <hsizetype>1</hsizetype>
131 <vsizetype>0</vsizetype>
132 <horstretch>0</horstretch>
133 <verstretch>0</verstretch>
136 <property name="toolTip" >
137 <string>Width of image in output</string>
141 <item row="0" column="2" >
143 <property name="orientation" >
144 <enum>Qt::Horizontal</enum>
146 <property name="sizeHint" >
154 <item row="0" column="1" >
155 <widget class="QLineEdit" name="Scale" />
157 <item row="2" column="1" >
158 <widget class="QLineEdit" name="Height" >
159 <property name="enabled" >
162 <property name="sizePolicy" >
164 <hsizetype>1</hsizetype>
165 <vsizetype>0</vsizetype>
166 <horstretch>0</horstretch>
167 <verstretch>0</verstretch>
170 <property name="toolTip" >
171 <string>Height of image in output</string>
175 <item row="2" column="0" >
176 <widget class="QCheckBox" name="HeightCB" >
177 <property name="enabled" >
180 <property name="toolTip" >
181 <string>Sets height of graphic. Leave unchecked to set automatically.</string>
183 <property name="text" >
184 <string>Set &height:</string>
188 <item row="0" column="0" >
189 <widget class="QCheckBox" name="scaleCB" >
190 <property name="text" >
191 <string>&Scale Graphics (%):</string>
195 <item row="1" column="0" >
196 <widget class="QCheckBox" name="WidthCB" >
197 <property name="enabled" >
200 <property name="toolTip" >
201 <string>Sets width of graphic. Leave unchecked to set automatically.</string>
203 <property name="text" >
204 <string>Set &width:</string>
208 <item row="3" column="1" colspan="2" >
209 <widget class="QCheckBox" name="aspectratio" >
210 <property name="enabled" >
213 <property name="toolTip" >
214 <string>Scale image to maximum size not exceeding width and height</string>
216 <property name="text" >
217 <string>&Maintain aspect ratio</string>
224 <item row="2" column="0" colspan="5" >
225 <widget class="QGroupBox" name="rotationGB" >
226 <property name="title" >
227 <string>Rotate Graphics</string>
229 <property name="flat" >
232 <layout class="QGridLayout" >
233 <property name="margin" >
236 <property name="spacing" >
239 <item row="1" column="0" colspan="2" >
240 <widget class="QCheckBox" name="rotateOrderCB" >
241 <property name="toolTip" >
242 <string>Check to change the order of rotating and scaling</string>
244 <property name="text" >
245 <string>Ro&tate after scaling</string>
249 <item row="0" column="3" >
250 <widget class="QComboBox" name="origin" >
251 <property name="toolTip" >
252 <string>The origin of the rotation</string>
256 <item row="0" column="2" >
257 <widget class="QLabel" name="originL" >
258 <property name="toolTip" >
259 <string>The origin of the rotation</string>
261 <property name="text" >
262 <string>Or&igin:</string>
264 <property name="buddy" >
265 <cstring>origin</cstring>
269 <item row="0" column="1" >
270 <widget class="QLineEdit" name="angle" >
271 <property name="sizePolicy" >
273 <hsizetype>3</hsizetype>
274 <vsizetype>0</vsizetype>
275 <horstretch>0</horstretch>
276 <verstretch>0</verstretch>
279 <property name="toolTip" >
280 <string>Angle to rotate image by</string>
284 <item row="0" column="0" >
285 <widget class="QLabel" name="angleL" >
286 <property name="toolTip" >
287 <string>Angle to rotate image by</string>
289 <property name="text" >
290 <string>A&ngle (Degrees):</string>
292 <property name="buddy" >
293 <cstring>angle</cstring>
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>5</hsizetype>
344 <vsizetype>1</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="3" column="1" >
479 <property name="orientation" >
480 <enum>Qt::Vertical</enum>
482 <property name="sizeHint" >
490 <item row="6" column="2" >
492 <property name="orientation" >
493 <enum>Qt::Vertical</enum>
495 <property name="sizeHint" >
503 <item row="2" column="0" colspan="3" >
504 <widget class="QCheckBox" name="unzipCB" >
505 <property name="toolTip" >
506 <string>Don't uncompress image before exporting to LaTeX</string>
508 <property name="text" >
509 <string>Don't un&zip on export</string>
513 <item row="4" column="0" colspan="3" >
514 <widget class="QGroupBox" name="subfigure" >
515 <property name="focusPolicy" >
516 <enum>Qt::StrongFocus</enum>
518 <property name="title" >
519 <string>S&ubfigure</string>
521 <property name="flat" >
524 <property name="checkable" >
527 <property name="checked" >
530 <layout class="QHBoxLayout" >
531 <property name="margin" >
534 <property name="spacing" >
538 <widget class="QLabel" name="CaptionLA" >
539 <property name="toolTip" >
540 <string>The caption for the sub-figure</string>
542 <property name="text" >
543 <string>Ca&ption:</string>
545 <property name="buddy" >
546 <cstring>subcaption</cstring>
551 <widget class="QLineEdit" name="subcaption" >
552 <property name="sizePolicy" >
554 <hsizetype>3</hsizetype>
555 <vsizetype>0</vsizetype>
556 <horstretch>0</horstretch>
557 <verstretch>0</verstretch>
560 <property name="toolTip" >
561 <string>The caption for the sub-figure</string>
568 <item row="5" column="0" colspan="3" >
569 <widget class="QGroupBox" name="displayGB" >
570 <property name="focusPolicy" >
571 <enum>Qt::StrongFocus</enum>
573 <property name="title" >
574 <string>Sho&w in LyX</string>
576 <property name="flat" >
579 <property name="checkable" >
582 <layout class="QGridLayout" >
583 <property name="margin" >
586 <property name="spacing" >
589 <item row="0" column="3" >
590 <widget class="QLineEdit" name="displayscale" >
591 <property name="enabled" >
594 <property name="sizePolicy" >
596 <hsizetype>1</hsizetype>
597 <vsizetype>0</vsizetype>
598 <horstretch>0</horstretch>
599 <verstretch>0</verstretch>
602 <property name="toolTip" >
603 <string>Percentage to scale by in LyX</string>
607 <item row="0" column="2" >
608 <widget class="QLabel" name="scaleLA" >
609 <property name="toolTip" >
610 <string>Percentage to scale by in LyX</string>
612 <property name="text" >
613 <string>Sca&le on Screen (%):</string>
615 <property name="buddy" >
616 <cstring>displayscale</cstring>
620 <item row="0" column="1" >
621 <widget class="QComboBox" name="showCB" >
622 <property name="toolTip" >
623 <string>Screen display</string>
626 <property name="text" >
627 <string>Default</string>
631 <property name="text" >
632 <string>Monochrome</string>
636 <property name="text" >
637 <string>Grayscale</string>
641 <property name="text" >
642 <string>Color</string>
647 <item row="0" column="0" >
648 <widget class="QLabel" name="showL" >
649 <property name="toolTip" >
650 <string>Screen display</string>
652 <property name="text" >
653 <string>&Display:</string>
655 <property name="buddy" >
656 <cstring>showCB</cstring>
663 <item row="0" column="1" colspan="2" >
664 <widget class="QLineEdit" name="latexoptions" >
665 <property name="sizePolicy" >
667 <hsizetype>3</hsizetype>
668 <vsizetype>0</vsizetype>
669 <horstretch>0</horstretch>
670 <verstretch>0</verstretch>
673 <property name="toolTip" >
674 <string>Additional LaTeX options</string>
678 <item row="0" column="0" >
679 <widget class="QLabel" name="latexoptionsLA" >
680 <property name="toolTip" >
681 <string>Additional LaTeX options</string>
683 <property name="text" >
684 <string>LaTeX &options:</string>
686 <property name="buddy" >
687 <cstring>latexoptions</cstring>
691 <item row="1" column="0" colspan="3" >
692 <widget class="QCheckBox" name="draftCB" >
693 <property name="toolTip" >
694 <string>Draft mode</string>
696 <property name="text" >
697 <string>&Draft mode</string>
705 <item row="1" column="0" >
706 <layout class="QHBoxLayout" >
707 <property name="margin" >
710 <property name="spacing" >
714 <widget class="QPushButton" name="restorePB" >
715 <property name="text" >
716 <string>&Restore</string>
718 <property name="autoDefault" >
721 <property name="default" >
728 <property name="orientation" >
729 <enum>Qt::Horizontal</enum>
731 <property name="sizeType" >
732 <enum>QSizePolicy::MinimumExpanding</enum>
734 <property name="sizeHint" >
743 <widget class="QPushButton" name="okPB" >
744 <property name="text" >
745 <string>&OK</string>
747 <property name="autoDefault" >
750 <property name="default" >
756 <widget class="QPushButton" name="applyPB" >
757 <property name="sizePolicy" >
759 <hsizetype>1</hsizetype>
760 <vsizetype>0</vsizetype>
761 <horstretch>0</horstretch>
762 <verstretch>0</verstretch>
765 <property name="text" >
766 <string>&Apply</string>
768 <property name="autoDefault" >
771 <property name="default" >
777 <widget class="QPushButton" name="closePB" >
778 <property name="sizePolicy" >
780 <hsizetype>1</hsizetype>
781 <vsizetype>0</vsizetype>
782 <horstretch>0</horstretch>
783 <verstretch>0</verstretch>
786 <property name="text" >
787 <string>Close</string>
789 <property name="autoDefault" >
800 <class>LengthCombo</class>
801 <extends>QComboBox</extends>
802 <header>LengthCombo.h</header>
806 <tabstop>TabWidget</tabstop>
807 <tabstop>filename</tabstop>
808 <tabstop>browsePB</tabstop>
809 <tabstop>editPB</tabstop>
810 <tabstop>scaleCB</tabstop>
811 <tabstop>Scale</tabstop>
812 <tabstop>WidthCB</tabstop>
813 <tabstop>Width</tabstop>
814 <tabstop>widthUnit</tabstop>
815 <tabstop>HeightCB</tabstop>
816 <tabstop>Height</tabstop>
817 <tabstop>heightUnit</tabstop>
818 <tabstop>aspectratio</tabstop>
819 <tabstop>angle</tabstop>
820 <tabstop>origin</tabstop>
821 <tabstop>rotateOrderCB</tabstop>
822 <tabstop>restorePB</tabstop>
823 <tabstop>okPB</tabstop>
824 <tabstop>applyPB</tabstop>
825 <tabstop>closePB</tabstop>
826 <tabstop>clip</tabstop>
827 <tabstop>lbX</tabstop>
828 <tabstop>lbXunit</tabstop>
829 <tabstop>lbY</tabstop>
830 <tabstop>lbYunit</tabstop>
831 <tabstop>rtX</tabstop>
832 <tabstop>rtXunit</tabstop>
833 <tabstop>rtY</tabstop>
834 <tabstop>rtYunit</tabstop>
835 <tabstop>getPB</tabstop>
836 <tabstop>latexoptions</tabstop>
837 <tabstop>draftCB</tabstop>
838 <tabstop>unzipCB</tabstop>
839 <tabstop>subfigure</tabstop>
840 <tabstop>subcaption</tabstop>
841 <tabstop>displayGB</tabstop>
842 <tabstop>showCB</tabstop>
843 <tabstop>displayscale</tabstop>
846 <include location="local" >qt_helpers.h</include>