Move hints from designer to code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34501 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-05-25 11:53:58 +00:00
parent 012a1c805a
commit 85d9812dcc
2 changed files with 10 additions and 26 deletions

View File

@ -653,10 +653,6 @@ GuiDocument::GuiDocument(GuiView & lv)
this, SLOT(change_adaptor()));
connect(outputModule->xetexCB, SIGNAL(toggled(bool)),
this, SLOT(xetexChanged(bool)));
connect(outputModule->outputsyncCB, SIGNAL(clicked()),
this, SLOT(change_adaptor()));
connect(outputModule->synccustomCB, SIGNAL(editTextChanged(QString)),
this, SLOT(change_adaptor()));
connect(outputModule->defaultFormatCO, SIGNAL(activated(int)),
this, SLOT(change_adaptor()));
connect(outputModule->mathimgSB, SIGNAL(valueChanged(double)),
@ -666,6 +662,14 @@ GuiDocument::GuiDocument(GuiView & lv)
connect(outputModule->mathoutCB, SIGNAL(currentIndexChanged(int)),
this, SLOT(change_adaptor()));
connect(outputModule->outputsyncCB, SIGNAL(clicked()),
this, SLOT(change_adaptor()));
connect(outputModule->synccustomCB, SIGNAL(editTextChanged(QString)),
this, SLOT(change_adaptor()));
outputModule->synccustomCB->addItem("");
outputModule->synccustomCB->addItem("\\synctex=1");
outputModule->synccustomCB->addItem("\\synctex=-1");
outputModule->synccustomCB->addItem("\\usepackage[active]{srcltx}");
// fonts
fontModule = new UiWidget<Ui::FontUi>;

View File

@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>335</width>
<height>310</height>
<width>388</width>
<height>334</height>
</rect>
</property>
<property name="windowTitle" >
@ -106,26 +106,6 @@
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string/>
</property>
</item>
<item>
<property name="text" >
<string>\synctex=1</string>
</property>
</item>
<item>
<property name="text" >
<string>\synctex=-1</string>
</property>
</item>
<item>
<property name="text" >
<string>\usepackage[active]{srcltx}</string>
</property>
</item>
</widget>
</item>
</layout>