4 <exportmacro></exportmacro>
5 <class>ExternalUi</class>
6 <widget class="QDialog" name="ExternalUi" >
7 <property name="geometry" >
15 <property name="windowTitle" >
18 <property name="sizeGripEnabled" >
21 <layout class="QGridLayout" >
22 <property name="margin" >
25 <property name="spacing" >
28 <item row="1" column="0" >
30 <property name="orientation" >
31 <enum>Qt::Horizontal</enum>
33 <property name="sizeType" >
34 <enum>QSizePolicy::Expanding</enum>
36 <property name="sizeHint" >
44 <item row="0" column="0" colspan="4" >
45 <widget class="QTabWidget" name="tab" >
46 <property name="currentIndex" >
49 <widget class="QWidget" name="filetab" >
50 <attribute name="title" >
53 <layout class="QGridLayout" >
54 <property name="margin" >
57 <property name="spacing" >
60 <item row="3" column="0" colspan="3" >
61 <widget class="QCheckBox" name="draftCB" >
62 <property name="text" >
63 <string>&Draft</string>
67 <item row="1" column="0" colspan="2" >
68 <widget class="QCheckBox" name="embedCB" >
69 <property name="text" >
70 <string>E&mbed</string>
74 <item row="1" column="2" >
75 <widget class="QPushButton" name="editPB" >
76 <property name="toolTip" >
77 <string>Edit the file externally</string>
79 <property name="text" >
80 <string>&Edit File...</string>
84 <item row="0" column="2" >
85 <widget class="QPushButton" name="browsePB" >
86 <property name="toolTip" >
87 <string>Select a file</string>
89 <property name="text" >
90 <string>&Browse...</string>
94 <item row="0" column="0" >
95 <widget class="QLabel" name="fileLA" >
96 <property name="toolTip" >
97 <string>Filename</string>
99 <property name="text" >
100 <string>&File:</string>
102 <property name="buddy" >
103 <cstring>fileED</cstring>
107 <item row="0" column="1" >
108 <widget class="QLineEdit" name="fileED" >
109 <property name="toolTip" >
110 <string>Filename</string>
114 <item row="2" column="0" colspan="3" >
115 <widget class="QGroupBox" name="GroupBox3" >
116 <property name="title" >
117 <string>Template</string>
119 <layout class="QGridLayout" >
120 <property name="margin" >
123 <property name="spacing" >
126 <item row="1" column="0" colspan="2" >
127 <widget class="QTextBrowser" name="externalTB" />
129 <item row="0" column="1" >
131 <property name="orientation" >
132 <enum>Qt::Horizontal</enum>
134 <property name="sizeType" >
135 <enum>QSizePolicy::Preferred</enum>
137 <property name="sizeHint" >
145 <item row="0" column="0" >
146 <widget class="QComboBox" name="externalCO" >
147 <property name="sizePolicy" >
149 <hsizetype>3</hsizetype>
150 <vsizetype>0</vsizetype>
151 <horstretch>0</horstretch>
152 <verstretch>0</verstretch>
155 <property name="toolTip" >
156 <string>Available templates</string>
165 <widget class="QWidget" name="lyxviewtab" >
166 <attribute name="title" >
167 <string>LyX View</string>
169 <layout class="QGridLayout" >
170 <property name="margin" >
173 <property name="spacing" >
176 <item row="2" column="0" >
177 <widget class="QComboBox" name="showCO" >
178 <property name="toolTip" >
179 <string>Screen display</string>
182 <property name="text" >
183 <string>Default</string>
187 <property name="text" >
188 <string>Monochrome</string>
192 <property name="text" >
193 <string>Grayscale</string>
197 <property name="text" >
198 <string>Color</string>
202 <property name="text" >
203 <string>Preview</string>
208 <item row="2" column="1" colspan="2" >
209 <layout class="QHBoxLayout" >
210 <property name="margin" >
213 <property name="spacing" >
217 <widget class="QLineEdit" name="displayscaleED" >
218 <property name="enabled" >
221 <property name="sizePolicy" >
223 <hsizetype>5</hsizetype>
224 <vsizetype>0</vsizetype>
225 <horstretch>0</horstretch>
226 <verstretch>0</verstretch>
229 <property name="toolTip" >
230 <string>Percentage to scale by in LyX</string>
235 <widget class="QLabel" name="displayscaleLA" >
236 <property name="enabled" >
239 <property name="focusPolicy" >
240 <enum>Qt::NoFocus</enum>
242 <property name="text" >
249 <item row="1" column="0" >
250 <widget class="QLabel" name="showLA" >
251 <property name="toolTip" >
252 <string>Screen display</string>
254 <property name="text" >
255 <string>&Display:</string>
257 <property name="buddy" >
258 <cstring>showCO</cstring>
262 <item row="1" column="1" colspan="2" >
263 <widget class="QLabel" name="scaleLA" >
264 <property name="toolTip" >
265 <string>Percentage to scale by in LyX</string>
267 <property name="text" >
268 <string>Sca&le:</string>
270 <property name="buddy" >
271 <cstring>displayscaleED</cstring>
275 <item row="2" column="3" >
277 <property name="orientation" >
278 <enum>Qt::Horizontal</enum>
280 <property name="sizeHint" >
288 <item row="0" column="0" colspan="2" >
289 <widget class="QCheckBox" name="displayCB" >
290 <property name="toolTip" >
291 <string>Display image in LyX</string>
293 <property name="text" >
294 <string>&Show in LyX</string>
298 <item row="3" column="2" >
300 <property name="orientation" >
301 <enum>Qt::Vertical</enum>
303 <property name="sizeHint" >
313 <widget class="QWidget" name="rotatetab" >
314 <attribute name="title" >
315 <string>Rotate</string>
317 <layout class="QGridLayout" >
318 <property name="margin" >
321 <property name="spacing" >
324 <item row="1" column="0" >
326 <property name="orientation" >
327 <enum>Qt::Vertical</enum>
329 <property name="sizeHint" >
337 <item row="0" column="1" >
339 <property name="orientation" >
340 <enum>Qt::Horizontal</enum>
342 <property name="sizeType" >
343 <enum>QSizePolicy::Expanding</enum>
345 <property name="sizeHint" >
353 <item row="0" column="0" >
354 <layout class="QGridLayout" >
355 <property name="margin" >
358 <property name="spacing" >
361 <item row="0" column="1" >
362 <widget class="QLineEdit" name="angleED" >
363 <property name="sizePolicy" >
365 <hsizetype>3</hsizetype>
366 <vsizetype>0</vsizetype>
367 <horstretch>0</horstretch>
368 <verstretch>0</verstretch>
371 <property name="toolTip" >
372 <string>Angle to rotate image by</string>
374 <property name="text" >
379 <item row="1" column="0" >
380 <widget class="QLabel" name="originLA" >
381 <property name="toolTip" >
382 <string>The origin of the rotation</string>
384 <property name="text" >
385 <string>&Origin:</string>
387 <property name="buddy" >
388 <cstring>originCO</cstring>
392 <item row="1" column="1" >
393 <widget class="QComboBox" name="originCO" >
394 <property name="toolTip" >
395 <string>The origin of the rotation</string>
399 <item row="0" column="0" >
400 <widget class="QLabel" name="angleLA" >
401 <property name="toolTip" >
402 <string>Angle to rotate image by</string>
404 <property name="text" >
405 <string>A&ngle:</string>
407 <property name="buddy" >
408 <cstring>angleED</cstring>
416 <widget class="QWidget" name="scaletab" >
417 <attribute name="title" >
418 <string>Scale</string>
420 <layout class="QGridLayout" >
421 <property name="margin" >
424 <property name="spacing" >
427 <item row="1" column="2" >
428 <widget class="LengthCombo" name="heightUnitCO" />
430 <item row="0" column="2" >
431 <widget class="QComboBox" name="widthUnitCO" />
433 <item row="1" column="1" >
434 <widget class="QLineEdit" name="heightED" >
435 <property name="enabled" >
438 <property name="toolTip" >
439 <string>Height of image in output</string>
443 <item row="2" column="1" >
444 <widget class="QCheckBox" name="aspectratioCB" >
445 <property name="enabled" >
448 <property name="toolTip" >
449 <string>Maintain aspect ratio with largest dimension</string>
451 <property name="text" >
452 <string>&Maintain aspect ratio</string>
456 <item row="3" column="1" >
458 <property name="orientation" >
459 <enum>Qt::Vertical</enum>
461 <property name="sizeHint" >
469 <item row="0" column="0" >
470 <widget class="QLabel" name="widthLA" >
471 <property name="enabled" >
474 <property name="text" >
475 <string>&Width:</string>
477 <property name="buddy" >
478 <cstring>widthED</cstring>
482 <item row="0" column="1" >
483 <widget class="QLineEdit" name="widthED" >
484 <property name="enabled" >
487 <property name="toolTip" >
488 <string>Width of image in output</string>
492 <item row="1" column="0" >
493 <widget class="QLabel" name="heightLA" >
494 <property name="enabled" >
497 <property name="text" >
498 <string>&Height:</string>
500 <property name="buddy" >
501 <cstring>heightED</cstring>
507 <widget class="QWidget" name="croptab" >
508 <attribute name="title" >
509 <string>Crop</string>
511 <layout class="QGridLayout" >
512 <property name="margin" >
515 <property name="spacing" >
518 <item row="0" column="5" >
519 <widget class="QPushButton" name="getbbPB" >
520 <property name="toolTip" >
521 <string>Get bounding box from the (EPS) file</string>
523 <property name="text" >
524 <string>&Get from File</string>
528 <item row="0" column="3" colspan="2" >
530 <property name="orientation" >
531 <enum>Qt::Horizontal</enum>
533 <property name="sizeHint" >
541 <item row="0" column="0" colspan="3" >
542 <widget class="QCheckBox" name="clipCB" >
543 <property name="toolTip" >
544 <string>Clip to bounding box values</string>
546 <property name="text" >
547 <string>Clip to &bounding box</string>
551 <item row="2" column="4" colspan="2" >
552 <widget class="QLineEdit" name="ytED" />
554 <item row="3" column="1" colspan="3" >
555 <widget class="QLineEdit" name="xlED" >
556 <property name="toolTip" >
561 <item row="3" column="0" >
562 <widget class="QLabel" name="lbLA" >
563 <property name="text" >
564 <string>&Left bottom:</string>
566 <property name="buddy" >
567 <cstring>xlED</cstring>
571 <item row="3" column="4" colspan="2" >
572 <widget class="QLineEdit" name="ybED" />
574 <item row="2" column="0" >
575 <widget class="QLabel" name="rtLA" >
576 <property name="text" >
577 <string>Right &top:</string>
579 <property name="buddy" >
580 <cstring>xrED</cstring>
584 <item row="2" column="1" colspan="3" >
585 <widget class="QLineEdit" name="xrED" />
587 <item row="4" column="2" colspan="2" >
589 <property name="orientation" >
590 <enum>Qt::Vertical</enum>
592 <property name="sizeHint" >
600 <item row="1" column="1" >
601 <widget class="QLabel" name="xLA" >
602 <property name="text" >
607 <item row="1" column="4" colspan="2" >
608 <widget class="QLabel" name="yLA" >
609 <property name="text" >
616 <widget class="QWidget" name="optionstab" >
617 <attribute name="title" >
618 <string>Options</string>
620 <layout class="QGridLayout" >
621 <property name="margin" >
624 <property name="spacing" >
627 <item row="2" column="0" >
629 <property name="orientation" >
630 <enum>Qt::Vertical</enum>
632 <property name="sizeHint" >
640 <item row="1" column="1" >
641 <widget class="QLineEdit" name="extraED" />
643 <item row="0" column="1" >
644 <widget class="QLabel" name="optionLA" >
645 <property name="text" >
646 <string>O&ption:</string>
648 <property name="buddy" >
649 <cstring>extraED</cstring>
653 <item row="1" column="0" >
654 <widget class="QComboBox" name="extraFormatCO" />
656 <item row="0" column="0" >
657 <widget class="QLabel" name="formatLA" >
658 <property name="text" >
659 <string>Forma&t:</string>
661 <property name="textFormat" >
662 <enum>Qt::AutoText</enum>
664 <property name="buddy" >
665 <cstring>extraFormatCO</cstring>
673 <item row="1" column="1" >
674 <widget class="QPushButton" name="okPB" >
675 <property name="text" >
676 <string>&OK</string>
678 <property name="default" >
683 <item row="1" column="2" >
684 <widget class="QPushButton" name="applyPB" >
685 <property name="text" >
686 <string>&Apply</string>
688 <property name="default" >
693 <item row="1" column="3" >
694 <widget class="QPushButton" name="closePB" >
695 <property name="text" >
696 <string>&Close</string>
698 <property name="autoDefault" >
701 <property name="default" >
708 <pixmapfunction></pixmapfunction>
710 <include location="local" >qt_helpers.h</include>
714 <class>LengthCombo</class>
715 <extends>QWidget</extends>
716 <header>LengthCombo.h</header>
717 <container>0</container>
722 <tabstop>tab</tabstop>
723 <tabstop>fileED</tabstop>
724 <tabstop>browsePB</tabstop>
725 <tabstop>embedCB</tabstop>
726 <tabstop>editPB</tabstop>
727 <tabstop>externalCO</tabstop>
728 <tabstop>externalTB</tabstop>
729 <tabstop>draftCB</tabstop>
730 <tabstop>displayCB</tabstop>
731 <tabstop>showCO</tabstop>
732 <tabstop>displayscaleED</tabstop>
733 <tabstop>angleED</tabstop>
734 <tabstop>originCO</tabstop>
735 <tabstop>widthED</tabstop>
736 <tabstop>widthUnitCO</tabstop>
737 <tabstop>heightED</tabstop>
738 <tabstop>aspectratioCB</tabstop>
739 <tabstop>clipCB</tabstop>
740 <tabstop>getbbPB</tabstop>
741 <tabstop>xrED</tabstop>
742 <tabstop>ytED</tabstop>
743 <tabstop>xlED</tabstop>
744 <tabstop>ybED</tabstop>
745 <tabstop>extraFormatCO</tabstop>
746 <tabstop>extraED</tabstop>
747 <tabstop>okPB</tabstop>
748 <tabstop>applyPB</tabstop>
749 <tabstop>closePB</tabstop>