Embedding: remove AUTO feature, remove STATUS from embedding dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20120 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2007-09-07 03:10:42 +00:00
parent d4a2219813
commit fc2f8c8e4f
3 changed files with 20 additions and 65 deletions

View File

@ -104,7 +104,6 @@ void GuiEmbeddedFilesDialog::updateView()
// //
bool enabled = files.enabled(); bool enabled = files.enabled();
enableCB->setChecked(enabled); enableCB->setChecked(enabled);
statusGB->setEnabled(enabled);
fullpathLE->setEnabled(enabled); fullpathLE->setEnabled(enabled);
} }
@ -169,18 +168,6 @@ void GuiEmbeddedFilesDialog::set_embedding_status(bool embed)
} }
void GuiEmbeddedFilesDialog::on_embeddedRB_clicked()
{
set_embedding_status(true);
}
void GuiEmbeddedFilesDialog::on_externalRB_clicked()
{
set_embedding_status(false);
}
} // namespace frontend } // namespace frontend
} // namespace lyx } // namespace lyx

View File

@ -37,9 +37,6 @@ public Q_SLOTS:
/// ///
void on_enableCB_toggled(bool enable); void on_enableCB_toggled(bool enable);
/// ///
void on_embeddedRB_clicked();
void on_externalRB_clicked();
///
void on_addPB_clicked(); void on_addPB_clicked();
// //
void on_extractPB_clicked(); void on_extractPB_clicked();

View File

@ -8,7 +8,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>100</width> <width>145</width>
<height>390</height> <height>390</height>
</rect> </rect>
</property> </property>
@ -52,54 +52,6 @@
<item> <item>
<widget class="QLineEdit" name="fullpathLE" /> <widget class="QLineEdit" name="fullpathLE" />
</item> </item>
<item>
<widget class="QGroupBox" name="statusGB" >
<property name="title" >
<string>Status</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QRadioButton" name="autoRB" >
<property name="toolTip" >
<string>Automatic inclusion</string>
</property>
<property name="text" >
<string>Automatic</string>
</property>
<property name="autoExclusive" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="embeddedRB" >
<property name="text" >
<string>Embedded</string>
</property>
<property name="autoExclusive" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="externalRB" >
<property name="text" >
<string>External</string>
</property>
<property name="autoExclusive" >
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" > <property name="margin" >
@ -146,6 +98,25 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QToolButton" name="updatePB" >
<property name="toolTip" >
<string>Update selected file with external files</string>
</property>
<property name="text" >
<string>...</string>
</property>
<property name="icon" >
<iconset>../../../../lib/images/copy.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>
</item>
</layout> </layout>
</item> </item>
</layout> </layout>