mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Enable search in "LaTeX Log" dialog by pressing Enter
This commit is contained in:
parent
04ba887e2c
commit
1cf86348dd
@ -122,7 +122,6 @@ GuiLog::GuiLog(GuiView & lv)
|
|||||||
this, SLOT(slotButtonBox(QAbstractButton *)));
|
this, SLOT(slotButtonBox(QAbstractButton *)));
|
||||||
connect(updatePB, SIGNAL(clicked()), this, SLOT(updateContents()));
|
connect(updatePB, SIGNAL(clicked()), this, SLOT(updateContents()));
|
||||||
connect(findPB, SIGNAL(clicked()), this, SLOT(find()));
|
connect(findPB, SIGNAL(clicked()), this, SLOT(find()));
|
||||||
// FIXME: find via returnPressed() does not work!
|
|
||||||
connect(findLE, SIGNAL(returnPressed()), this, SLOT(find()));
|
connect(findLE, SIGNAL(returnPressed()), this, SLOT(find()));
|
||||||
connect(logTypeCO, SIGNAL(activated(int)),
|
connect(logTypeCO, SIGNAL(activated(int)),
|
||||||
this, SLOT(typeChanged(int)));
|
this, SLOT(typeChanged(int)));
|
||||||
@ -134,6 +133,9 @@ GuiLog::GuiLog(GuiView & lv)
|
|||||||
|
|
||||||
logTB->setReadOnly(true);
|
logTB->setReadOnly(true);
|
||||||
logTB->setFont(guiApp->typewriterSystemFont());
|
logTB->setFont(guiApp->typewriterSystemFont());
|
||||||
|
|
||||||
|
QPushButton * closePB = buttonBox->button(QDialogButtonBox::Close);
|
||||||
|
closePB->setAutoDefault(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -73,6 +73,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Next &Error</string>
|
<string>Next &Error</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="autoDefault">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -83,6 +86,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Next &Warning</string>
|
<string>Next &Warning</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="autoDefault">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
@ -102,14 +108,17 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="findLE">
|
<widget class="QLineEdit" name="findLE">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Hit Enter to search, or click Go!</string>
|
<string>Hit Enter or click 'Find Next' to search</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="findPB">
|
<widget class="QPushButton" name="findPB">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Go!</string>
|
<string>Find &Next</string>
|
||||||
|
</property>
|
||||||
|
<property name="autoDefault">
|
||||||
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -120,6 +129,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Open Containing Directory</string>
|
<string>&Open Containing Directory</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="autoDefault">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="1">
|
<item row="4" column="1">
|
||||||
@ -146,8 +158,8 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Update</string>
|
<string>&Update</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="default">
|
<property name="autoDefault">
|
||||||
<bool>true</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user