Assure long tooltip is correctly formatted.

Amendment to ffb195b5e9
This commit is contained in:
Juergen Spitzmueller 2017-01-13 09:07:44 +01:00
parent 8184156f8f
commit ca9c8dbde1
2 changed files with 5 additions and 1 deletions

View File

@ -107,6 +107,10 @@ GuiBibtex::GuiBibtex(GuiView & lv)
connect(add_->closePB, SIGNAL(clicked()), connect(add_->closePB, SIGNAL(clicked()),
add_, SLOT(reject())); add_, SLOT(reject()));
add_->bibLW->setToolTip(formatToolTip(qt_("This list consists of all databases that are indexed by LaTeX and thus are found without a file path. "
"This is usually everything in the bib/ subdirectory of LaTeX's texmf tree. "
"If you want to reuse your own database, this is the place you should store it.")));
bc().setPolicy(ButtonPolicy::NoRepeatedApplyReadOnlyPolicy); bc().setPolicy(ButtonPolicy::NoRepeatedApplyReadOnlyPolicy);
bc().setOK(okPB); bc().setOK(okPB);
bc().setCancel(closePB); bc().setCancel(closePB);

View File

@ -38,7 +38,7 @@
<item row="1" column="0" colspan="2"> <item row="1" column="0" colspan="2">
<widget class="QListWidget" name="bibLW"> <widget class="QListWidget" name="bibLW">
<property name="toolTip"> <property name="toolTip">
<string>This list consists of all databases that are indexed by LaTeX and thus are found without a file path. This is usually everything in the bib/ subdirectory of LaTeX's texmf tree. If you want to reuse your own database, this is the place you should store it.</string> <string/>
</property> </property>
<property name="selectionMode"> <property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum> <enum>QAbstractItemView::ExtendedSelection</enum>