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="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="1" 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="LengthCombo" name="widthUnit" />
80 <item row="2" column="2" >
81 <widget class="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>1</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>1</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="2" 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>3</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>
282 <widget class="QWidget" name="Clipping" >
283 <attribute name="title" >
284 <string>&Clipping</string>
286 <layout class="QGridLayout" >
287 <property name="margin" >
290 <property name="spacing" >
293 <item row="3" column="0" colspan="2" >
295 <property name="orientation" >
296 <enum>Qt::Vertical</enum>
298 <property name="sizeHint" >
306 <item row="0" column="0" colspan="2" >
307 <widget class="QCheckBox" name="clip" >
308 <property name="toolTip" >
309 <string>Clip to bounding box values</string>
311 <property name="text" >
312 <string>Clip to &bounding box</string>
316 <item row="1" column="0" colspan="2" >
317 <widget class="QFrame" name="bbFrame" >
318 <property name="enabled" >
321 <property name="sizePolicy" >
323 <hsizetype>5</hsizetype>
324 <vsizetype>1</vsizetype>
325 <horstretch>0</horstretch>
326 <verstretch>0</verstretch>
329 <property name="frameShape" >
330 <enum>QFrame::StyledPanel</enum>
332 <property name="frameShadow" >
333 <enum>QFrame::Plain</enum>
335 <layout class="QGridLayout" >
336 <property name="margin" >
339 <property name="spacing" >
342 <item row="0" column="0" colspan="6" >
343 <widget class="QLabel" name="lbL" >
344 <property name="text" >
345 <string>&Left bottom:</string>
347 <property name="buddy" >
348 <cstring>lbX</cstring>
352 <item row="3" column="1" >
353 <widget class="QLineEdit" name="rtX" />
355 <item row="3" column="4" >
356 <widget class="QLineEdit" name="rtY" />
358 <item row="1" column="4" >
359 <widget class="QLineEdit" name="lbY" />
361 <item row="1" column="1" >
362 <widget class="QLineEdit" name="lbX" >
363 <property name="toolTip" >
368 <item row="1" column="2" >
369 <widget class="QComboBox" name="lbXunit" />
371 <item row="3" column="2" >
372 <widget class="QComboBox" name="rtXunit" />
374 <item row="3" column="5" >
375 <widget class="QComboBox" name="rtYunit" />
377 <item row="1" column="5" >
378 <widget class="QComboBox" name="lbYunit" />
380 <item row="2" column="0" colspan="6" >
381 <widget class="QLabel" name="rtL" >
382 <property name="text" >
383 <string>Right &top:</string>
385 <property name="buddy" >
386 <cstring>rtX</cstring>
390 <item row="3" column="3" >
391 <widget class="QLabel" name="yL_2" >
392 <property name="text" >
397 <item row="1" column="3" >
398 <widget class="QLabel" name="yL" >
399 <property name="text" >
404 <item row="3" column="0" >
405 <widget class="QLabel" name="xL_2" >
406 <property name="text" >
411 <item row="1" column="0" >
412 <widget class="QLabel" name="xL" >
413 <property name="text" >
421 <item row="2" column="0" >
423 <property name="orientation" >
424 <enum>Qt::Horizontal</enum>
426 <property name="sizeHint" >
434 <item row="2" column="1" >
435 <widget class="QPushButton" name="getPB" >
436 <property name="toolTip" >
437 <string>Get bounding box from the (EPS) file</string>
439 <property name="text" >
440 <string>&Get from File</string>
446 <widget class="QWidget" name="ExtraOptions" >
447 <attribute name="title" >
448 <string>LaTe&X and LyX options</string>
450 <layout class="QGridLayout" >
451 <property name="margin" >
454 <property name="spacing" >
457 <item row="4" column="0" colspan="2" >
458 <widget class="QGroupBox" name="displayGB" >
459 <property name="focusPolicy" >
460 <enum>Qt::StrongFocus</enum>
462 <property name="title" >
463 <string>Sho&w in LyX</string>
465 <property name="flat" >
468 <property name="checkable" >
471 <layout class="QGridLayout" >
472 <property name="margin" >
475 <property name="spacing" >
478 <item row="0" column="4" >
480 <property name="orientation" >
481 <enum>Qt::Horizontal</enum>
483 <property name="sizeHint" >
491 <item row="0" column="3" >
492 <widget class="QLineEdit" name="displayscale" >
493 <property name="enabled" >
496 <property name="sizePolicy" >
498 <hsizetype>1</hsizetype>
499 <vsizetype>0</vsizetype>
500 <horstretch>0</horstretch>
501 <verstretch>0</verstretch>
504 <property name="toolTip" >
505 <string>Percentage to scale by in LyX</string>
509 <item row="0" column="2" >
510 <widget class="QLabel" name="scaleLA" >
511 <property name="toolTip" >
512 <string>Percentage to scale by in LyX</string>
514 <property name="text" >
515 <string>Sca&le on Screen (%):</string>
517 <property name="buddy" >
518 <cstring>displayscale</cstring>
522 <item row="0" column="1" >
523 <widget class="QComboBox" name="showCB" >
524 <property name="toolTip" >
525 <string>Screen display</string>
528 <property name="text" >
529 <string>Default</string>
533 <property name="text" >
534 <string>Monochrome</string>
538 <property name="text" >
539 <string>Grayscale</string>
543 <property name="text" >
544 <string>Color</string>
549 <item row="0" column="0" >
550 <widget class="QLabel" name="showL" >
551 <property name="toolTip" >
552 <string>Screen display</string>
554 <property name="text" >
555 <string>&Display:</string>
557 <property name="buddy" >
558 <cstring>showCB</cstring>
565 <item row="5" column="1" >
567 <property name="orientation" >
568 <enum>Qt::Vertical</enum>
570 <property name="sizeHint" >
578 <item row="2" column="0" colspan="2" >
579 <widget class="QCheckBox" name="unzipCB" >
580 <property name="toolTip" >
581 <string>Don't uncompress image before exporting to LaTeX</string>
583 <property name="text" >
584 <string>Don't un&zip on export</string>
588 <item row="0" column="1" >
589 <widget class="QLineEdit" name="latexoptions" >
590 <property name="sizePolicy" >
592 <hsizetype>3</hsizetype>
593 <vsizetype>0</vsizetype>
594 <horstretch>0</horstretch>
595 <verstretch>0</verstretch>
598 <property name="toolTip" >
599 <string>Additional LaTeX options</string>
603 <item row="0" column="0" >
604 <widget class="QLabel" name="latexoptionsLA" >
605 <property name="toolTip" >
606 <string>Additional LaTeX options</string>
608 <property name="text" >
609 <string>LaTeX &options:</string>
611 <property name="buddy" >
612 <cstring>latexoptions</cstring>
616 <item row="1" column="0" colspan="2" >
617 <widget class="QCheckBox" name="draftCB" >
618 <property name="toolTip" >
619 <string>Draft mode</string>
621 <property name="text" >
622 <string>&Draft mode</string>
630 <item row="1" column="0" >
631 <layout class="QHBoxLayout" >
632 <property name="margin" >
635 <property name="spacing" >
639 <widget class="QPushButton" name="restorePB" >
640 <property name="text" >
641 <string>&Restore</string>
643 <property name="autoDefault" >
646 <property name="default" >
653 <property name="orientation" >
654 <enum>Qt::Horizontal</enum>
656 <property name="sizeType" >
657 <enum>QSizePolicy::MinimumExpanding</enum>
659 <property name="sizeHint" >
668 <widget class="QPushButton" name="okPB" >
669 <property name="text" >
670 <string>&OK</string>
672 <property name="autoDefault" >
675 <property name="default" >
681 <widget class="QPushButton" name="applyPB" >
682 <property name="sizePolicy" >
684 <hsizetype>1</hsizetype>
685 <vsizetype>0</vsizetype>
686 <horstretch>0</horstretch>
687 <verstretch>0</verstretch>
690 <property name="text" >
691 <string>&Apply</string>
693 <property name="autoDefault" >
696 <property name="default" >
702 <widget class="QPushButton" name="closePB" >
703 <property name="sizePolicy" >
705 <hsizetype>1</hsizetype>
706 <vsizetype>0</vsizetype>
707 <horstretch>0</horstretch>
708 <verstretch>0</verstretch>
711 <property name="text" >
712 <string>Close</string>
714 <property name="autoDefault" >
725 <class>LengthCombo</class>
726 <extends>QComboBox</extends>
727 <header>LengthCombo.h</header>
731 <tabstop>TabWidget</tabstop>
732 <tabstop>filename</tabstop>
733 <tabstop>browsePB</tabstop>
734 <tabstop>scaleCB</tabstop>
735 <tabstop>Scale</tabstop>
736 <tabstop>WidthCB</tabstop>
737 <tabstop>Width</tabstop>
738 <tabstop>widthUnit</tabstop>
739 <tabstop>HeightCB</tabstop>
740 <tabstop>Height</tabstop>
741 <tabstop>heightUnit</tabstop>
742 <tabstop>aspectratio</tabstop>
743 <tabstop>angle</tabstop>
744 <tabstop>origin</tabstop>
745 <tabstop>rotateOrderCB</tabstop>
746 <tabstop>restorePB</tabstop>
747 <tabstop>okPB</tabstop>
748 <tabstop>applyPB</tabstop>
749 <tabstop>closePB</tabstop>
750 <tabstop>clip</tabstop>
751 <tabstop>lbX</tabstop>
752 <tabstop>lbXunit</tabstop>
753 <tabstop>lbY</tabstop>
754 <tabstop>lbYunit</tabstop>
755 <tabstop>rtX</tabstop>
756 <tabstop>rtXunit</tabstop>
757 <tabstop>rtY</tabstop>
758 <tabstop>rtYunit</tabstop>
759 <tabstop>getPB</tabstop>
760 <tabstop>latexoptions</tabstop>
761 <tabstop>draftCB</tabstop>
762 <tabstop>unzipCB</tabstop>
763 <tabstop>displayGB</tabstop>
764 <tabstop>showCB</tabstop>
765 <tabstop>displayscale</tabstop>
768 <include location="local" >qt_helpers.h</include>