selectedLV->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
#endif
+ selectedLV->setToolTip(qt_("Ordered list of all cited references.\n"
+ "You can reorder, add and remove references with the buttons on the left."));
setFocusProxy(filter_);
}
starredCB->setToolTip(qt_("Always list all authors (rather than using \"et al.\"), "
"if the current citation style supports this."));
}
+ if (availableLV->selectionModel()->selectedIndexes().isEmpty())
+ availableLV->setToolTip(qt_("All references available for citing."));
+ else
+ availableLV->setToolTip(qt_("All references available for citing.\n"
+ "To add the selected one, hit Add, press Enter or double-click.\n"
+ "Hit Ctrl-Enter to add and close the dialog."));
}
<item>
<widget class="QListView" name="availableLV">
<property name="toolTip">
- <string>All references available for citing.
-To select one, hit Add, press Enter or double-click.
-Hit Ctrl-Enter to select and close the dialog.</string>
+ <string/>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
<item>
<widget class="QTableView" name="selectedLV">
<property name="toolTip">
- <string>Ordered list of all cited references.
-You can reorder, add and remove references with the buttons on the left.</string>
+ <string/>
</property>
</widget>
</item>