mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-29 15:26:05 +00:00
5707a39041
* ExternalUi.ui: - use LengthCombo for width unit. - use reliable item data, instead of doing manual recounts. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28164 a592a061-630c-0410-9148-cb99ea01b6c8
659 lines
20 KiB
XML
659 lines
20 KiB
XML
<ui version="4.0" >
|
|
<class>ExternalUi</class>
|
|
<widget class="QDialog" name="ExternalUi" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>386</width>
|
|
<height>453</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string/>
|
|
</property>
|
|
<property name="sizeGripEnabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="0" >
|
|
<widget class="QTabWidget" name="tab" >
|
|
<property name="toolTip" >
|
|
<string/>
|
|
</property>
|
|
<property name="currentIndex" >
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="filetab" >
|
|
<attribute name="title" >
|
|
<string>F&ile</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="1" >
|
|
<widget class="QLineEdit" name="fileED" >
|
|
<property name="toolTip" >
|
|
<string>Filename</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" >
|
|
<widget class="QLabel" name="fileLA" >
|
|
<property name="toolTip" >
|
|
<string>Filename</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&File:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>fileED</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2" >
|
|
<widget class="QPushButton" name="browsePB" >
|
|
<property name="toolTip" >
|
|
<string>Select a file</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Browse...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="3" >
|
|
<widget class="QCheckBox" name="draftCB" >
|
|
<property name="text" >
|
|
<string>&Draft</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="3" >
|
|
<widget class="QGroupBox" name="GroupBox3" >
|
|
<property name="title" >
|
|
<string>&Template</string>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="1" column="0" colspan="2" >
|
|
<widget class="QTextBrowser" name="externalTB" />
|
|
</item>
|
|
<item row="0" column="1" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Preferred</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="0" >
|
|
<widget class="QComboBox" name="externalCO" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>0</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Available templates</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="lyxviewtab" >
|
|
<attribute name="title" >
|
|
<string>LaTe&X and LyX options</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="optionsGB" >
|
|
<property name="title" >
|
|
<string>LaTeX Options</string>
|
|
</property>
|
|
<property name="flat" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="1" column="1" >
|
|
<widget class="QLineEdit" name="extraED" />
|
|
</item>
|
|
<item row="0" column="1" >
|
|
<widget class="QLabel" name="optionLA" >
|
|
<property name="text" >
|
|
<string>O&ption:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>extraED</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QComboBox" name="extraFormatCO" />
|
|
</item>
|
|
<item row="0" column="0" >
|
|
<widget class="QLabel" name="formatLA" >
|
|
<property name="text" >
|
|
<string>Forma&t:</string>
|
|
</property>
|
|
<property name="textFormat" >
|
|
<enum>Qt::AutoText</enum>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>extraFormatCO</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="displayGB" >
|
|
<property name="toolTip" >
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Enable LyX to preview this material; only if graphics previewing is not disabled at application level (see Preference dialog).</span></p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p></body></html></string>
|
|
</property>
|
|
<property name="title" >
|
|
<string>&Show in LyX</string>
|
|
</property>
|
|
<property name="flat" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checkable" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="0" >
|
|
<widget class="QLabel" name="scaleLA" >
|
|
<property name="toolTip" >
|
|
<string>Percentage to scale by in LyX</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Sca&le on Screen (%):</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>displayscaleED</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" >
|
|
<widget class="QLineEdit" name="displayscaleED" >
|
|
<property name="enabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>0</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Percentage to scale by in LyX</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>81</width>
|
|
<height>196</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="sizetab" >
|
|
<attribute name="title" >
|
|
<string>Si&ze and Rotation</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="1" column="0" >
|
|
<widget class="QGroupBox" name="rotationGB" >
|
|
<property name="title" >
|
|
<string>Rotate</string>
|
|
</property>
|
|
<property name="flat" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="1" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="0" >
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="1" >
|
|
<widget class="QLineEdit" name="angleED" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>0</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Angle to rotate image by</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QLabel" name="originLA" >
|
|
<property name="toolTip" >
|
|
<string>The origin of the rotation</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Ori&gin:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>originCO</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QComboBox" name="originCO" >
|
|
<property name="toolTip" >
|
|
<string>The origin of the rotation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" >
|
|
<widget class="QLabel" name="angleLA" >
|
|
<property name="toolTip" >
|
|
<string>Angle to rotate image by</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>A&ngle:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>angleED</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" >
|
|
<widget class="QGroupBox" name="scaleGB" >
|
|
<property name="title" >
|
|
<string>Scale</string>
|
|
</property>
|
|
<property name="flat" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="1" column="2" >
|
|
<widget class="LengthCombo" name="heightUnitCO" />
|
|
</item>
|
|
<item row="0" column="2" >
|
|
<widget class="LengthCombo" name="widthUnitCO" />
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QLineEdit" name="heightED" >
|
|
<property name="enabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Height of image in output</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" >
|
|
<widget class="QLineEdit" name="widthED" >
|
|
<property name="enabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Width of image in output</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" >
|
|
<widget class="QLabel" name="widthLA" >
|
|
<property name="enabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Width:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>widthED</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" colspan="2" >
|
|
<widget class="QCheckBox" name="aspectratioCB" >
|
|
<property name="enabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Maintain aspect ratio with largest dimension</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Maintain aspect ratio</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QLabel" name="heightLA" >
|
|
<property name="enabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Height:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>heightED</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<widget class="QGroupBox" name="cropGB" >
|
|
<property name="title" >
|
|
<string>Crop</string>
|
|
</property>
|
|
<property name="flat" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="0" colspan="2" >
|
|
<widget class="QCheckBox" name="clipCB" >
|
|
<property name="toolTip" >
|
|
<string>Clip to bounding box values</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Clip to &bounding box</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" >
|
|
<widget class="QLabel" name="lbLA" >
|
|
<property name="text" >
|
|
<string>&Left bottom:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>xlED</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="3" >
|
|
<widget class="QLineEdit" name="ytED" />
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QLabel" name="xLA" >
|
|
<property name="text" >
|
|
<string>x</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<widget class="QLabel" name="rtLA" >
|
|
<property name="text" >
|
|
<string>Right &top:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>xrED</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3" >
|
|
<widget class="QPushButton" name="getbbPB" >
|
|
<property name="toolTip" >
|
|
<string>Get bounding box from the (EPS) file</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Get from File</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1" colspan="2" >
|
|
<widget class="QLineEdit" name="xlED" >
|
|
<property name="toolTip" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>43</width>
|
|
<height>18</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="3" column="3" >
|
|
<widget class="QLineEdit" name="ybED" />
|
|
</item>
|
|
<item row="1" column="3" >
|
|
<widget class="QLabel" name="yLA" >
|
|
<property name="text" >
|
|
<string>y</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" colspan="2" >
|
|
<widget class="QLineEdit" name="xrED" />
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<layout class="QHBoxLayout" >
|
|
<property name="margin" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="okPB" >
|
|
<property name="text" >
|
|
<string>&OK</string>
|
|
</property>
|
|
<property name="default" >
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="applyPB" >
|
|
<property name="text" >
|
|
<string>&Apply</string>
|
|
</property>
|
|
<property name="default" >
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="closePB" >
|
|
<property name="text" >
|
|
<string>&Close</string>
|
|
</property>
|
|
<property name="autoDefault" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="default" >
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>LengthCombo</class>
|
|
<extends>QComboBox</extends>
|
|
<header>LengthCombo.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>tab</tabstop>
|
|
<tabstop>fileED</tabstop>
|
|
<tabstop>browsePB</tabstop>
|
|
<tabstop>externalCO</tabstop>
|
|
<tabstop>externalTB</tabstop>
|
|
<tabstop>draftCB</tabstop>
|
|
<tabstop>angleED</tabstop>
|
|
<tabstop>originCO</tabstop>
|
|
<tabstop>okPB</tabstop>
|
|
<tabstop>applyPB</tabstop>
|
|
<tabstop>closePB</tabstop>
|
|
</tabstops>
|
|
<includes>
|
|
<include location="local" >qt_i18n.h</include>
|
|
</includes>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|