Switch on CT in comparison result

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35326 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-09-08 15:09:10 +00:00
parent 59a2c46ae9
commit 22434db502
2 changed files with 80 additions and 62 deletions

View File

@ -62,6 +62,7 @@ GuiCompare::GuiCompare(GuiView & lv)
this, SLOT(changeAdaptor()));
newSettingsRB->setChecked(true);
trackingCB->setChecked(true);
closePB->setCursor(Qt::ArrowCursor);
@ -220,6 +221,10 @@ void GuiCompare::finished(bool aborted)
if (dest_buffer_) {
dispatch(FuncRequest(LFUN_BUFFER_SWITCH,
dest_buffer_->absFileName()));
if (trackingCB->isChecked()) {
dispatch(FuncRequest(LFUN_CHANGES_OUTPUT));
dispatch(FuncRequest(LFUN_CHANGES_TRACK));
}
}
statusBar->showMessage(qt_("Finished"), 5000);
}

View File

@ -6,7 +6,7 @@
<x>0</x>
<y>0</y>
<width>450</width>
<height>246</height>
<height>294</height>
</rect>
</property>
<property name="windowTitle" >
@ -26,7 +26,7 @@
<item row="1" column="0" >
<widget class="QComboBox" name="newFileCB" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -59,7 +59,7 @@
<item row="3" column="0" >
<widget class="QComboBox" name="oldFileCB" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -82,7 +82,7 @@
<item row="4" column="0" >
<widget class="QGroupBox" name="groupBox" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -108,7 +108,7 @@
</layout>
</widget>
</item>
<item row="5" column="0" colspan="2">
<item row="6" column="0" colspan="2" >
<widget class="QProgressBar" name="progressBar" >
<property name="value" >
<number>24</number>
@ -118,7 +118,7 @@
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
<item row="8" column="0" colspan="2" >
<layout class="QHBoxLayout" >
<item>
<spacer>
@ -164,9 +164,22 @@
</item>
</layout>
</item>
<item row="7" column="0" colspan="2">
<item row="9" column="0" colspan="2" >
<widget class="QStatusBar" name="statusBar" />
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="trackingCB" >
<property name="toolTip" >
<string>Turns on the change tracking and showing changes in LaTeX output for the resulting document</string>
</property>
<property name="text" >
<string>Enable &amp;change tracking features in the output</string>
</property>
<property name="checked" >
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
<includes>