mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Also display the info about BibTeX databases in the TeX info panel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40351 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0c4e88b8a0
commit
43c09d7234
@ -92,7 +92,7 @@ void GuiTexInfo::rescanClicked()
|
||||
void GuiTexInfo::viewClicked()
|
||||
{
|
||||
// takes advantage of enum order
|
||||
static QString const ext[] = { "cls", "sty", "bst" };
|
||||
static QString const ext[] = { "cls", "sty", "bst", "bib" };
|
||||
int const fitem = fileListLW->currentRow();
|
||||
QStringList const & data = texdata_[activeStyle_];
|
||||
QString file = data[fitem];
|
||||
@ -119,7 +119,7 @@ void GuiTexInfo::enableViewPB()
|
||||
void GuiTexInfo::updateStyles(TexFileType type)
|
||||
{
|
||||
static QString const filenames[] = {
|
||||
"clsFiles.lst", "styFiles.lst", "bstFiles.lst"
|
||||
"clsFiles.lst", "styFiles.lst", "bstFiles.lst", "bibFiles.lst"
|
||||
};
|
||||
|
||||
QString const filename = filenames[type];
|
||||
|
@ -29,7 +29,7 @@ public:
|
||||
///
|
||||
GuiTexInfo(GuiView & lv);
|
||||
/// the file extensions. order matters in GuiTexInfo::fileType()
|
||||
enum TexFileType { ClsType = 0, StyType, BstType, DummyLastType };
|
||||
enum TexFileType { ClsType = 0, StyType, BstType, BibType, DummyLastType };
|
||||
|
||||
public Q_SLOTS:
|
||||
///
|
||||
|
@ -138,6 +138,11 @@
|
||||
<string>BibTeX styles</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text" >
|
||||
<string>BibTeX databases</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user