2 <class>ExternalUi</class>
3 <widget class="QDialog" name="ExternalUi" >
4 <property name="geometry" >
12 <property name="windowTitle" >
15 <property name="sizeGripEnabled" >
18 <layout class="QGridLayout" >
19 <property name="margin" >
22 <property name="spacing" >
25 <item row="1" column="0" >
27 <property name="orientation" >
28 <enum>Qt::Horizontal</enum>
30 <property name="sizeType" >
31 <enum>QSizePolicy::Expanding</enum>
33 <property name="sizeHint" >
41 <item row="0" column="0" colspan="4" >
42 <widget class="QTabWidget" name="tab" >
43 <property name="currentIndex" >
46 <widget class="QWidget" name="filetab" >
47 <attribute name="title" >
50 <layout class="QGridLayout" >
51 <property name="margin" >
54 <property name="spacing" >
57 <item row="3" column="0" colspan="3" >
58 <widget class="QCheckBox" name="draftCB" >
59 <property name="text" >
60 <string>&Draft</string>
64 <item row="1" column="2" >
65 <widget class="QPushButton" name="editPB" >
66 <property name="toolTip" >
67 <string>Edit the file externally</string>
69 <property name="text" >
70 <string>&Edit File...</string>
74 <item row="0" column="2" >
75 <widget class="QPushButton" name="browsePB" >
76 <property name="toolTip" >
77 <string>Select a file</string>
79 <property name="text" >
80 <string>&Browse...</string>
84 <item row="0" column="0" >
85 <widget class="QLabel" name="fileLA" >
86 <property name="toolTip" >
87 <string>Filename</string>
89 <property name="text" >
90 <string>&File:</string>
92 <property name="buddy" >
93 <cstring>fileED</cstring>
97 <item row="0" column="1" >
98 <widget class="QLineEdit" name="fileED" >
99 <property name="toolTip" >
100 <string>Filename</string>
104 <item row="2" column="0" colspan="3" >
105 <widget class="QGroupBox" name="GroupBox3" >
106 <property name="title" >
107 <string>Template</string>
109 <layout class="QGridLayout" >
110 <property name="margin" >
113 <property name="spacing" >
116 <item row="1" column="0" colspan="2" >
117 <widget class="QTextBrowser" name="externalTB" />
119 <item row="0" column="1" >
121 <property name="orientation" >
122 <enum>Qt::Horizontal</enum>
124 <property name="sizeType" >
125 <enum>QSizePolicy::Preferred</enum>
127 <property name="sizeHint" >
135 <item row="0" column="0" >
136 <widget class="QComboBox" name="externalCO" >
137 <property name="sizePolicy" >
139 <hsizetype>3</hsizetype>
140 <vsizetype>0</vsizetype>
141 <horstretch>0</horstretch>
142 <verstretch>0</verstretch>
145 <property name="toolTip" >
146 <string>Available templates</string>
155 <widget class="QWidget" name="lyxviewtab" >
156 <attribute name="title" >
157 <string>LyX View</string>
159 <layout class="QGridLayout" >
160 <property name="margin" >
163 <property name="spacing" >
166 <item row="2" column="0" >
167 <widget class="QComboBox" name="showCO" >
168 <property name="toolTip" >
169 <string>Screen display</string>
172 <property name="text" >
173 <string>Default</string>
177 <property name="text" >
178 <string>Monochrome</string>
182 <property name="text" >
183 <string>Grayscale</string>
187 <property name="text" >
188 <string>Color</string>
192 <property name="text" >
193 <string>Preview</string>
198 <item row="2" column="1" colspan="2" >
199 <layout class="QHBoxLayout" >
200 <property name="margin" >
203 <property name="spacing" >
207 <widget class="QLineEdit" name="displayscaleED" >
208 <property name="enabled" >
211 <property name="sizePolicy" >
213 <hsizetype>5</hsizetype>
214 <vsizetype>0</vsizetype>
215 <horstretch>0</horstretch>
216 <verstretch>0</verstretch>
219 <property name="toolTip" >
220 <string>Percentage to scale by in LyX</string>
225 <widget class="QLabel" name="displayscaleLA" >
226 <property name="enabled" >
229 <property name="focusPolicy" >
230 <enum>Qt::NoFocus</enum>
232 <property name="text" >
239 <item row="1" column="0" >
240 <widget class="QLabel" name="showLA" >
241 <property name="toolTip" >
242 <string>Screen display</string>
244 <property name="text" >
245 <string>&Display:</string>
247 <property name="buddy" >
248 <cstring>showCO</cstring>
252 <item row="1" column="1" colspan="2" >
253 <widget class="QLabel" name="scaleLA" >
254 <property name="toolTip" >
255 <string>Percentage to scale by in LyX</string>
257 <property name="text" >
258 <string>Sca&le:</string>
260 <property name="buddy" >
261 <cstring>displayscaleED</cstring>
265 <item row="2" column="3" >
267 <property name="orientation" >
268 <enum>Qt::Horizontal</enum>
270 <property name="sizeHint" >
278 <item row="0" column="0" colspan="2" >
279 <widget class="QCheckBox" name="displayCB" >
280 <property name="toolTip" >
281 <string>Display image in LyX</string>
283 <property name="text" >
284 <string>&Show in LyX</string>
288 <item row="3" column="2" >
290 <property name="orientation" >
291 <enum>Qt::Vertical</enum>
293 <property name="sizeHint" >
303 <widget class="QWidget" name="rotatetab" >
304 <attribute name="title" >
305 <string>Rotate</string>
307 <layout class="QGridLayout" >
308 <property name="margin" >
311 <property name="spacing" >
314 <item row="1" column="0" >
316 <property name="orientation" >
317 <enum>Qt::Vertical</enum>
319 <property name="sizeHint" >
327 <item row="0" column="1" >
329 <property name="orientation" >
330 <enum>Qt::Horizontal</enum>
332 <property name="sizeType" >
333 <enum>QSizePolicy::Expanding</enum>
335 <property name="sizeHint" >
343 <item row="0" column="0" >
344 <layout class="QGridLayout" >
345 <property name="margin" >
348 <property name="spacing" >
351 <item row="0" column="1" >
352 <widget class="QLineEdit" name="angleED" >
353 <property name="sizePolicy" >
355 <hsizetype>3</hsizetype>
356 <vsizetype>0</vsizetype>
357 <horstretch>0</horstretch>
358 <verstretch>0</verstretch>
361 <property name="toolTip" >
362 <string>Angle to rotate image by</string>
364 <property name="text" >
369 <item row="1" column="0" >
370 <widget class="QLabel" name="originLA" >
371 <property name="toolTip" >
372 <string>The origin of the rotation</string>
374 <property name="text" >
375 <string>&Origin:</string>
377 <property name="buddy" >
378 <cstring>originCO</cstring>
382 <item row="1" column="1" >
383 <widget class="QComboBox" name="originCO" >
384 <property name="toolTip" >
385 <string>The origin of the rotation</string>
389 <item row="0" column="0" >
390 <widget class="QLabel" name="angleLA" >
391 <property name="toolTip" >
392 <string>Angle to rotate image by</string>
394 <property name="text" >
395 <string>A&ngle:</string>
397 <property name="buddy" >
398 <cstring>angleED</cstring>
406 <widget class="QWidget" name="scaletab" >
407 <attribute name="title" >
408 <string>Scale</string>
410 <layout class="QGridLayout" >
411 <property name="margin" >
414 <property name="spacing" >
417 <item row="1" column="2" >
418 <widget class="LengthCombo" native="1" name="heightUnitCO" />
420 <item row="0" column="2" >
421 <widget class="QComboBox" name="widthUnitCO" />
423 <item row="1" column="1" >
424 <widget class="QLineEdit" name="heightED" >
425 <property name="enabled" >
428 <property name="toolTip" >
429 <string>Height of image in output</string>
433 <item row="2" column="1" >
434 <widget class="QCheckBox" name="aspectratioCB" >
435 <property name="enabled" >
438 <property name="toolTip" >
439 <string>Maintain aspect ratio with largest dimension</string>
441 <property name="text" >
442 <string>&Maintain aspect ratio</string>
446 <item row="3" column="1" >
448 <property name="orientation" >
449 <enum>Qt::Vertical</enum>
451 <property name="sizeHint" >
459 <item row="0" column="0" >
460 <widget class="QLabel" name="widthLA" >
461 <property name="enabled" >
464 <property name="text" >
465 <string>&Width:</string>
467 <property name="buddy" >
468 <cstring>widthED</cstring>
472 <item row="0" column="1" >
473 <widget class="QLineEdit" name="widthED" >
474 <property name="enabled" >
477 <property name="toolTip" >
478 <string>Width of image in output</string>
482 <item row="1" column="0" >
483 <widget class="QLabel" name="heightLA" >
484 <property name="enabled" >
487 <property name="text" >
488 <string>&Height:</string>
490 <property name="buddy" >
491 <cstring>heightED</cstring>
497 <widget class="QWidget" name="croptab" >
498 <attribute name="title" >
499 <string>Crop</string>
501 <layout class="QGridLayout" >
502 <property name="margin" >
505 <property name="spacing" >
508 <item row="0" column="5" >
509 <widget class="QPushButton" name="getbbPB" >
510 <property name="toolTip" >
511 <string>Get bounding box from the (EPS) file</string>
513 <property name="text" >
514 <string>&Get from File</string>
518 <item row="0" column="3" colspan="2" >
520 <property name="orientation" >
521 <enum>Qt::Horizontal</enum>
523 <property name="sizeHint" >
531 <item row="0" column="0" colspan="3" >
532 <widget class="QCheckBox" name="clipCB" >
533 <property name="toolTip" >
534 <string>Clip to bounding box values</string>
536 <property name="text" >
537 <string>Clip to &bounding box</string>
541 <item row="2" column="4" colspan="2" >
542 <widget class="QLineEdit" name="ytED" />
544 <item row="3" column="1" colspan="3" >
545 <widget class="QLineEdit" name="xlED" >
546 <property name="toolTip" >
551 <item row="3" column="0" >
552 <widget class="QLabel" name="lbLA" >
553 <property name="text" >
554 <string>&Left bottom:</string>
556 <property name="buddy" >
557 <cstring>xlED</cstring>
561 <item row="3" column="4" colspan="2" >
562 <widget class="QLineEdit" name="ybED" />
564 <item row="2" column="0" >
565 <widget class="QLabel" name="rtLA" >
566 <property name="text" >
567 <string>Right &top:</string>
569 <property name="buddy" >
570 <cstring>xrED</cstring>
574 <item row="2" column="1" colspan="3" >
575 <widget class="QLineEdit" name="xrED" />
577 <item row="4" column="2" colspan="2" >
579 <property name="orientation" >
580 <enum>Qt::Vertical</enum>
582 <property name="sizeHint" >
590 <item row="1" column="1" >
591 <widget class="QLabel" name="xLA" >
592 <property name="text" >
597 <item row="1" column="4" colspan="2" >
598 <widget class="QLabel" name="yLA" >
599 <property name="text" >
606 <widget class="QWidget" name="optionstab" >
607 <attribute name="title" >
608 <string>Options</string>
610 <layout class="QGridLayout" >
611 <property name="margin" >
614 <property name="spacing" >
617 <item row="2" column="0" >
619 <property name="orientation" >
620 <enum>Qt::Vertical</enum>
622 <property name="sizeHint" >
630 <item row="1" column="1" >
631 <widget class="QLineEdit" name="extraED" />
633 <item row="0" column="1" >
634 <widget class="QLabel" name="optionLA" >
635 <property name="text" >
636 <string>O&ption:</string>
638 <property name="buddy" >
639 <cstring>extraED</cstring>
643 <item row="1" column="0" >
644 <widget class="QComboBox" name="extraFormatCO" />
646 <item row="0" column="0" >
647 <widget class="QLabel" name="formatLA" >
648 <property name="text" >
649 <string>Forma&t:</string>
651 <property name="textFormat" >
652 <enum>Qt::AutoText</enum>
654 <property name="buddy" >
655 <cstring>extraFormatCO</cstring>
663 <item row="1" column="1" >
664 <widget class="QPushButton" name="okPB" >
665 <property name="text" >
666 <string>&OK</string>
668 <property name="default" >
673 <item row="1" column="2" >
674 <widget class="QPushButton" name="applyPB" >
675 <property name="text" >
676 <string>&Apply</string>
678 <property name="default" >
683 <item row="1" column="3" >
684 <widget class="QPushButton" name="closePB" >
685 <property name="text" >
686 <string>&Close</string>
688 <property name="autoDefault" >
691 <property name="default" >
700 <class>LengthCombo</class>
701 <extends>QWidget</extends>
702 <header>LengthCombo.h</header>
706 <tabstop>tab</tabstop>
707 <tabstop>fileED</tabstop>
708 <tabstop>browsePB</tabstop>
709 <tabstop>editPB</tabstop>
710 <tabstop>externalCO</tabstop>
711 <tabstop>externalTB</tabstop>
712 <tabstop>draftCB</tabstop>
713 <tabstop>displayCB</tabstop>
714 <tabstop>showCO</tabstop>
715 <tabstop>displayscaleED</tabstop>
716 <tabstop>angleED</tabstop>
717 <tabstop>originCO</tabstop>
718 <tabstop>widthED</tabstop>
719 <tabstop>widthUnitCO</tabstop>
720 <tabstop>heightED</tabstop>
721 <tabstop>aspectratioCB</tabstop>
722 <tabstop>clipCB</tabstop>
723 <tabstop>getbbPB</tabstop>
724 <tabstop>xrED</tabstop>
725 <tabstop>ytED</tabstop>
726 <tabstop>xlED</tabstop>
727 <tabstop>ybED</tabstop>
728 <tabstop>extraFormatCO</tabstop>
729 <tabstop>extraED</tabstop>
730 <tabstop>okPB</tabstop>
731 <tabstop>applyPB</tabstop>
732 <tabstop>closePB</tabstop>
735 <include location="local" >qt_helpers.h</include>