From: Angus Leeming Date: Tue, 18 Jun 2002 12:39:13 +0000 (+0000) Subject: Jrgen's "Tooltips for the reference dialog" patch. I've tried to incorporate X-Git-Tag: 1.6.10~19071 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=355838e9f83d7c7b6ad7f022b94086f2f4dc7dde;p=features.git Jrgen's "Tooltips for the reference dialog" patch. I've tried to incorporate John and Allan's suggestions too. Feel free to improve... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4413 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 8989510e3a..1f2440ee1e 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,7 @@ +2002-06-13 Juergen Spitzmueller + + * FormRef.C: Add Tooltips + 2002-06-18 Angus Leeming * forms/.cvsignore: ignore any generated files/dirs. diff --git a/src/frontends/xforms/FormRef.C b/src/frontends/xforms/FormRef.C index f66890ae91..4b06416c28 100644 --- a/src/frontends/xforms/FormRef.C +++ b/src/frontends/xforms/FormRef.C @@ -17,6 +17,7 @@ #include "ControlRef.h" #include "FormRef.h" #include "forms/form_ref.h" +#include "Tooltips.h" #include "xforms_helpers.h" #include "insets/insetref.h" #include "helper_funcs.h" // getStringFromVector @@ -62,6 +63,25 @@ void FormRef::build() bc().addReadOnly(dialog_->button_update); bc().addReadOnly(dialog_->input_name); bc().addReadOnly(dialog_->input_ref); + + //set up the tooltip mechanism + string str = _("Show the labels of another opened document. Useful if you are working with multipart documents, where you might want to refer to another doc."); + tooltips().init(dialog_->choice_buffer, str); + + str = _("Choose a label to refer to."); + tooltips().init(dialog_->browser_refs, str); + + str = _("Type in a label name. We recommend that you use the browser instead."); + tooltips().init(dialog_->input_ref, str); + + str = _("Choose the reference style."); + tooltips().init(dialog_->choice_type, str); + + str = _("Sort labels in alphabetical order."); + tooltips().init(dialog_->check_sort, str); + + str = _("Refresh the list of labels."); + tooltips().init(dialog_->button_update, str); }