mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
GuiDocument.cpp: the local layout can be treated as layout file snippet like a module - therefore group it with the module panel in the document settings dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35421 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6faa1b3713
commit
5a7328b0bb
@ -1246,6 +1246,7 @@ GuiDocument::GuiDocument(GuiView & lv)
|
|||||||
docPS->addPanel(latexModule, qt_("Document Class"));
|
docPS->addPanel(latexModule, qt_("Document Class"));
|
||||||
docPS->addPanel(masterChildModule, qt_("Child Documents"));
|
docPS->addPanel(masterChildModule, qt_("Child Documents"));
|
||||||
docPS->addPanel(modulesModule, qt_("Modules"));
|
docPS->addPanel(modulesModule, qt_("Modules"));
|
||||||
|
docPS->addPanel(localLayout, qt_("Local Layout"));
|
||||||
docPS->addPanel(fontModule, qt_("Fonts"));
|
docPS->addPanel(fontModule, qt_("Fonts"));
|
||||||
docPS->addPanel(textLayoutModule, qt_("Text Layout"));
|
docPS->addPanel(textLayoutModule, qt_("Text Layout"));
|
||||||
docPS->addPanel(pageLayoutModule, qt_("Page Layout"));
|
docPS->addPanel(pageLayoutModule, qt_("Page Layout"));
|
||||||
@ -1263,7 +1264,6 @@ GuiDocument::GuiDocument(GuiView & lv)
|
|||||||
docPS->addPanel(branchesModule, qt_("Branches"));
|
docPS->addPanel(branchesModule, qt_("Branches"));
|
||||||
docPS->addPanel(outputModule, qt_("Output"));
|
docPS->addPanel(outputModule, qt_("Output"));
|
||||||
docPS->addPanel(preambleModule, qt_("LaTeX Preamble"));
|
docPS->addPanel(preambleModule, qt_("LaTeX Preamble"));
|
||||||
docPS->addPanel(localLayout, qt_("Local Layout"));
|
|
||||||
docPS->setCurrentPanel(qt_("Document Class"));
|
docPS->setCurrentPanel(qt_("Document Class"));
|
||||||
// FIXME: hack to work around resizing bug in Qt >= 4.2
|
// FIXME: hack to work around resizing bug in Qt >= 4.2
|
||||||
// bug verified with Qt 4.2.{0-3} (JSpitzm)
|
// bug verified with Qt 4.2.{0-3} (JSpitzm)
|
||||||
|
Loading…
Reference in New Issue
Block a user