1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>GraphicsUi</class>
4 <widget class="QDialog" name="GraphicsUi">
5 <property name="geometry">
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
19 <property name="windowTitle">
22 <property name="sizeGripEnabled">
25 <layout class="QGridLayout">
26 <property name="leftMargin">
29 <property name="topMargin">
32 <property name="rightMargin">
35 <property name="bottomMargin">
38 <property name="spacing">
41 <item row="0" column="0">
42 <widget class="QTabWidget" name="tabWidget">
43 <property name="toolTip">
46 <property name="currentIndex">
49 <widget class="QWidget" name="Graphics">
50 <attribute name="title">
51 <string>&Graphics</string>
53 <layout class="QGridLayout">
54 <property name="leftMargin">
57 <property name="topMargin">
60 <property name="rightMargin">
63 <property name="bottomMargin">
66 <property name="spacing">
69 <item row="0" column="2">
70 <widget class="QPushButton" name="browsePB">
71 <property name="toolTip">
72 <string>Select an image file</string>
74 <property name="text">
75 <string>&Browse...</string>
79 <item row="1" column="0" colspan="5">
80 <widget class="QGroupBox" name="sizeGB">
81 <property name="title">
82 <string>Output Size</string>
84 <property name="flat">
87 <layout class="QGridLayout">
88 <property name="leftMargin">
91 <property name="topMargin">
94 <property name="rightMargin">
97 <property name="bottomMargin">
100 <property name="spacing">
103 <item row="1" column="2">
104 <widget class="lyx::frontend::LengthCombo" name="widthUnit"/>
106 <item row="2" column="2">
107 <widget class="lyx::frontend::LengthCombo" name="heightUnit"/>
109 <item row="1" column="1">
110 <widget class="QLineEdit" name="Width">
111 <property name="enabled">
114 <property name="sizePolicy">
115 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
116 <horstretch>0</horstretch>
117 <verstretch>0</verstretch>
120 <property name="toolTip">
121 <string>Width of image in output</string>
125 <item row="0" column="2">
127 <property name="orientation">
128 <enum>Qt::Horizontal</enum>
130 <property name="sizeHint" stdset="0">
138 <item row="0" column="1">
139 <widget class="QLineEdit" name="Scale"/>
141 <item row="2" column="1">
142 <widget class="QLineEdit" name="Height">
143 <property name="enabled">
146 <property name="sizePolicy">
147 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
148 <horstretch>0</horstretch>
149 <verstretch>0</verstretch>
152 <property name="toolTip">
153 <string>Height of image in output</string>
157 <item row="2" column="0">
158 <widget class="QCheckBox" name="HeightCB">
159 <property name="enabled">
162 <property name="toolTip">
163 <string>Sets height of graphic. Leave unchecked to set automatically.</string>
165 <property name="text">
166 <string>Set &height:</string>
170 <item row="0" column="0">
171 <widget class="QCheckBox" name="scaleCB">
172 <property name="text">
173 <string>&Scale graphics (%):</string>
177 <item row="1" column="0">
178 <widget class="QCheckBox" name="WidthCB">
179 <property name="enabled">
182 <property name="toolTip">
183 <string>Sets width of graphic. Leave unchecked to set automatically.</string>
185 <property name="text">
186 <string>Set &width:</string>
190 <item row="3" column="1" colspan="2">
191 <widget class="QCheckBox" name="aspectratio">
192 <property name="enabled">
195 <property name="toolTip">
196 <string>Scale image to maximum size not exceeding width and height</string>
198 <property name="text">
199 <string>&Maintain aspect ratio</string>
206 <item row="2" column="0" colspan="5">
207 <widget class="QGroupBox" name="rotationGB">
208 <property name="title">
209 <string>Rotate Graphics</string>
211 <property name="flat">
214 <layout class="QGridLayout">
215 <property name="leftMargin">
218 <property name="topMargin">
221 <property name="rightMargin">
224 <property name="bottomMargin">
227 <property name="spacing">
230 <item row="1" column="0" colspan="2">
231 <widget class="QCheckBox" name="rotateOrderCB">
232 <property name="toolTip">
233 <string>Check to change the order of rotating and scaling</string>
235 <property name="text">
236 <string>Ro&tate after scaling</string>
240 <item row="0" column="3">
241 <widget class="QComboBox" name="origin">
242 <property name="toolTip">
243 <string>The origin of the rotation</string>
247 <item row="0" column="2">
248 <widget class="QLabel" name="originL">
249 <property name="toolTip">
250 <string>The origin of the rotation</string>
252 <property name="text">
253 <string>Or&igin:</string>
255 <property name="buddy">
256 <cstring>origin</cstring>
260 <item row="0" column="1">
261 <widget class="QLineEdit" name="angle">
262 <property name="sizePolicy">
263 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
264 <horstretch>0</horstretch>
265 <verstretch>0</verstretch>
268 <property name="toolTip">
269 <string>Angle to rotate image by</string>
273 <item row="0" column="0">
274 <widget class="QLabel" name="angleL">
275 <property name="toolTip">
276 <string>Angle to rotate image by</string>
278 <property name="text">
279 <string>A&ngle (degrees):</string>
281 <property name="buddy">
282 <cstring>angle</cstring>
289 <item row="0" column="0">
290 <widget class="QLabel" name="filenameL">
291 <property name="toolTip">
292 <string>File name of image</string>
294 <property name="text">
295 <string>&File:</string>
297 <property name="buddy">
298 <cstring>filename</cstring>
302 <item row="0" column="1">
303 <widget class="QLineEdit" name="filename">
304 <property name="toolTip">
305 <string>File name of image</string>
311 <widget class="QWidget" name="Clipping">
312 <attribute name="title">
313 <string>&Coordinates and Clipping</string>
315 <layout class="QGridLayout">
316 <property name="leftMargin">
319 <property name="topMargin">
322 <property name="rightMargin">
325 <property name="bottomMargin">
328 <property name="spacing">
331 <item row="3" column="0" colspan="2">
333 <property name="orientation">
334 <enum>Qt::Vertical</enum>
336 <property name="sizeHint" stdset="0">
344 <item row="0" column="0" colspan="2">
345 <widget class="QCheckBox" name="clip">
346 <property name="toolTip">
347 <string>Clip to the coordinates specified below (bounding box for DVI/PS output, viewport for PDF output)</string>
349 <property name="text">
350 <string>Clip to c&oordinates</string>
354 <item row="1" column="0" colspan="2">
355 <widget class="QFrame" name="bbFrame">
356 <property name="enabled">
359 <property name="sizePolicy">
360 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
361 <horstretch>0</horstretch>
362 <verstretch>0</verstretch>
365 <property name="frameShape">
366 <enum>QFrame::StyledPanel</enum>
368 <property name="frameShadow">
369 <enum>QFrame::Plain</enum>
371 <layout class="QGridLayout">
372 <property name="leftMargin">
375 <property name="topMargin">
378 <property name="rightMargin">
381 <property name="bottomMargin">
384 <property name="spacing">
387 <item row="0" column="0" colspan="6">
388 <widget class="QLabel" name="lbL">
389 <property name="text">
390 <string>Left botto&m:</string>
392 <property name="buddy">
393 <cstring>lbX</cstring>
397 <item row="3" column="1">
398 <widget class="QLineEdit" name="rtX"/>
400 <item row="3" column="4">
401 <widget class="QLineEdit" name="rtY"/>
403 <item row="1" column="4">
404 <widget class="QLineEdit" name="lbY"/>
406 <item row="1" column="1">
407 <widget class="QLineEdit" name="lbX">
408 <property name="toolTip">
413 <item row="1" column="2">
414 <widget class="QComboBox" name="lbXunit"/>
416 <item row="3" column="2">
417 <widget class="QComboBox" name="rtXunit"/>
419 <item row="3" column="5">
420 <widget class="QComboBox" name="rtYunit"/>
422 <item row="1" column="5">
423 <widget class="QComboBox" name="lbYunit"/>
425 <item row="2" column="0" colspan="6">
426 <widget class="QLabel" name="rtL">
427 <property name="text">
428 <string>Right &top:</string>
430 <property name="buddy">
431 <cstring>rtX</cstring>
435 <item row="3" column="3">
436 <widget class="QLabel" name="yL_2">
437 <property name="text">
442 <item row="1" column="3">
443 <widget class="QLabel" name="yL">
444 <property name="text">
449 <item row="3" column="0">
450 <widget class="QLabel" name="xL_2">
451 <property name="text">
456 <item row="1" column="0">
457 <widget class="QLabel" name="xL">
458 <property name="text">
466 <item row="2" column="0">
468 <property name="orientation">
469 <enum>Qt::Horizontal</enum>
471 <property name="sizeHint" stdset="0">
479 <item row="2" column="1">
480 <widget class="QPushButton" name="getPB">
481 <property name="toolTip">
482 <string>Read coordinates from the file (bounding box value in case of PostScript files, graphic dimensions in case of other file types)</string>
484 <property name="text">
485 <string>&Get from File</string>
491 <widget class="QWidget" name="ExtraOptions">
492 <attribute name="title">
493 <string>LaTe&X and LyX options</string>
495 <layout class="QGridLayout">
496 <property name="leftMargin">
499 <property name="topMargin">
502 <property name="rightMargin">
505 <property name="bottomMargin">
508 <property name="spacing">
511 <item row="3" column="0" colspan="3">
512 <widget class="QGroupBox" name="displayGB">
513 <property name="focusPolicy">
514 <enum>Qt::StrongFocus</enum>
516 <property name="toolTip">
517 <string>Enable LyX to preview this graphics, if graphics previewing is not disabled at application level (see Preferences dialog).</string>
519 <property name="title">
520 <string>Sho&w in LyX</string>
522 <property name="flat">
525 <property name="checkable">
528 <layout class="QGridLayout">
529 <property name="leftMargin">
532 <property name="topMargin">
535 <property name="rightMargin">
538 <property name="bottomMargin">
541 <property name="spacing">
544 <item row="0" column="1">
545 <widget class="QLineEdit" name="displayscale">
546 <property name="enabled">
549 <property name="sizePolicy">
550 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
551 <horstretch>0</horstretch>
552 <verstretch>0</verstretch>
555 <property name="toolTip">
556 <string>Percentage to scale by in LyX (1 to 1000)</string>
560 <item row="0" column="0">
561 <widget class="QLabel" name="scaleLA">
562 <property name="toolTip">
563 <string>Percentage to scale by in LyX (1 to 1000)</string>
565 <property name="text">
566 <string>Sca&le on screen (%):</string>
568 <property name="buddy">
569 <cstring>displayscale</cstring>
573 <item row="0" column="2">
575 <property name="orientation">
576 <enum>Qt::Horizontal</enum>
578 <property name="sizeHint" stdset="0">
586 <item row="1" column="0">
587 <widget class="QCheckBox" name="darkModeCB">
588 <property name="toolTip">
589 <string>If LyX uses a dark theme, revert the colors of this graphics in the workarea</string>
591 <property name="text">
592 <string>Re&vert colors in dark mode</string>
599 <item row="5" column="0" colspan="3">
601 <property name="orientation">
602 <enum>Qt::Vertical</enum>
604 <property name="sizeHint" stdset="0">
612 <item row="0" column="0">
613 <widget class="QLabel" name="latexoptionsLA">
614 <property name="toolTip">
615 <string>Additional LaTeX options</string>
617 <property name="text">
618 <string>LaTeX &options:</string>
620 <property name="buddy">
621 <cstring>latexoptions</cstring>
625 <item row="0" column="1">
626 <widget class="QLineEdit" name="latexoptions">
627 <property name="sizePolicy">
628 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
629 <horstretch>0</horstretch>
630 <verstretch>0</verstretch>
633 <property name="toolTip">
634 <string>Additional LaTeX options</string>
638 <item row="4" column="0" colspan="3">
639 <widget class="QGroupBox" name="graphicsGroupGB">
640 <property name="toolTip">
641 <string>Assign the graphic to a group of graphics that share the same settings</string>
643 <property name="title">
644 <string>Graphics Group</string>
646 <property name="flat">
649 <layout class="QGridLayout">
650 <property name="leftMargin">
653 <property name="topMargin">
656 <property name="rightMargin">
659 <property name="bottomMargin">
662 <property name="spacing">
665 <item row="0" column="0">
666 <widget class="QLabel" name="label">
667 <property name="sizePolicy">
668 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
669 <horstretch>0</horstretch>
670 <verstretch>0</verstretch>
673 <property name="toolTip">
676 <property name="text">
677 <string>Assigned &to group:</string>
679 <property name="buddy">
680 <cstring>groupCO</cstring>
684 <item row="0" column="2" rowspan="2">
686 <property name="orientation">
687 <enum>Qt::Horizontal</enum>
689 <property name="sizeHint" stdset="0">
697 <item row="1" column="1">
698 <widget class="QPushButton" name="newGroupPB">
699 <property name="toolTip">
700 <string>Click to define a new graphics group.</string>
702 <property name="text">
703 <string>O&pen new group...</string>
707 <item row="0" column="1">
708 <widget class="QComboBox" name="groupCO">
709 <property name="toolTip">
710 <string>Select an existing group for the current graphics.</string>
712 <property name="editable">
720 <item row="1" column="0" colspan="3">
721 <widget class="QCheckBox" name="draftCB">
722 <property name="toolTip">
723 <string>Draft mode</string>
725 <property name="text">
726 <string>&Draft mode</string>
734 <item row="1" column="0">
735 <layout class="QHBoxLayout">
736 <property name="spacing">
739 <property name="leftMargin">
742 <property name="topMargin">
745 <property name="rightMargin">
748 <property name="bottomMargin">
752 <widget class="QDialogButtonBox" name="buttonBox">
753 <property name="standardButtons">
754 <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
764 <class>lyx::frontend::LengthCombo</class>
765 <extends>QComboBox</extends>
766 <header>LengthCombo.h</header>
770 <tabstop>tabWidget</tabstop>
771 <tabstop>filename</tabstop>
772 <tabstop>browsePB</tabstop>
773 <tabstop>scaleCB</tabstop>
774 <tabstop>Scale</tabstop>
775 <tabstop>WidthCB</tabstop>
776 <tabstop>Width</tabstop>
777 <tabstop>widthUnit</tabstop>
778 <tabstop>HeightCB</tabstop>
779 <tabstop>Height</tabstop>
780 <tabstop>heightUnit</tabstop>
781 <tabstop>aspectratio</tabstop>
782 <tabstop>angle</tabstop>
783 <tabstop>origin</tabstop>
784 <tabstop>rotateOrderCB</tabstop>
785 <tabstop>clip</tabstop>
786 <tabstop>lbX</tabstop>
787 <tabstop>lbXunit</tabstop>
788 <tabstop>lbY</tabstop>
789 <tabstop>lbYunit</tabstop>
790 <tabstop>rtX</tabstop>
791 <tabstop>rtXunit</tabstop>
792 <tabstop>rtY</tabstop>
793 <tabstop>rtYunit</tabstop>
794 <tabstop>getPB</tabstop>
795 <tabstop>latexoptions</tabstop>
796 <tabstop>draftCB</tabstop>
797 <tabstop>displayGB</tabstop>
800 <include location="local">qt_i18n.h</include>