mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Compare commits
3 Commits
1d64dbf543
...
b39cc9ed89
Author | SHA1 | Date | |
---|---|---|---|
|
b39cc9ed89 | ||
|
601abfe929 | ||
|
63dbd54e62 |
@ -9646,14 +9646,12 @@ Verbatim
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Verbatim
|
\begin_layout Verbatim
|
||||||
|
|
||||||
This is Verbatim.
|
This is Verbatim.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Verbatim
|
\begin_layout Verbatim
|
||||||
\noindent
|
\noindent
|
||||||
\align block
|
\align block
|
||||||
|
|
||||||
The following 2 lines are empty:
|
The following 2 lines are empty:
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
@ -9666,7 +9664,6 @@ The following 2 lines are empty:
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Verbatim
|
\begin_layout Verbatim
|
||||||
|
|
||||||
Almost everything is allowed in Verbatim:"%&$§#~'`
|
Almost everything is allowed in Verbatim:"%&$§#~'`
|
||||||
\backslash
|
\backslash
|
||||||
}][{|
|
}][{|
|
||||||
@ -9690,7 +9687,6 @@ Verbatim
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Verbatim*
|
\begin_layout Verbatim*
|
||||||
|
|
||||||
This is Verbatim*.
|
This is Verbatim*.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
@ -51056,7 +51052,8 @@ Encodings
|
|||||||
\family default
|
\family default
|
||||||
dropdown,
|
dropdown,
|
||||||
\SpecialChar LyX
|
\SpecialChar LyX
|
||||||
automatically selects the appropriate traditional encoding for the given language(s).If the document contains text in more than one language you thus may get more than one encoding in the \SpecialChar LaTeX
|
automatically selects the appropriate traditional encoding for the given language(s).
|
||||||
|
If the document contains text in more than one language you thus may get more than one encoding in the \SpecialChar LaTeX
|
||||||
file.
|
file.
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
@ -1784,6 +1784,8 @@ GuiDocument::GuiDocument(GuiView & lv)
|
|||||||
this, SLOT(change_adaptor()));
|
this, SLOT(change_adaptor()));
|
||||||
connect(pdfSupportModule->pdfborderCB, SIGNAL(toggled(bool)),
|
connect(pdfSupportModule->pdfborderCB, SIGNAL(toggled(bool)),
|
||||||
this, SLOT(change_adaptor()));
|
this, SLOT(change_adaptor()));
|
||||||
|
connect(pdfSupportModule->colorlinksCB, SIGNAL(toggled(bool)),
|
||||||
|
this, SLOT(colorlinksCB_adaptor(bool)));
|
||||||
connect(pdfSupportModule->colorlinksCB, SIGNAL(toggled(bool)),
|
connect(pdfSupportModule->colorlinksCB, SIGNAL(toggled(bool)),
|
||||||
this, SLOT(change_adaptor()));
|
this, SLOT(change_adaptor()));
|
||||||
connect(pdfSupportModule->backrefCO, SIGNAL(activated(int)),
|
connect(pdfSupportModule->backrefCO, SIGNAL(activated(int)),
|
||||||
@ -3152,6 +3154,12 @@ void GuiDocument::classChanged_adaptor()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void GuiDocument::colorlinksCB_adaptor(bool enabled)
|
||||||
|
{
|
||||||
|
pdfSupportModule->pdfborderCB->setEnabled(!enabled);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void GuiDocument::classChanged()
|
void GuiDocument::classChanged()
|
||||||
{
|
{
|
||||||
int idx = latexModule->classCO->currentIndex();
|
int idx = latexModule->classCO->currentIndex();
|
||||||
@ -4879,6 +4887,10 @@ void GuiDocument::paramsToDialog()
|
|||||||
pdfSupportModule->pdfusetitleCB->setChecked(pdf.pdfusetitle);
|
pdfSupportModule->pdfusetitleCB->setChecked(pdf.pdfusetitle);
|
||||||
pdfSupportModule->colorlinksCB->setChecked(pdf.colorlinks);
|
pdfSupportModule->colorlinksCB->setChecked(pdf.colorlinks);
|
||||||
|
|
||||||
|
//hyperref considers colorlinks to be mutually exlusive to borders
|
||||||
|
//for workaround see manuals
|
||||||
|
pdfSupportModule->pdfborderCB->setEnabled(!pdf.colorlinks);
|
||||||
|
|
||||||
nn = findToken(backref_opts, pdf.backref);
|
nn = findToken(backref_opts, pdf.backref);
|
||||||
if (nn >= 0)
|
if (nn >= 0)
|
||||||
pdfSupportModule->backrefCO->setCurrentIndex(nn);
|
pdfSupportModule->backrefCO->setCurrentIndex(nn);
|
||||||
|
@ -146,6 +146,7 @@ private Q_SLOTS:
|
|||||||
void browseMaster();
|
void browseMaster();
|
||||||
void classChanged();
|
void classChanged();
|
||||||
void classChanged_adaptor();
|
void classChanged_adaptor();
|
||||||
|
void colorlinksCB_adaptor(bool);
|
||||||
void languagePackageChanged(int);
|
void languagePackageChanged(int);
|
||||||
void biblioChanged();
|
void biblioChanged();
|
||||||
void rescanBibFiles();
|
void rescanBibFiles();
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
#include "GuiDialog.h"
|
#include "GuiDialog.h"
|
||||||
#include "ui_SendtoUi.h"
|
#include "ui_SendtoUi.h"
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
class QListWidgetItem;
|
class QListWidgetItem;
|
||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
|
@ -281,6 +281,9 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="colorlinksCB">
|
<widget class="QCheckBox" name="colorlinksCB">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Mutually exclusive with frames around links, see manual.</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>C&olor links</string>
|
<string>C&olor links</string>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user