mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Embedding: simplify code in the handling of embedCB in GuiGraphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22427 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
40cb894ca6
commit
474979d32d
@ -127,6 +127,8 @@ GuiGraphics::GuiGraphics(GuiView & lv)
|
||||
//graphics pane
|
||||
connect(filename, SIGNAL(textChanged(const QString &)),
|
||||
this, SLOT(change_adaptor()));
|
||||
connect(embedCB, SIGNAL(toggled(bool)),
|
||||
this, SLOT(change_adaptor()));
|
||||
connect(WidthCB, SIGNAL( clicked()),
|
||||
this, SLOT(change_adaptor()));
|
||||
connect(HeightCB, SIGNAL( clicked()),
|
||||
@ -303,12 +305,6 @@ void GuiGraphics::on_filename_textChanged(const QString & filename)
|
||||
}
|
||||
|
||||
|
||||
void GuiGraphics::on_embedCB_toggled(bool)
|
||||
{
|
||||
changed();
|
||||
}
|
||||
|
||||
|
||||
void GuiGraphics::setAutoText()
|
||||
{
|
||||
if (scaleCB->isChecked())
|
||||
|
@ -47,7 +47,6 @@ private Q_SLOTS:
|
||||
void on_getPB_clicked();
|
||||
void on_editPB_clicked();
|
||||
void on_filename_textChanged(const QString &);
|
||||
void on_embedCB_toggled(bool);
|
||||
void on_scaleCB_toggled(bool);
|
||||
void on_WidthCB_toggled(bool);
|
||||
void on_HeightCB_toggled(bool);
|
||||
|
Loading…
Reference in New Issue
Block a user