Author: forenr
Date: Tue May 10 12:08:02 2011
New Revision: 38686
URL: http://www.lyx.org/trac/changeset/38686

Log:
Add tooltips

Modified:
   lyx-devel/trunk/src/LyXRC.cpp
   lyx-devel/trunk/src/frontends/qt4/ui/PrefPathsUi.ui

Modified: lyx-devel/trunk/src/LyXRC.cpp
==============================================================================
--- lyx-devel/trunk/src/LyXRC.cpp       Tue May 10 02:19:16 2011        (r38685)
+++ lyx-devel/trunk/src/LyXRC.cpp       Tue May 10 12:08:02 2011        (r38686)
@@ -3332,7 +3332,7 @@
 
        case RC_PATH_PREFIX:
                str = _("Specify those directories which should be "
-                        "prepended to the PATH environment variable. "
+                        "prepended to the PATH environment variable.\n"
                         "Use the OS native format.");
                break;
 
@@ -3491,7 +3491,7 @@
 
        case RC_TEXINPUTS_PREFIX:
                str = _("Specify those directories which should be "
-                        "prepended to the TEXINPUTS environment variable. "
+                        "prepended to the TEXINPUTS environment variable.\n"
                         "A '.' represents the current document directory. "
                         "Use the OS native format.");
                break;

Modified: lyx-devel/trunk/src/frontends/qt4/ui/PrefPathsUi.ui
==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/ui/PrefPathsUi.ui Tue May 10 02:19:16 
2011        (r38685)
+++ lyx-devel/trunk/src/frontends/qt4/ui/PrefPathsUi.ui Tue May 10 12:08:02 
2011        (r38686)
@@ -46,7 +46,11 @@
     </widget>
    </item>
    <item row="10" column="1" colspan="2" >
-    <widget class="QLineEdit" name="pathPrefixED"/>
+    <widget class="QLineEdit" name="pathPrefixED">
+     <property name="toolTip">
+      <string>Specify those directories which should be prepended to the PATH 
environment variable.&#x0a;Use the OS native format.</string>
+     </property>
+    </widget>
    </item>
    <item row="11" column="0">
     <widget class="QLabel" name="texinputsPrefixLA">
@@ -59,7 +63,11 @@
     </widget>
    </item>
    <item row="11" column="1" colspan="2">
-    <widget class="QLineEdit" name="texinputsPrefixED"/>
+    <widget class="QLineEdit" name="texinputsPrefixED">
+     <property name="toolTip">
+      <string>Specify those directories which should be prepended to the 
TEXINPUTS environment variable.&#x0a;A '.' represents the current document 
directory. Use the OS native format.</string>
+     </property>
+    </widget>
    </item>
    <item row="6" column="2" >
     <widget class="QPushButton" name="thesaurusDirPB" >

Reply via email to