connect(editPB, SIGNAL(clicked()),
this, SLOT(edit_clicked()));
- connect( subfigure, SIGNAL( toggled(bool) ), subcaption, SLOT( setEnabled(bool) ) );
- connect( browsePB, SIGNAL( clicked() ), this, SLOT( browse_clicked() ) );
- connect( filename, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
- connect( subcaption, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
- connect( subfigure, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
- connect( latexoptions, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
- connect( clip, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
- connect( lbX, SIGNAL( textChanged(const QString&) ), this, SLOT( change_bb() ) );
- connect( showCB, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) );
- connect( displayscale, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
- connect( Width, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
- connect( widthUnit, SIGNAL( activated(int) ), this, SLOT( change_WUnit() ) );
- connect( aspectratio, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
- connect( displayCB, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
- connect( draftCB, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
- connect( unzipCB, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
- connect( displayCB, SIGNAL( toggled(bool) ), showCB, SLOT( setEnabled(bool) ) );
- connect( displayCB, SIGNAL( toggled(bool) ), displayscale, SLOT( setEnabled(bool) ) );
- connect( Height, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
- connect( heightUnit, SIGNAL( selectionChanged(LyXLength::UNIT) ), this, SLOT( change_adaptor() ) );
- connect( angle, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
- connect( origin, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) );
- connect( getPB, SIGNAL( clicked() ), this, SLOT( getBB_clicked() ) );
- connect( getPB, SIGNAL( clicked() ), this, SLOT( change_adaptor() ) );
- connect( lbY, SIGNAL( textChanged(const QString&) ), this, SLOT( change_bb() ) );
- connect( rtX, SIGNAL( textChanged(const QString&) ), this, SLOT( change_bb() ) );
- connect( rtY, SIGNAL( textChanged(const QString&) ), this, SLOT( change_bb() ) );
- connect( lbXunit, SIGNAL( activated(int) ), this, SLOT( change_bb() ) );
- connect( lbYunit, SIGNAL( activated(int) ), this, SLOT( change_bb() ) );
- connect( rtXunit, SIGNAL( activated(int) ), this, SLOT( change_bb() ) );
- connect( rtYunit, SIGNAL( activated(int) ), this, SLOT( change_bb() ) );
+ connect( subfigure, SIGNAL( toggled(bool) ), subcaption, SLOT( setEnabled(bool) ) );
+ connect( browsePB, SIGNAL( clicked() ), this, SLOT( browse_clicked() ) );
+ connect( filename, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
+ connect( filename, SIGNAL( textChanged(const QString&) ), this, SLOT( filenameChanged(const QString&) ) );
+ connect( subcaption, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
+ connect( subfigure, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
+ connect( latexoptions, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
+ connect( clip, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
+ connect( lbX, SIGNAL( textChanged(const QString&) ), this, SLOT( change_bb() ) );
+ connect( showCB, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) );
+ connect( displayscale, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
+ connect( Width, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
+ connect( widthUnit, SIGNAL( activated(int) ), this, SLOT( change_WUnit() ) );
+ connect( aspectratio, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
+ connect( displayCB, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
+ connect( draftCB, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
+ connect( unzipCB, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
+ connect( displayCB, SIGNAL( toggled(bool) ), showCB, SLOT( setEnabled(bool) ) );
+ connect( displayCB, SIGNAL( toggled(bool) ), displayscale, SLOT( setEnabled(bool) ) );
+ connect( Height, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
+ connect( heightUnit, SIGNAL( selectionChanged(LyXLength::UNIT) ), this, SLOT( change_adaptor() ) );
+ connect( angle, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
+ connect( origin, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) );
+ connect( getPB, SIGNAL( clicked() ), this, SLOT( getBB_clicked() ) );
+ connect( getPB, SIGNAL( clicked() ), this, SLOT( change_adaptor() ) );
+ connect( lbY, SIGNAL( textChanged(const QString&) ), this, SLOT( change_bb() ) );
+ connect( rtX, SIGNAL( textChanged(const QString&) ), this, SLOT( change_bb() ) );
+ connect( rtY, SIGNAL( textChanged(const QString&) ), this, SLOT( change_bb() ) );
+ connect( lbXunit, SIGNAL( activated(int) ), this, SLOT( change_bb() ) );
+ connect( lbYunit, SIGNAL( activated(int) ), this, SLOT( change_bb() ) );
+ connect( rtXunit, SIGNAL( activated(int) ), this, SLOT( change_bb() ) );
+ connect( rtYunit, SIGNAL( activated(int) ), this, SLOT( change_bb() ) );
angle->setValidator(new QDoubleValidator(-360, 360, 2, angle));
bool useHeight = (widthUnit->currentItem() > 0);
Height->setEnabled(useHeight);
heightUnit->setEnabled(useHeight);
+ heightL->setEnabled(useHeight);
form_->changed();
}
form_->controller().editGraphics();
}
+void QGraphicsDialog::filenameChanged(const QString & filename)
+{
+ editPB->setDisabled(filename.isEmpty());
+}
+
} // namespace frontend
} // namespace lyx
<rect>
<x>0</x>
<y>0</y>
- <width>451</width>
- <height>549</height>
+ <width>412</width>
+ <height>411</height>
</rect>
</property>
<property name="sizePolicy" >
</property>
<layout class="QGridLayout" >
<property name="margin" >
- <number>11</number>
+ <number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
- <item row="1" column="0" >
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QPushButton" name="restorePB" >
- <property name="text" >
- <string>&Restore</string>
- </property>
- <property name="autoDefault" >
- <bool>false</bool>
- </property>
- <property name="default" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::MinimumExpanding</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="autoDefault" >
- <bool>true</bool>
- </property>
- <property name="default" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="applyPB" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>&Apply</string>
- </property>
- <property name="autoDefault" >
- <bool>false</bool>
- </property>
- <property name="default" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="closePB" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Close</string>
- </property>
- <property name="autoDefault" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
<item row="0" column="0" >
<widget class="QTabWidget" name="TabWidget" >
<property name="toolTip" >
</attribute>
<layout class="QGridLayout" >
<property name="margin" >
- <number>11</number>
+ <number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
- <item row="3" column="1" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</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="2" column="0" colspan="2" >
- <widget class="QGroupBox" name="rotateGB" >
+ <item row="1" column="0" >
+ <widget class="QGroupBox" name="GroupBox5" >
<property name="title" >
- <string>Rotation</string>
+ <string>LyX Display</string>
</property>
- <layout class="QHBoxLayout" >
+ <layout class="QGridLayout" >
<property name="margin" >
- <number>11</number>
+ <number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
- <item>
- <widget class="QLabel" name="angleL_2" >
- <property name="toolTip" >
- <string>Angle to rotate image by</string>
+ <item row="3" column="1" >
+ <widget class="QLabel" name="displayscaleL" >
+ <property name="enabled" >
+ <bool>true</bool>
</property>
- <property name="text" >
- <string>A&ngle:</string>
+ <property name="focusPolicy" >
+ <enum>Qt::NoFocus</enum>
</property>
- <property name="buddy" >
- <cstring>angle</cstring>
+ <property name="text" >
+ <string>%</string>
</property>
</widget>
</item>
- <item>
- <widget class="QLineEdit" name="angle" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>3</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
+ <item row="4" column="0" >
+ <widget class="QCheckBox" name="displayCB" >
<property name="toolTip" >
- <string>Angle to rotate image by</string>
+ <string>Display image in LyX</string>
+ </property>
+ <property name="text" >
+ <string>&Show in LyX</string>
</property>
</widget>
</item>
- <item>
- <widget class="QLabel" name="originL_2" >
+ <item row="0" column="0" >
+ <widget class="QLabel" name="TextLabel1" >
<property name="toolTip" >
- <string>The origin of the rotation</string>
+ <string>Screen display</string>
</property>
<property name="text" >
- <string>Or&igin:</string>
+ <string>&Display:</string>
</property>
<property name="buddy" >
- <cstring>origin</cstring>
+ <cstring>showCB</cstring>
</property>
</widget>
</item>
- <item>
- <widget class="QComboBox" name="origin" >
- <property name="toolTip" >
- <string>The origin of the rotation</string>
+ <item row="3" column="0" >
+ <widget class="QLineEdit" name="displayscale" >
+ <property name="enabled" >
+ <bool>true</bool>
</property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QGroupBox" name="GroupBox5" >
- <property name="title" >
- <string>LyX Display</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>11</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QCheckBox" name="displayCB" >
- <property name="toolTip" >
- <string>Display image in LyX</string>
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="text" >
- <string>&Show in LyX</string>
+ <property name="toolTip" >
+ <string>Percentage to scale by in LyX</string>
</property>
</widget>
</item>
- <item>
- <widget class="QLabel" name="TextLabel1" >
+ <item row="2" column="0" >
+ <widget class="QLabel" name="scaleLA" >
<property name="toolTip" >
- <string>Screen display</string>
+ <string>Percentage to scale by in LyX</string>
</property>
<property name="text" >
- <string>Display:</string>
+ <string>Sca&le:</string>
</property>
<property name="buddy" >
- <cstring>showCB</cstring>
+ <cstring>displayscale</cstring>
</property>
</widget>
</item>
- <item>
+ <item row="1" column="0" >
<widget class="QComboBox" name="showCB" >
<property name="toolTip" >
<string>Screen display</string>
</item>
</widget>
</item>
- <item>
- <widget class="QLabel" name="scaleLA" >
- <property name="toolTip" >
- <string>Percentage to scale by in LyX</string>
- </property>
- <property name="text" >
- <string>Scale:</string>
- </property>
- <property name="buddy" >
- <cstring>displayscale</cstring>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLineEdit" name="displayscale" >
- <property name="enabled" >
- <bool>true</bool>
- </property>
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>5</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>
- <widget class="QLabel" name="displayscaleL" >
- <property name="enabled" >
- <bool>true</bool>
- </property>
- <property name="focusPolicy" >
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="text" >
- <string>%</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
</layout>
</widget>
</item>
<property name="title" >
<string>Output</string>
</property>
- <layout class="QVBoxLayout" >
+ <layout class="QGridLayout" >
<property name="margin" >
- <number>11</number>
+ <number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
- <item>
- <widget class="QLabel" name="sizewidthL_2" >
+ <item row="0" column="0" colspan="2" >
+ <widget class="QLabel" name="widthL" >
<property name="enabled" >
<bool>true</bool>
</property>
</property>
</widget>
</item>
- <item>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>0</number>
+ <item row="1" column="0" >
+ <widget class="QLineEdit" name="Width" >
+ <property name="enabled" >
+ <bool>true</bool>
</property>
- <property name="spacing" >
- <number>6</number>
+ <property name="toolTip" >
+ <string>Width of image in output</string>
</property>
- <item>
- <widget class="QLineEdit" name="Width" >
- <property name="enabled" >
- <bool>true</bool>
- </property>
- <property name="toolTip" >
- <string>Width of image in output</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="widthUnit" />
- </item>
- </layout>
+ </widget>
</item>
- <item>
- <widget class="QLabel" name="sizeheightL_2" >
+ <item row="1" column="1" >
+ <widget class="QComboBox" name="widthUnit" />
+ </item>
+ <item row="3" column="1" >
+ <widget class="LengthCombo" name="heightUnit" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize" >
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="focusPolicy" >
+ <enum>Qt::StrongFocus</enum>
+ </property>
+ <property name="toolTip" >
+ <string>Units of height value</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0" >
+ <widget class="QLineEdit" name="Height" >
+ <property name="enabled" >
+ <bool>true</bool>
+ </property>
+ <property name="toolTip" >
+ <string>Height of image in output</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" colspan="2" >
+ <widget class="QLabel" name="heightL" >
<property name="enabled" >
<bool>true</bool>
</property>
</property>
</widget>
</item>
- <item>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLineEdit" name="Height" >
- <property name="enabled" >
- <bool>true</bool>
- </property>
- <property name="toolTip" >
- <string>Height of image in output</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="LengthCombo" name="heightUnit" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>3</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize" >
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="focusPolicy" >
- <enum>Qt::StrongFocus</enum>
- </property>
- <property name="toolTip" >
- <string>Units of height value</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
+ <item row="4" column="0" colspan="2" >
<widget class="QCheckBox" name="aspectratio" >
<property name="enabled" >
<bool>true</bool>
</layout>
</widget>
</item>
+ <item row="2" column="0" colspan="2" >
+ <widget class="QGroupBox" name="rotateGB" >
+ <property name="title" >
+ <string>Rotation</string>
+ </property>
+ <layout class="QHBoxLayout" >
+ <property name="margin" >
+ <number>11</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="angleL" >
+ <property name="toolTip" >
+ <string>Angle to rotate image by</string>
+ </property>
+ <property name="text" >
+ <string>A&ngle:</string>
+ </property>
+ <property name="buddy" >
+ <cstring>angle</cstring>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="angle" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip" >
+ <string>Angle to rotate image by</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="originL" >
+ <property name="toolTip" >
+ <string>The origin of the rotation</string>
+ </property>
+ <property name="text" >
+ <string>Or&igin:</string>
+ </property>
+ <property name="buddy" >
+ <cstring>origin</cstring>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="origin" >
+ <property name="toolTip" >
+ <string>The origin of the rotation</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
<item row="0" column="0" colspan="2" >
<layout class="QGridLayout" >
<property name="margin" >
</attribute>
<layout class="QGridLayout" >
<property name="margin" >
- <number>11</number>
+ <number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
- <item row="0" column="0" colspan="2" >
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QCheckBox" name="clip" >
- <property name="toolTip" >
- <string>Clip to bounding box values</string>
- </property>
- <property name="text" >
- <string>Clip to &bounding box</string>
- </property>
- </widget>
- </item>
- <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="getPB" >
- <property name="toolTip" >
- <string>Get bounding box from the (EPS) file</string>
- </property>
- <property name="text" >
- <string>&Get from File</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="1" column="0" >
+ <item row="1" column="0" colspan="3" >
<widget class="QFrame" name="Frame3" >
<property name="enabled" >
<bool>true</bool>
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
- <vsizetype>7</vsizetype>
+ <vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QGridLayout" >
<property name="margin" >
- <number>11</number>
+ <number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
- <item row="1" column="2" >
- <widget class="QComboBox" name="lbXunit" />
- </item>
- <item row="2" column="0" >
- <widget class="QLabel" name="yL" >
- <property name="text" >
- <string>y</string>
- </property>
- </widget>
- </item>
- <item row="2" column="2" >
- <widget class="QComboBox" name="lbYunit" />
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="xL" >
- <property name="text" >
- <string>x</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QLineEdit" name="lbY" />
- </item>
- <item row="1" column="1" >
- <widget class="QLineEdit" name="lbX" >
- <property name="toolTip" >
- <string/>
- </property>
- </widget>
- </item>
- <item row="0" column="1" colspan="2" >
+ <item row="0" column="0" >
<widget class="QLabel" name="lbL" >
<property name="text" >
<string>&Left bottom:</string>
</property>
</widget>
</item>
- <item row="5" column="2" >
- <widget class="QComboBox" name="rtYunit" />
- </item>
- <item row="4" column="2" >
- <widget class="QComboBox" name="rtXunit" />
- </item>
- <item row="4" column="1" >
- <widget class="QLineEdit" name="rtX" />
- </item>
- <item row="4" column="0" >
- <widget class="QLabel" name="xL_2" >
- <property name="text" >
- <string>x</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0" colspan="3" >
+ <item row="2" column="0" >
<widget class="QLabel" name="rtL" >
<property name="text" >
<string>Right &top:</string>
</property>
</widget>
</item>
- <item row="5" column="0" >
- <widget class="QLabel" name="yL_2" >
- <property name="text" >
- <string>y</string>
+ <item row="1" column="0" >
+ <layout class="QHBoxLayout" >
+ <property name="margin" >
+ <number>0</number>
</property>
- </widget>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="xL" >
+ <property name="text" >
+ <string>x</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="lbX" >
+ <property name="toolTip" >
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="lbXunit" />
+ </item>
+ <item>
+ <widget class="QLabel" name="yL" >
+ <property name="text" >
+ <string>y</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="lbY" />
+ </item>
+ <item>
+ <widget class="QComboBox" name="lbYunit" />
+ </item>
+ </layout>
</item>
- <item row="5" column="1" >
- <widget class="QLineEdit" name="rtY" />
+ <item row="3" column="0" >
+ <layout class="QHBoxLayout" >
+ <property name="margin" >
+ <number>0</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="xL_2" >
+ <property name="text" >
+ <string>x</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="rtX" />
+ </item>
+ <item>
+ <widget class="QComboBox" name="rtXunit" />
+ </item>
+ <item>
+ <widget class="QLabel" name="yL_2" >
+ <property name="text" >
+ <string>y</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="rtY" />
+ </item>
+ <item>
+ <widget class="QComboBox" name="rtYunit" />
+ </item>
+ </layout>
</item>
</layout>
</widget>
</item>
- <item row="2" column="0" >
+ <item row="0" column="0" >
+ <widget class="QCheckBox" name="clip" >
+ <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="2" column="2" >
+ <widget class="QPushButton" name="getPB" >
+ <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="2" column="0" colspan="2" >
<spacer>
<property name="orientation" >
- <enum>Qt::Vertical</enum>
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" >
+ <size>
+ <width>261</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="0" column="1" colspan="2" >
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
- <enum>QSizePolicy::MinimumExpanding</enum>
+ <enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
</property>
</spacer>
</item>
+ <item row="3" column="2" >
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" >
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
</layout>
</widget>
<widget class="QWidget" name="ExtraOptions" >
</item>
<item row="1" column="0" >
<widget class="QLabel" name="CaptionLA" >
+ <property name="enabled" >
+ <bool>false</bool>
+ </property>
<property name="toolTip" >
<string>The caption for the sub-figure</string>
</property>
</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>
+ <widget class="QPushButton" name="restorePB" >
+ <property name="text" >
+ <string>&Restore</string>
+ </property>
+ <property name="autoDefault" >
+ <bool>false</bool>
+ </property>
+ <property name="default" >
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType" >
+ <enum>QSizePolicy::MinimumExpanding</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="autoDefault" >
+ <bool>true</bool>
+ </property>
+ <property name="default" >
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="applyPB" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text" >
+ <string>&Apply</string>
+ </property>
+ <property name="autoDefault" >
+ <bool>false</bool>
+ </property>
+ <property name="default" >
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="closePB" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text" >
+ <string>Close</string>
+ </property>
+ <property name="autoDefault" >
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
</layout>
</widget>
<pixmapfunction></pixmapfunction>
<tabstop>TabWidget</tabstop>
<tabstop>filename</tabstop>
<tabstop>browsePB</tabstop>
- <tabstop>displayCB</tabstop>
+ <tabstop>editPB</tabstop>
<tabstop>showCB</tabstop>
<tabstop>displayscale</tabstop>
+ <tabstop>displayCB</tabstop>
<tabstop>Width</tabstop>
<tabstop>widthUnit</tabstop>
<tabstop>Height</tabstop>
<tabstop>closePB</tabstop>
</tabstops>
<resources/>
- <connections/>
+ <connections>
+ <connection>
+ <sender>displayCB</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>TextLabel1</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel" >
+ <x>112</x>
+ <y>269</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>74</x>
+ <y>158</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>displayCB</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>scaleLA</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel" >
+ <x>125</x>
+ <y>269</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>91</x>
+ <y>212</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>subfigure</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>CaptionLA</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel" >
+ <x>56</x>
+ <y>56</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>44</x>
+ <y>62</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>subfigure</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>subcaption</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel" >
+ <x>69</x>
+ <y>54</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>110</x>
+ <y>62</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>displayCB</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>displayscaleL</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel" >
+ <x>53</x>
+ <y>260</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>157</x>
+ <y>235</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
</ui>