mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
parent
91c2d66983
commit
f2243a3bc7
@ -1696,6 +1696,8 @@ GuiDocument::GuiDocument(GuiView & lv)
|
|||||||
this, SLOT(change_adaptor()));
|
this, SLOT(change_adaptor()));
|
||||||
connect(pdfSupportModule->bookmarksopenGB, SIGNAL(toggled(bool)),
|
connect(pdfSupportModule->bookmarksopenGB, SIGNAL(toggled(bool)),
|
||||||
this, SLOT(change_adaptor()));
|
this, SLOT(change_adaptor()));
|
||||||
|
connect(pdfSupportModule->bookmarksopenGB, SIGNAL(toggled(bool)),
|
||||||
|
this, SLOT(bookmarksopenChanged(bool)));
|
||||||
connect(pdfSupportModule->bookmarksopenlevelSB, SIGNAL(valueChanged(int)),
|
connect(pdfSupportModule->bookmarksopenlevelSB, SIGNAL(valueChanged(int)),
|
||||||
this, SLOT(change_adaptor()));
|
this, SLOT(change_adaptor()));
|
||||||
connect(pdfSupportModule->breaklinksCB, SIGNAL(toggled(bool)),
|
connect(pdfSupportModule->breaklinksCB, SIGNAL(toggled(bool)),
|
||||||
@ -1819,6 +1821,12 @@ void GuiDocument::shellescapeChanged()
|
|||||||
changed();
|
changed();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GuiDocument::bookmarksopenChanged(bool state)
|
||||||
|
{
|
||||||
|
pdfSupportModule->bookmarksopenlevelSB->setEnabled(state);
|
||||||
|
pdfSupportModule->bookmarksopenlevelLA->setEnabled(state);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void GuiDocument::slotApply()
|
void GuiDocument::slotApply()
|
||||||
{
|
{
|
||||||
@ -4435,6 +4443,8 @@ void GuiDocument::paramsToDialog()
|
|||||||
pdfSupportModule->bookmarksopenGB->setChecked(pdf.bookmarksopen);
|
pdfSupportModule->bookmarksopenGB->setChecked(pdf.bookmarksopen);
|
||||||
|
|
||||||
pdfSupportModule->bookmarksopenlevelSB->setValue(pdf.bookmarksopenlevel);
|
pdfSupportModule->bookmarksopenlevelSB->setValue(pdf.bookmarksopenlevel);
|
||||||
|
pdfSupportModule->bookmarksopenlevelSB->setEnabled(pdf.bookmarksopen);
|
||||||
|
pdfSupportModule->bookmarksopenlevelLA->setEnabled(pdf.bookmarksopen);
|
||||||
|
|
||||||
pdfSupportModule->breaklinksCB->setChecked(pdf.breaklinks);
|
pdfSupportModule->breaklinksCB->setChecked(pdf.breaklinks);
|
||||||
pdfSupportModule->pdfborderCB->setChecked(pdf.pdfborder);
|
pdfSupportModule->pdfborderCB->setChecked(pdf.pdfborder);
|
||||||
|
@ -166,6 +166,7 @@ private Q_SLOTS:
|
|||||||
void linenoToggled(bool);
|
void linenoToggled(bool);
|
||||||
void outputChangesToggled(bool);
|
void outputChangesToggled(bool);
|
||||||
void setOutputSync(bool);
|
void setOutputSync(bool);
|
||||||
|
void bookmarksopenChanged(bool);
|
||||||
private:
|
private:
|
||||||
/// validate listings parameters and return an error message, if any
|
/// validate listings parameters and return an error message, if any
|
||||||
QString validateListingsParameters();
|
QString validateListingsParameters();
|
||||||
|
Loading…
Reference in New Issue
Block a user